Home
last modified time | relevance | path

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

/art/runtime/native/
Djava_lang_String.cc59 Handle<mirror::String> string_arg(hs.NewHandle(soa.Decode<mirror::String>(java_string_arg))); in String_concat() local
61 int32_t length_arg = string_arg->GetLength(); in String_concat()
64 mirror::String::AllocFromStrings(soa.Self(), string_this, string_arg); in String_concat()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc415 Handle<mirror::String> string_arg = in TEST_F() local
420 shadow_frame->SetVRegReference(1, string_arg.Get()); in TEST_F()
429 EXPECT_EQ(string_arg->GetLength(), string_result->GetLength()); in TEST_F()
431 if (string_arg->IsCompressed() && string_result->IsCompressed()) { in TEST_F()
432 EXPECT_EQ(memcmp(string_arg->GetValueCompressed(), string_result->GetValueCompressed(), in TEST_F()
433 string_arg->GetLength() * sizeof(uint8_t)), 0); in TEST_F()
434 } else if (!string_arg->IsCompressed() && !string_result->IsCompressed()) { in TEST_F()
435 EXPECT_EQ(memcmp(string_arg->GetValue(), string_result->GetValue(), in TEST_F()
436 string_arg->GetLength() * sizeof(uint16_t)), 0); in TEST_F()
439 for (int i = 0; i < string_arg->GetLength(); ++i) { in TEST_F()
[all …]
/art/test/004-JniTest/
Djni_test.cc627 jstring string_arg = env->NewStringUTF("helloworld"); in Java_Main_testNewStringObject() local
637 args4[0].l = string_arg; in Java_Main_testNewStringObject()