Home
last modified time | relevance | path

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

/art/tools/veridex/
Dresolver.cc122 VeridexResolver* VeridexResolver::GetResolverOf(const VeriClass& kls) const { in GetResolverOf()
123 auto resolver_it = dex_resolvers_.lower_bound(reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf()
129 reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf()
131 reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf()
135 VeriMethod VeridexResolver::LookupMethodIn(const VeriClass& kls, in LookupMethodIn() argument
138 if (kls.IsPrimitive()) { in LookupMethodIn()
142 if (kls.IsArray()) { in LookupMethodIn()
147 VeridexResolver* resolver = GetResolverOf(kls); in LookupMethodIn()
151 const uint8_t* class_data = other_dex_file.GetClassData(*kls.GetClassDef()); in LookupMethodIn()
167 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.cc168 const MockClass* kls = this; in SlowIsSubtypeOf() local
169 while (kls != nullptr) { in SlowIsSubtypeOf()
170 if (kls == target) { in SlowIsSubtypeOf()
173 kls = kls->GetSuperClass(); in SlowIsSubtypeOf()
204 std::ostream& operator<<(std::ostream& os, const MockClass& kls) { in operator <<() argument
205 SubtypeCheckBits iod = kls.subtype_check_info_and_status_.subtype_check_info_; in operator <<()
206 os << "MClass{D:" << kls.Depth() << ",W:" << kls.x_ in operator <<()
210 << ", mock_path: " << kls.path_to_root_ in operator <<()
318 MockClass* kls = new MockClass(parent, x, y); in CreateClassFor() local
319 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.cc211 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/
DMain.java362 private static native java.lang.reflect.Executable lookupClinit(Class kls); in lookupClinit() argument