Home
last modified time | relevance | path

Searched defs:klass (Results 1 – 25 of 58) sorted by relevance

123

/art/runtime/verifier/
Dreg_type.h276 RegType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in RegType()
318 ConflictType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in ConflictType()
348 UndefinedType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in UndefinedType()
383 IntegerType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in IntegerType()
402 BooleanType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in BooleanType()
422 ByteType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in ByteType()
441 ShortType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in ShortType()
460 CharType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in CharType()
479 FloatType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in FloatType()
507 LongLoType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in LongLoType()
[all …]
Dreg_type.cc67 PrimitiveType::PrimitiveType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in PrimitiveType()
74 Cat1Type::Cat1Type(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in Cat1Type()
79 Cat2Type::Cat2Type(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in Cat2Type()
145 DoubleHiType* DoubleHiType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
165 DoubleLoType* DoubleLoType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
185 LongLoType* LongLoType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
193 LongHiType* LongHiType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
225 FloatType* FloatType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
244 CharType* CharType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
264 ShortType* ShortType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
[all …]
Dreg_type_cache.cc146 mirror::Class* klass = NULL; in ResolveClass() local
171 mirror::Class* klass = ResolveClass(descriptor, loader); in From() local
213 RegType& RegTypeCache::FromClass(const char* descriptor, mirror::Class* klass, bool precise) { in FromClass()
285 mirror::Class* klass = NULL; in CreatePrimitiveTypeInstance() local
384 mirror::Class* klass = type.GetClass(); in Uninitialized() local
414 mirror::Class* klass = uninit_type.GetClass(); in FromUninitialized() local
492 mirror::Class* klass = type.GetClass(); in UninitializedThisArgument() local
568 mirror::Class* klass = array.GetClass()->GetComponentType(); in GetComponentType() local
Dmethod_verifier_test.cc35 mirror::Class* klass = class_linker_->FindSystemClass(Thread::Current(), descriptor.c_str()); in VerifyClass() local
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h43 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx); in CheckObjectAlloc() local
93 static inline mirror::Class* CheckClassInitializedForObjectAlloc(mirror::Class* klass, in CheckClassInitializedForObjectAlloc()
128 mirror::Class* klass = CheckObjectAlloc<kAccessCheck>(type_idx, method, self, &slow_path); in AllocObjectFromCode() local
142 static inline mirror::Object* AllocObjectFromCodeResolved(mirror::Class* klass, in AllocObjectFromCodeResolved()
164 static inline mirror::Object* AllocObjectFromCodeInitialized(mirror::Class* klass, in AllocObjectFromCodeInitialized()
185 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx); in CheckArrayAlloc() local
218 mirror::Class* klass = CheckArrayAlloc<kAccessCheck>(type_idx, method, component_count, in AllocArrayFromCode() local
234 static inline mirror::Array* AllocArrayFromCodeResolved(mirror::Class* klass, in AllocArrayFromCodeResolved()
397 mirror::Class* klass = (*this_object)->GetClass(); in FindMethodFromCode() local
434 mirror::Class* klass = (*this_object)->GetClass(); in FindMethodFromCode() local
[all …]
Dentrypoint_utils.cc46 mirror::Class* klass = referrer->GetDexCacheResolvedType<false>(type_idx); in CheckFilledNewArrayAlloc() local
84 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, referrer, component_count, self, in CheckAndAllocArrayFromCode() local
104 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, referrer, component_count, self, in CheckAndAllocArrayFromCodeInstrumented() local
/art/runtime/interpreter/
Dinterpreter.cc142 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
153 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
160 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
167 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
174 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
181 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
194 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
202 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
211 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
218 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
[all …]
/art/test/115-native-bridge/
Dnativebridge.cc51 jclass klass = env->FindClass("Main"); in trampoline_JNI_OnLoad() local
90 jclass klass) { in trampoline_Java_Main_testFindClassOnAttachedNativeThread()
99 jclass klass) { in trampoline_Java_Main_testFindFieldOnAttachedNativeThreadNative()
108 jclass klass) { in trampoline_Java_Main_testCallStaticVoidMethodOnSubClassNative()
116 static jobject trampoline_Java_Main_testGetMirandaMethodNative(JNIEnv* env, jclass klass) { in trampoline_Java_Main_testGetMirandaMethodNative()
124 static void trampoline_Java_Main_testZeroLengthByteBuffers(JNIEnv* env, jclass klass) { in trampoline_Java_Main_testZeroLengthByteBuffers()
132 static jbyte trampoline_Java_Main_byteMethod(JNIEnv* env, jclass klass, jbyte b1, jbyte b2, in trampoline_Java_Main_byteMethod()
142 static jshort trampoline_Java_Main_shortMethod(JNIEnv* env, jclass klass, jshort s1, jshort s2, in trampoline_Java_Main_shortMethod()
152 static jboolean trampoline_Java_Main_booleanMethod(JNIEnv* env, jclass klass, jboolean b1, in trampoline_Java_Main_booleanMethod()
163 static jchar trampoline_Java_Main_charMethod(JNIEnv* env, jclass klass, jchar c1, jchar c2, in trampoline_Java_Main_charMethod()
/art/test/004-UnsafeTest/
Dunsafe_test.cc29 mirror::Class* klass = soa.Decode<mirror::Class*>(classObj); in Java_Main_vmArrayBaseOffset() local
36 mirror::Class* klass = soa.Decode<mirror::Class*>(classObj); in Java_Main_vmArrayIndexScale() local
/art/runtime/entrypoints/quick/
Dquick_cast_entrypoints.cc23 extern "C" uint32_t artIsAssignableFromCode(mirror::Class* klass, mirror::Class* ref_class) in artIsAssignableFromCode()
/art/runtime/
Dclass_linker.cc576 mirror::Class* klass = GetClassRoot(class_root); in FinishInit() local
1858 mirror::Class* klass = classes->Get(i); in VisitClassesWithoutClassesLock() local
1963 mirror::Class* klass) { in EnsureResolved()
2044 mirror::Class* klass = LookupClass(descriptor, hash, nullptr); in FindClassInPathClassLoader() local
2099 mirror::Class* klass = DefineClass(self, descriptor, hash, class_loader, *dex_file, in FindClassInPathClassLoader() local
2129 mirror::Class* klass = LookupClass(descriptor, hash, class_loader.Get()); in FindClass() local
2179 mirror::Class* klass = FindClassInPathClassLoader(soa, self, descriptor, hash, class_loader); in FindClass() local
2223 auto klass = hs.NewHandle<mirror::Class>(nullptr); in DefineClass() local
2547 void ClassLinker::FixupStaticTrampolines(mirror::Class* klass) { in FixupStaticTrampolines()
2729 Handle<mirror::Class> klass, in LoadClass()
[all …]
Dclass_linker_test.cc175 void AssertField(mirror::Class* klass, mirror::ArtField* field) in AssertField()
186 void AssertClass(const std::string& descriptor, Handle<mirror::Class> klass) in AssertClass()
327 Handle<mirror::Class> klass( in AssertDexFileClass() local
388 mirror::Class* klass = in Check() local
992 mirror::Class* klass = class_linker_->FindClass(soa.Self(), "LStaticsFromCode;", class_loader); in TEST_F() local
1046 mirror::Class* klass = class_linker_->GetClassRoot(ClassLinker::ClassRoot(i)); in TEST_F() local
/art/runtime/gc/collector/
Dmark_sweep-inl.h38 mirror::Class* klass = obj->GetClass<kVerifyNone>(); in ScanObjectVisit() local
/art/runtime/mirror/
Dclass.cc448 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindDirectMethod() local
458 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindDirectMethod() local
468 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindDirectMethod() local
513 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindVirtualMethod() local
523 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindVirtualMethod() local
533 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindVirtualMethod() local
625 ArtField* Class::FindStaticField(Thread* self, Handle<Class> klass, const StringPiece& name, in FindStaticField()
651 ArtField* Class::FindStaticField(Thread* self, Handle<Class> klass, const DexCache* dex_cache, in FindStaticField()
675 ArtField* Class::FindField(Thread* self, Handle<Class> klass, const StringPiece& name, in FindField()
759 mirror::Class* Class::GetDirectInterface(Thread* self, Handle<mirror::Class> klass, uint32_t idx) { in GetDirectInterface()
Dobject-inl.h180 inline bool Object::VerifierInstanceOf(Class* klass) { in VerifierInstanceOf()
187 inline bool Object::InstanceOf(Class* klass) { in InstanceOf()
763 for (mirror::Class* klass = kIsStatic ? AsClass() : GetClass(); klass != nullptr; in VisitFieldsReferences() local
786 inline void Object::VisitInstanceFieldsReferences(mirror::Class* klass, const Visitor& visitor) { in VisitInstanceFieldsReferences()
792 inline void Object::VisitStaticFieldsReferences(mirror::Class* klass, const Visitor& visitor) { in VisitStaticFieldsReferences()
802 mirror::Class* klass = GetClass<kVerifyFlags>(); in VisitReferences() local
Dart_field.cc63 ArtField* ArtField::FindInstanceFieldWithOffset(mirror::Class* klass, uint32_t field_offset) { in FindInstanceFieldWithOffset()
Dclass-inl.h192 inline bool Class::Implements(Class* klass) { in Implements()
333 inline bool Class::IsSubClass(Class* klass) { in IsSubClass()
499 inline void Class::SetVerifyErrorClass(Class* klass) { in SetVerifyErrorClass()
610 inline void Class::VisitReferences(mirror::Class* klass, const Visitor& visitor) { in VisitReferences()
740 mirror::Class* klass = down_cast<mirror::Class*>(obj); in operator() local
/art/compiler/
Dcommon_compiler_test.cc272 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); in MakeExecutable() local
353 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); in CompileClass() local
377 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileDirectMethod() local
390 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileVirtualMethod() local
Dimage_writer.cc328 mirror::Class* klass = object->AsClass(); in AssignImageBinSlot() local
635 bool ImageWriter::IsImageClass(Class* klass) { in IsImageClass()
672 Class* klass = dex_cache->GetResolvedType(i); in PruneNonImageClasses() local
692 bool ImageWriter::NonImageClassesVisitor(Class* klass, void* arg) { in NonImageClassesVisitor()
712 Class* klass = obj->AsClass(); in CheckNonImageClassesRemovedCallback() local
810 void ImageWriter::WalkInstanceFields(mirror::Object* obj, mirror::Class* klass) { in WalkInstanceFields()
839 Handle<mirror::Class> klass(hs.NewHandle(obj->GetClass())); in WalkFieldsInOrder() local
/art/runtime/gc/
Dheap-inl.h39 inline mirror::Object* Heap::AllocObjectWithAllocator(Thread* self, mirror::Class* klass, in AllocObjectWithAllocator()
183 inline mirror::Object* Heap::AllocLargeObject(Thread* self, mirror::Class** klass, in AllocLargeObject()
/art/test/118-noimage-dex2oat/
Dnoimage-dex2oat.cc29 mirror::Class* klass = soa.Decode<mirror::Class*>(cls); in hasOat() local
/art/test/116-nodex2oat/
Dnodex2oat.cc29 mirror::Class* klass = soa.Decode<mirror::Class*>(cls); in hasOat() local
/art/test/117-nopatchoat/
Dnopatchoat.cc29 mirror::Class* klass = soa.Decode<mirror::Class*>(cls); in getOatDexFile() local
/art/test/004-JniTest/
Djni_test.cc175 extern "C" jbyte JNICALL Java_Main_byteMethod(JNIEnv* env, jclass klass, jbyte b1, jbyte b2, in Java_Main_byteMethod()
200 extern "C" jshort JNICALL Java_Main_shortMethod(JNIEnv* env, jclass klass, jshort s1, jshort s2, in Java_Main_shortMethod()
220 extern "C" jboolean JNICALL Java_Main_booleanMethod(JNIEnv* env, jclass klass, jboolean b1, in Java_Main_booleanMethod()
/art/dalvikvm/
Ddalvikvm.cc74 ScopedLocalRef<jclass> klass(env, env->FindClass(class_name.c_str())); in InvokeMain() local

123