Searched refs:string_arg (Results 1 – 3 of 3) sorted by relevance
/art/runtime/native/ |
D | java_lang_String.cc | 59 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/ |
D | unstarted_runtime_test.cc | 401 mirror::String* string_arg = mirror::String::AllocFromModifiedUtf8(self, base_string); in TEST_F() local 404 shadow_frame->SetVRegReference(1, string_arg); in TEST_F() 413 EXPECT_EQ(string_arg->GetLength(), string_result->GetLength()); in TEST_F() 415 if (string_arg->IsCompressed() && string_result->IsCompressed()) { in TEST_F() 416 EXPECT_EQ(memcmp(string_arg->GetValueCompressed(), string_result->GetValueCompressed(), in TEST_F() 417 string_arg->GetLength() * sizeof(uint8_t)), 0); in TEST_F() 418 } else if (!string_arg->IsCompressed() && !string_result->IsCompressed()) { in TEST_F() 419 EXPECT_EQ(memcmp(string_arg->GetValue(), string_result->GetValue(), in TEST_F() 420 string_arg->GetLength() * sizeof(uint16_t)), 0); in TEST_F() 423 for (int i = 0; i < string_arg->GetLength(); ++i) { in TEST_F() [all …]
|
/art/test/004-JniTest/ |
D | jni_test.cc | 627 jstring string_arg = env->NewStringUTF("helloworld"); in Java_Main_testNewStringObject() local 637 args4[0].l = string_arg; in Java_Main_testNewStringObject()
|