152 static char* as_utf8_string(oop java_string); |
152 static char* as_utf8_string(oop java_string); |
153 static char* as_utf8_string(oop java_string, char* buf, int buflen); |
153 static char* as_utf8_string(oop java_string, char* buf, int buflen); |
154 static char* as_utf8_string(oop java_string, int start, int len); |
154 static char* as_utf8_string(oop java_string, int start, int len); |
155 static char* as_platform_dependent_str(Handle java_string, TRAPS); |
155 static char* as_platform_dependent_str(Handle java_string, TRAPS); |
156 static jchar* as_unicode_string(oop java_string, int& length); |
156 static jchar* as_unicode_string(oop java_string, int& length); |
|
157 // produce an ascii string with all other values quoted using \u#### |
|
158 static char* as_quoted_ascii(oop java_string); |
157 |
159 |
158 // Compute the hash value for a java.lang.String object which would |
160 // Compute the hash value for a java.lang.String object which would |
159 // contain the characters passed in. |
161 // contain the characters passed in. |
160 // |
162 // |
161 // As the hash value used by the String object itself, in |
163 // As the hash value used by the String object itself, in |