Home
last modified time | relevance | path

Searched refs:kls (Results 1 – 10 of 10) sorted by relevance

/art/tools/veridex/
Dresolver.cc112 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 …]
Dresolver.h60 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/
Dsubtype_check_test.cc170 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/
Dheap-visit-objects-inl.h115 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/
Doat_writer_layout.cc50 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/
Dgen_srcs.py169 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/
DMain.java76 private static native boolean hasOatCompiledCode(Class kls); in hasOatCompiledCode() argument
/art/test/004-JniTest/
Djni_test.cc765 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/
Djni_compiler_test.cc216 jclass kls = kCriticalFakeJniClass; in apply() local
217 return fn(env, kls, args...); in apply()
497 static void expectValidJniEnvAndClass(JNIEnv* env, jclass kls) { in expectValidJniEnvAndClass() argument
500 ASSERT_TRUE(kls != nullptr); in expectValidJniEnvAndClass()
502 static_cast<jobject>(kls))); in expectValidJniEnvAndClass()
506 EXPECT_EQ(kls, kCriticalFakeJniClass); in expectValidJniEnvAndClass()
515 #define EXPECT_JNI_ENV_AND_CLASS_FOR_CURRENT_JNI(env, kls) expectValidJniEnvAndClass(env, kls) argument
590 struct make_jni_test_decorator<R(JNIEnv*, jclass kls, Args...), fn> {
591 static R apply(JNIEnv* env, jclass kls, Args ... args) { in apply()
594 EXPECT_JNI_ENV_AND_CLASS_FOR_CURRENT_JNI(env, kls); in apply()
[all …]
/art/test/004-JniTest/src/
DMain.java362 private static native java.lang.reflect.Executable lookupClinit(Class kls); in lookupClinit() argument