Home
last modified time | relevance | path

Searched refs:string_arg (Results 1 – 3 of 3) sorted by relevance

/art/runtime/native/
Djava_lang_String.cc56 Handle<mirror::String> string_arg(hs.NewHandle(soa.Decode<mirror::String>(java_string_arg))); in String_concat() local
58 int32_t length_arg = string_arg->GetLength(); in String_concat()
61 mirror::String::AllocFromStrings(soa.Self(), string_this, string_arg); in String_concat()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc399 mirror::String* string_arg = mirror::String::AllocFromModifiedUtf8(self, base_string); in TEST_F() local
402 shadow_frame->SetVRegReference(1, string_arg); in TEST_F()
406 EXPECT_EQ(string_arg->GetLength(), string_result->GetLength()); in TEST_F()
408 if (string_arg->IsCompressed() && string_result->IsCompressed()) { in TEST_F()
409 EXPECT_EQ(memcmp(string_arg->GetValueCompressed(), string_result->GetValueCompressed(), in TEST_F()
410 string_arg->GetLength() * sizeof(uint8_t)), 0); in TEST_F()
411 } else if (!string_arg->IsCompressed() && !string_result->IsCompressed()) { in TEST_F()
412 EXPECT_EQ(memcmp(string_arg->GetValue(), string_result->GetValue(), in TEST_F()
413 string_arg->GetLength() * sizeof(uint16_t)), 0); in TEST_F()
416 for (int i = 0; i < string_arg->GetLength(); ++i) { in TEST_F()
[all …]
/art/test/004-JniTest/
Djni_test.cc616 jstring string_arg = env->NewStringUTF("helloworld"); in Java_Main_testNewStringObject() local
626 args4[0].l = string_arg; in Java_Main_testNewStringObject()