Lines Matching refs:java_string
93 static Handle char_converter(Handle java_string, jchar from_char, jchar to_char, TRAPS);
128 static typeArrayOop value(oop java_string) {
130 assert(is_instance(java_string), "must be java_string");
131 return (typeArrayOop) java_string->obj_field(value_offset);
133 static int offset(oop java_string) {
135 assert(is_instance(java_string), "must be java_string");
137 return java_string->int_field(offset_offset);
142 static int length(oop java_string) {
144 assert(is_instance(java_string), "must be java_string");
146 return java_string->int_field(count_offset);
148 return ((typeArrayOop)java_string->obj_field(value_offset))->length();
151 static int utf8_length(oop java_string);
154 static char* as_utf8_string(oop java_string);
155 static char* as_utf8_string(oop java_string, char* buf, int buflen);
156 static char* as_utf8_string(oop java_string, int start, int len);
157 static char* as_platform_dependent_str(Handle java_string, TRAPS);
158 static jchar* as_unicode_string(oop java_string, int& length);
178 static unsigned int to_hash(oop java_string);
182 static unsigned int hash_string(oop java_string);
184 static bool equals(oop java_string, jchar* chars, int len);
187 static Handle externalize_classname(Handle java_string, TRAPS) { return char_converter(java_string, '/', '.', THREAD); }
188 static Handle internalize_classname(Handle java_string, TRAPS) { return char_converter(java_string, '.', '/', THREAD); }
191 static Symbol* as_symbol(Handle java_string, TRAPS);
192 static Symbol* as_symbol_or_null(oop java_string);
200 static void print(Handle java_string, outputStream* st);