/art/tools/veridex/ |
D | resolver.cc | 112 VeridexResolver* VeridexResolver::GetResolverOf(const VeriClass& kls) const { in GetResolverOf() 113 auto resolver_it = dex_resolvers_.lower_bound(reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf() 119 reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf() 121 reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf() 125 VeriMethod VeridexResolver::LookupMethodIn(const VeriClass& kls, in LookupMethodIn() argument 128 if (kls.IsPrimitive()) { in LookupMethodIn() 132 if (kls.IsArray()) { in LookupMethodIn() 137 VeridexResolver* resolver = GetResolverOf(kls); in LookupMethodIn() 141 ClassAccessor other_dex_accessor(other_dex_file, *kls.GetClassDef()); in LookupMethodIn() 153 if (kls.GetClassDef()->superclass_idx_.IsValid()) { in LookupMethodIn() [all …]
|
D | resolver.h | 60 VeriMethod LookupMethodIn(const VeriClass& kls, 65 VeriField LookupFieldIn(const VeriClass& kls, 70 VeriMethod LookupDeclaredMethodIn(const VeriClass& kls, 82 const DexFile& GetDexFileOf(const VeriClass& kls) { in GetDexFileOf() argument 83 return GetResolverOf(kls)->dex_file_; in GetDexFileOf() 88 VeridexResolver* GetResolverOf(const VeriClass& kls) const;
|
/art/runtime/ |
D | subtype_check_test.cc | 170 const MockClass* kls = this; in SlowIsSubtypeOf() local 171 while (kls != nullptr) { in SlowIsSubtypeOf() 172 if (kls == target) { in SlowIsSubtypeOf() 175 kls = kls->GetSuperClass(); in SlowIsSubtypeOf() 206 std::ostream& operator<<(std::ostream& os, const MockClass& kls) { in operator <<() argument 207 SubtypeCheckBits iod = kls.subtype_check_info_and_status_.subtype_check_info_; in operator <<() 208 os << "MClass{D:" << kls.Depth() << ",W:" << kls.x_ in operator <<() 212 << ", mock_path: " << kls.path_to_root_ in operator <<() 320 MockClass* kls = new MockClass(parent, x, y); in CreateClassFor() local 321 all_classes_.push_back(std::unique_ptr<MockClass>(kls)); in CreateClassFor() [all …]
|
/art/runtime/gc/ |
D | heap-visit-objects-inl.h | 115 mirror::Class* kls = nullptr; in VisitObjectsInternal() local 116 if (obj != nullptr && (kls = obj->GetClass()) != nullptr) { in VisitObjectsInternal() 137 mirror::Class* klsClass = kls->GetClass(); in VisitObjectsInternal() 148 DCHECK(kls->GetClass() != nullptr) in VisitObjectsInternal() 150 DCHECK_EQ(kls->GetClass()->GetClass(), kls->GetClass()) in VisitObjectsInternal()
|
/art/test/661-oat-writer-layout/ |
D | oat_writer_layout.cc | 50 jclass kls) { in Java_Main_hasOatCompiledCode() argument 51 CHECK(kls != nullptr); in Java_Main_hasOatCompiledCode() 55 ObjPtr<mirror::Class> klass_ptr = self->DecodeJObject(kls)->AsClass(); in Java_Main_hasOatCompiledCode()
|
/art/test/988-method-trace/ |
D | gen_srcs.py | 169 def __init__(self, staticness, pretty_params, method, kls): argument 177 self.klass = kls 219 kls = get_item(IDX_CLASS_NAME) 221 debug_print ((sig, method, kls)) 224 kls = javafy_name(kls) 229 return MethodInfo(staticness, pretty_params, method, kls)
|
/art/test/661-oat-writer-layout/src/ |
D | Main.java | 76 private static native boolean hasOatCompiledCode(Class kls); in hasOatCompiledCode() argument
|
/art/test/004-JniTest/ |
D | jni_test.cc | 765 extern "C" JNIEXPORT jboolean JNICALL Java_Main_registerNativesJniTest(JNIEnv* e, jclass kls) { in Java_Main_registerNativesJniTest() argument 768 if (e->RegisterNatives(kls, sMainMethods, numMethods) < 0) { in Java_Main_registerNativesJniTest() 789 extern "C" JNIEXPORT jobject JNICALL Java_Main_lookupClinit(JNIEnv* env, jclass, jclass kls) { in Java_Main_lookupClinit() argument 790 jmethodID clinit_id = env->GetStaticMethodID(kls, "<clinit>", "()V"); in Java_Main_lookupClinit() 793 jobject obj = env->ToReflectedMethod(kls, clinit_id, /*isStatic*/ true); in Java_Main_lookupClinit()
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 211 jclass kls = kCriticalDummyJniClass; in apply() local 212 return fn(env, kls, args...); in apply() 490 static void expectValidJniEnvAndClass(JNIEnv* env, jclass kls) { in expectValidJniEnvAndClass() argument 493 ASSERT_TRUE(kls != nullptr); in expectValidJniEnvAndClass() 495 static_cast<jobject>(kls))); in expectValidJniEnvAndClass() 499 EXPECT_EQ(kls, kCriticalDummyJniClass); in expectValidJniEnvAndClass() 508 #define EXPECT_JNI_ENV_AND_CLASS_FOR_CURRENT_JNI(env, kls) expectValidJniEnvAndClass(env, kls) argument 583 struct make_jni_test_decorator<R(JNIEnv*, jclass kls, Args...), fn> { 584 static R apply(JNIEnv* env, jclass kls, Args ... args) { in apply() 587 EXPECT_JNI_ENV_AND_CLASS_FOR_CURRENT_JNI(env, kls); in apply() [all …]
|
/art/test/004-JniTest/src/ |
D | Main.java | 362 private static native java.lang.reflect.Executable lookupClinit(Class kls); in lookupClinit() argument
|