Home
last modified time | relevance | path

Searched refs:AllocFromModifiedUtf8 (Results 1 – 20 of 20) sorted by relevance

/art/runtime/
Dintern_table_test.cc39 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F()
61 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F()
78 GcRoot<mirror::String> str(mirror::String::AllocFromModifiedUtf8(soa.Self(), "00000000")); in TEST_F()
121 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello"))); in TEST_F()
123 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "world"))); in TEST_F()
142 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "still here"))); in TEST_F()
165 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F()
167 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F()
180 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F()
195 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F()
Dreference_table_test.cc78 mirror::Object* o1 = mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello"); in TEST_F()
166 mirror::Object* string_referent = mirror::String::AllocFromModifiedUtf8(Thread::Current(), "A"); in TEST_F()
182 mirror::String::AllocFromModifiedUtf8(soa.Self(), "Without"))); in TEST_F()
279 mirror::Object* s1 = mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello"); in TEST_F()
280 mirror::Object* s2 = mirror::String::AllocFromModifiedUtf8(soa.Self(), "world"); in TEST_F()
Dmonitor_test.cc249 test->object_ = hs.NewHandle(mirror::String::AllocFromModifiedUtf8(self, "hello, world!")); in CommonWaitSetup()
250 test->watchdog_object_ = hs.NewHandle(mirror::String::AllocFromModifiedUtf8(self, in CommonWaitSetup()
353 hs.NewHandle<mirror::Object>(mirror::String::AllocFromModifiedUtf8(self, "hello, world!"))); in TEST_F()
Dintern_table.cc275 return InternStrong(mirror::String::AllocFromModifiedUtf8( in InternStrong()
281 return InternStrong(mirror::String::AllocFromModifiedUtf8(Thread::Current(), utf8_data)); in InternStrong()
Dthread.cc2671 mirror::String::AllocFromModifiedUtf8(soa.Self(), class_name.c_str())); in CreateStackTraceElement()
2684 source_name_object.Assign(mirror::String::AllocFromModifiedUtf8(soa.Self(), source_file)); in CreateStackTraceElement()
2695 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), method_name))); in CreateStackTraceElement()
3034 soa.AddLocalReference<jstring>(mirror::String::AllocFromModifiedUtf8(this, msg))); in ThrowNewWrappedException()
Dclass_linker_test.cc1203 mirror::String* str_value = mirror::String::AllocFromModifiedUtf8(soa.Self(), "robot"); in TEST_F()
Djni_internal.cc1782 mirror::String* result = mirror::String::AllocFromModifiedUtf8(soa.Self(), utf); in NewStringUTF()
Ddebugger.cc1356 mirror::String* new_string = mirror::String::AllocFromModifiedUtf8(self, str.c_str()); in CreateString()
Dclass_linker.cc8769 mirror::String::AllocFromModifiedUtf8(self, dex_file->GetLocation().c_str())); in CreateWellKnownClassLoader()
/art/runtime/gc/
Dheap_verification_test.cc55 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "test"))); in TEST_F()
76 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "test"))); in TEST_F()
90 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "test"))); in TEST_F()
115 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "obj"))); in TEST_F()
135 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "obj"))); in TEST_F()
157 ObjPtr<mirror::String> str = mirror::String::AllocFromModifiedUtf8(soa.Self(), "obj"); in TEST_F()
Dsystem_weak_test.cc141 Handle<mirror::String> s(hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F()
163 cswh.Set(GcRoot<mirror::Object>(mirror::String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F()
186 Handle<mirror::String> s(hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "ABC"))); in TEST_F()
Dheap_test.cc75 mirror::String* string = mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello, world!"); in TEST_F()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc310 mirror::String::AllocFromModifiedUtf8(self, base_string))); in TEST_F()
369 mirror::String* test_string = mirror::String::AllocFromModifiedUtf8(self, base_string); in TEST_F()
401 mirror::String* string_arg = mirror::String::AllocFromModifiedUtf8(self, base_string); in TEST_F()
402 mirror::String* reference_empty_string = mirror::String::AllocFromModifiedUtf8(self, ""); in TEST_F()
450 hs_data.NewHandle(mirror::String::AllocFromModifiedUtf8(self, "1")); in TEST_F()
451 hs_data.NewHandle(mirror::String::AllocFromModifiedUtf8(self, "2")); in TEST_F()
452 hs_data.NewHandle(mirror::String::AllocFromModifiedUtf8(self, "3")); in TEST_F()
486 hs_src.NewHandle(mirror::String::AllocFromModifiedUtf8(self, "1")); in TEST_F()
487 hs_src.NewHandle(mirror::String::AllocFromModifiedUtf8(self, "2")); in TEST_F()
488 hs_src.NewHandle(mirror::String::AllocFromModifiedUtf8(self, "3")); in TEST_F()
[all …]
/art/runtime/mirror/
Dobject_test.cc64 hs.NewHandle(String::AllocFromModifiedUtf8(self, expected_utf16_length, utf8_in))); in AssertString()
423 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
431 Handle<String> empty(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
439 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
440 Handle<String> string_2(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
448 Handle<String> empty(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), ""))); in TEST_F()
456 Handle<String> string(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
457 Handle<String> string_2(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "android"))); in TEST_F()
458 Handle<String> string_3(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "Android"))); in TEST_F()
459 Handle<String> string_4(hs.NewHandle(String::AllocFromModifiedUtf8(soa.Self(), "and"))); in TEST_F()
[all …]
Dstring.cc197 String* String::AllocFromModifiedUtf8(Thread* self, const char* utf) { in AllocFromModifiedUtf8() function in art::mirror::String
201 return AllocFromModifiedUtf8(self, char_count, utf, byte_count); in AllocFromModifiedUtf8()
204 String* String::AllocFromModifiedUtf8(Thread* self, in AllocFromModifiedUtf8() function in art::mirror::String
207 return AllocFromModifiedUtf8(self, utf16_length, utf8_data_in, strlen(utf8_data_in)); in AllocFromModifiedUtf8()
210 String* String::AllocFromModifiedUtf8(Thread* self, in AllocFromModifiedUtf8() function in art::mirror::String
Dstring.h133 static String* AllocFromModifiedUtf8(Thread* self, const char* utf)
136 static String* AllocFromModifiedUtf8(Thread* self, int32_t utf16_length,
140 static String* AllocFromModifiedUtf8(Thread* self, int32_t utf16_length, const char* utf8_data_in)
Dclass.cc287 name = String::AllocFromModifiedUtf8(self, c_name); in ComputeName()
291 name = String::AllocFromModifiedUtf8(self, DescriptorToDot(descriptor).c_str()); in ComputeName()
/art/openjdkjvmti/
Dti_search.cc130 art::mirror::String::AllocFromModifiedUtf8(self, "java.class.path"); in Update()
166 art::mirror::String::AllocFromModifiedUtf8(self, str_value.c_str()); in Update()
/art/runtime/arch/
Dstub_test.cc597 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello, world!"))); in TEST_F()
622 mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello, world!"))); in TEST_F()
671 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello, world!"))); in TestUnlockObject()
714 objects[i] = hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "")); in TestUnlockObject()
838 mirror::String::AllocFromModifiedUtf8(soa.Self(), "ABCD"))); in TEST_F()
1121 s[i] = hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), c[i])); in TEST_F()
1542 mirror::String* str = mirror::String::AllocFromModifiedUtf8(self, "Test"); in GetSetObjStatic()
1589 mirror::String* str = mirror::String::AllocFromModifiedUtf8(self, "Test"); in GetSetObjInstance()
1987 s[i] = hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), c_str[i])); in TEST_F()
2095 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello, world!"))); in TEST_F()
/art/runtime/dex/
Ddex_file_annotations.cc706 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(self, name))); in CreateAnnotationMember()