Home
last modified time | relevance | path

Searched refs:mid2 (Results 1 – 4 of 4) sorted by relevance

/art/libdexfile/dex/
Dmethod_reference.h54 const dex::MethodId& mid2 = mr2.GetMethodId(); in SlowCompare() local
56 mr2.dex_file->StringByTypeIdx(mid2.class_idx_)); in SlowCompare()
61 int name_diff = strcmp(mr1.dex_file->GetMethodName(mid1), mr2.dex_file->GetMethodName(mid2)); in SlowCompare()
67 const dex::ProtoId& prid2 = mr2.dex_file->GetProtoId(mid2.proto_idx_); in SlowCompare()
/art/runtime/
Dart_method.cc195 const dex::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature() local
196 return mid.name_idx_ == mid2.name_idx_ && mid.proto_idx_ == mid2.proto_idx_; in HasSameNameAndSignature()
199 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature() local
200 if (!DexFile::StringEquals(dex_file, mid.name_idx_, dex_file2, mid2.name_idx_)) { in HasSameNameAndSignature()
203 return dex_file->GetMethodSignature(mid) == dex_file2->GetMethodSignature(mid2); in HasSameNameAndSignature()
/art/test/004-JniTest/
Djni_test.cc592 jmethodID mid2 = env->GetMethodID(c, "<init>", "([B)V"); in Java_Main_testNewStringObject() local
593 CHECK(mid2 != nullptr); in Java_Main_testNewStringObject()
608 jstring s = reinterpret_cast<jstring>(env->NewObject(c, mid2, byte_array)); in Java_Main_testNewStringObject()
631 env->CallNonvirtualVoidMethod(s2, c, mid2, byte_array); in Java_Main_testNewStringObject()
650 env->CallNonvirtualVoidMethod(s6, c, mid2, byte_array); in Java_Main_testNewStringObject()
/art/runtime/jni/
Djni_internal_test.cc1001 jmethodID mid2 = env_->FromReflectedMethod(method); in TEST_F() local
1002 ASSERT_NE(mid2, nullptr); in TEST_F()
1006 env_->CallVoidMethod(s, mid2); in TEST_F()
1017 mid2 = env_->FromReflectedMethod(method); in TEST_F()
1018 ASSERT_NE(mid2, nullptr); in TEST_F()
1022 ASSERT_EQ(4, env_->CallIntMethod(s, mid2)); in TEST_F()