Home
last modified time | relevance | path

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

123

/art/runtime/mirror/
Dmethod.cc32 void Method::SetClass(Class* klass) { in SetClass()
43 void Method::SetArrayClass(Class* klass) { in SetArrayClass()
68 void Constructor::SetClass(Class* klass) { in SetClass()
79 void Constructor::SetArrayClass(Class* klass) { in SetArrayClass()
Dfield.cc30 void Field::SetClass(Class* klass) { in SetClass()
41 void Field::SetArrayClass(Class* klass) { in SetArrayClass()
Dclass.cc440 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindDirectMethod() local
451 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindDirectMethod() local
462 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindDirectMethod() local
509 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindVirtualMethod() local
520 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindVirtualMethod() local
531 for (Class* klass = this; klass != nullptr; klass = klass->GetSuperClass()) { in FindVirtualMethod() local
622 ArtField* Class::FindStaticField(Thread* self, Handle<Class> klass, const StringPiece& name, in FindStaticField()
648 ArtField* Class::FindStaticField(Thread* self, Handle<Class> klass, const DexCache* dex_cache, in FindStaticField()
672 ArtField* Class::FindField(Thread* self, Handle<Class> klass, const StringPiece& name, in FindField()
751 mirror::Class* Class::GetDirectInterface(Thread* self, Handle<mirror::Class> klass, in GetDirectInterface()
[all …]
Dobject-inl.h211 inline bool Object::VerifierInstanceOf(Class* klass) { in VerifierInstanceOf()
218 inline bool Object::InstanceOf(Class* klass) { in InstanceOf()
959 for (mirror::Class* klass = kIsStatic ? AsClass() : GetClass(); klass != nullptr; in VisitFieldsReferences() local
985 inline void Object::VisitInstanceFieldsReferences(mirror::Class* klass, const Visitor& visitor) { in VisitInstanceFieldsReferences()
991 inline void Object::VisitStaticFieldsReferences(mirror::Class* klass, const Visitor& visitor) { in VisitStaticFieldsReferences()
1000 mirror::Class* klass = GetClass<kVerifyFlags>(); in VisitReferences() local
/art/runtime/interpreter/
Dinterpreter.cc39 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
50 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
57 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
64 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
71 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
78 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
92 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
100 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
111 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
118 ScopedLocalRef<jclass> klass(soa.Env(), in InterpreterJni() local
[all …]
/art/runtime/verifier/
Dreg_type.cc49 PrimitiveType::PrimitiveType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in PrimitiveType()
56 Cat1Type::Cat1Type(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in Cat1Type()
61 Cat2Type::Cat2Type(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in Cat2Type()
127 const DoubleHiType* DoubleHiType::CreateInstance(mirror::Class* klass, in CreateInstance()
142 const DoubleLoType* DoubleLoType::CreateInstance(mirror::Class* klass, in CreateInstance()
157 const LongLoType* LongLoType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
164 const LongHiType* LongHiType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
185 const FloatType* FloatType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
199 const CharType* CharType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
213 const ShortType* ShortType::CreateInstance(mirror::Class* klass, const std::string& descriptor, in CreateInstance()
[all …]
Dreg_type.h278 RegType(mirror::Class* klass, const std::string& descriptor, in RegType()
322 ConflictType(mirror::Class* klass, const std::string& descriptor, in ConflictType()
351 UndefinedType(mirror::Class* klass, const std::string& descriptor, in UndefinedType()
384 IntegerType(mirror::Class* klass, const std::string& descriptor, in IntegerType()
402 BooleanType(mirror::Class* klass, const std::string& descriptor, in BooleanType()
421 ByteType(mirror::Class* klass, const std::string& descriptor, in ByteType()
439 ShortType(mirror::Class* klass, const std::string& descriptor, in ShortType()
457 CharType(mirror::Class* klass, const std::string& descriptor, in CharType()
475 FloatType(mirror::Class* klass, const std::string& descriptor, in FloatType()
500 LongLoType(mirror::Class* klass, const std::string& descriptor, in LongLoType()
[all …]
Dreg_type_cache.cc147 mirror::Class* klass = nullptr; in ResolveClass() local
173 mirror::Class* klass = ResolveClass(descriptor, loader); in From() local
215 const RegType& RegTypeCache::FromClass(const char* descriptor, mirror::Class* klass, bool precise) { in FromClass()
287 mirror::Class* klass = nullptr; in CreatePrimitiveTypeInstance() local
413 mirror::Class* klass = type.GetClass(); in Uninitialized() local
443 mirror::Class* klass = uninit_type.GetClass(); in FromUninitialized() local
484 mirror::Class* klass = type.GetClass(); in UninitializedThisArgument() local
560 mirror::Class* klass = array.GetClass()->GetComponentType(); in GetComponentType() local
Dmethod_verifier_test.cc36 mirror::Class* klass = class_linker_->FindSystemClass(self, descriptor.c_str()); in VerifyClass() local
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h65 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx); in CheckObjectAlloc() local
113 inline mirror::Class* CheckClassInitializedForObjectAlloc(mirror::Class* klass, in CheckClassInitializedForObjectAlloc()
148 mirror::Class* klass = CheckObjectAlloc<kAccessCheck>(type_idx, method, self, &slow_path); in AllocObjectFromCode() local
162 inline mirror::Object* AllocObjectFromCodeResolved(mirror::Class* klass, in AllocObjectFromCodeResolved()
183 inline mirror::Object* AllocObjectFromCodeInitialized(mirror::Class* klass, in AllocObjectFromCodeInitialized()
203 mirror::Class* klass = method->GetDexCacheResolvedType<false>(type_idx); in CheckArrayAlloc() local
236 mirror::Class* klass = CheckArrayAlloc<kAccessCheck>(type_idx, component_count, method, in AllocArrayFromCode() local
253 inline mirror::Array* AllocArrayFromCodeResolved(mirror::Class* klass, in AllocArrayFromCodeResolved()
411 mirror::Class* klass = (*this_object)->GetClass(); in FindMethodFromCode() local
449 mirror::Class* klass = (*this_object)->GetClass(); in FindMethodFromCode() local
[all …]
Dentrypoint_utils.cc46 mirror::Class* klass = referrer->GetDexCacheResolvedType<false>(type_idx); in CheckFilledNewArrayAlloc() local
82 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, component_count, referrer, self, in CheckAndAllocArrayFromCode() local
103 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, component_count, referrer, self, in CheckAndAllocArrayFromCodeInstrumented() local
/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/test/115-native-bridge/
Dnativebridge.cc54 jclass klass = env->FindClass("Main"); in trampoline_JNI_OnLoad() local
93 jclass klass) { in trampoline_Java_Main_testFindClassOnAttachedNativeThread()
102 jclass klass) { in trampoline_Java_Main_testFindFieldOnAttachedNativeThreadNative()
111 jclass klass) { in trampoline_Java_Main_testCallStaticVoidMethodOnSubClassNative()
119 static jobject trampoline_Java_Main_testGetMirandaMethodNative(JNIEnv* env, jclass klass) { in trampoline_Java_Main_testGetMirandaMethodNative()
127 static void trampoline_Java_Main_testNewStringObject(JNIEnv* env, jclass klass) { in trampoline_Java_Main_testNewStringObject()
135 static void trampoline_Java_Main_testZeroLengthByteBuffers(JNIEnv* env, jclass klass) { in trampoline_Java_Main_testZeroLengthByteBuffers()
143 static jbyte trampoline_Java_Main_byteMethod(JNIEnv* env, jclass klass, jbyte b1, jbyte b2, in trampoline_Java_Main_byteMethod()
153 static jshort trampoline_Java_Main_shortMethod(JNIEnv* env, jclass klass, jshort s1, jshort s2, in trampoline_Java_Main_shortMethod()
163 static jboolean trampoline_Java_Main_booleanMethod(JNIEnv* env, jclass klass, jboolean b1, in trampoline_Java_Main_booleanMethod()
[all …]
/art/runtime/
Dclass_linker.cc158 static void VlogClassInitializationFailure(Handle<mirror::Class> klass) in VlogClassInitializationFailure()
167 static void WrapExceptionInInitializer(Handle<mirror::Class> klass) in WrapExceptionInInitializer()
654 mirror::Class* klass = GetClassRoot(class_root); in FinishInit() local
1059 auto klass = obj->AsClass(); in SanityCheckObjectsCallback() local
1240 bool ClassLinker::ClassInClassTable(mirror::Class* klass) { in ClassInClassTable()
1430 mirror::Class* klass = classes->Get(i); in VisitClassesWithoutClassesLock() local
1531 mirror::Class* klass) { in EnsureResolved()
1617 mirror::Class* klass = LookupClass(self, descriptor, hash, nullptr); in FindClassInPathClassLoader() local
1697 mirror::Class* klass = DefineClass(self, descriptor, hash, class_loader, in FindClassInPathClassLoader() local
1731 mirror::Class* klass = LookupClass(self, descriptor, hash, class_loader.Get()); in FindClass() local
[all …]
Dart_field.cc50 ArtField* ArtField::FindInstanceFieldWithOffset(mirror::Class* klass, uint32_t field_offset) { in FindInstanceFieldWithOffset()
63 ArtField* ArtField::FindStaticFieldWithOffset(mirror::Class* klass, uint32_t field_offset) { in FindStaticFieldWithOffset()
/art/runtime/entrypoints/quick/
Dquick_cast_entrypoints.cc23 extern "C" uint32_t artIsAssignableFromCode(mirror::Class* klass, mirror::Class* ref_class) in artIsAssignableFromCode()
/art/runtime/gc/collector/
Dmark_sweep-inl.h37 mirror::Class* klass = obj->GetClass<kVerifyNone>(); in ScanObjectVisit() local
/art/compiler/
Dcommon_compiler_test.cc136 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); in MakeExecutable() local
230 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); in CompileClass() local
255 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileDirectMethod() local
269 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); in CompileVirtualMethod() local
Dimage_writer.cc77 Class* klass = obj->GetClass(); in CheckNoDexObjectsCallback() local
346 auto* klass = method->GetDeclaringClass(); in AddMethodPointerArray() local
406 mirror::Class* klass = object->AsClass(); in AssignImageBinSlot() local
449 mirror::Class* klass = object->GetClass<kVerifyNone>(); in AssignImageBinSlot() local
587 bool ImageWriter::IsImageClass(Class* klass) { in IsImageClass()
635 Class* klass = dex_cache->GetResolvedType(i); in PruneNonImageClasses() local
672 bool ImageWriter::NonImageClassesVisitor(Class* klass, void* arg) { in NonImageClassesVisitor()
691 Class* klass = obj->AsClass(); in CheckNonImageClassesRemovedCallback() local
779 void ImageWriter::WalkInstanceFields(mirror::Object* obj, mirror::Class* klass) { in WalkInstanceFields()
808 Handle<mirror::Class> klass(hs.NewHandle(obj->GetClass())); in WalkFieldsInOrder() local
[all …]
/art/test/116-nodex2oat/
Dnodex2oat.cc29 mirror::Class* klass = soa.Decode<mirror::Class*>(cls); in hasOat() local
/art/test/118-noimage-dex2oat/
Dnoimage-dex2oat.cc29 mirror::Class* klass = soa.Decode<mirror::Class*>(cls); in hasOat() local
/art/runtime/native/
Djava_lang_Class.cc110 Thread* self, mirror::Class* klass, bool public_only, bool force_resolve) in GetDeclaredFields()
249 auto* klass = DecodeClass(soa, javaThis); in Class_getDeclaredField() local
265 auto* klass = DecodeClass(soa, javaThis); in Class_getDeclaredConstructorInternal() local
384 Handle<mirror::Class> klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_getDeclaredMethodsUnchecked() local
435 Handle<mirror::Class> klass = hs.NewHandle(DecodeClass(soa, javaThis)); in Class_newInstance() local
/art/runtime/gc/
Dheap-inl.h41 inline mirror::Object* Heap::AllocObjectWithAllocator(Thread* self, mirror::Class* klass, in AllocObjectWithAllocator()
210 inline mirror::Object* Heap::AllocLargeObject(Thread* self, mirror::Class** klass, in AllocLargeObject()
/art/test/117-nopatchoat/
Dnopatchoat.cc29 mirror::Class* klass = soa.Decode<mirror::Class*>(cls); in getOatDexFile() local
/art/compiler/driver/
Dcompiler_driver.cc521 mirror::Class* klass = class_linker->FindClass(self, descriptor, class_loader); in GetDexToDexCompilationlevel() local
745 static bool RecordImageClassesVisitor(mirror::Class* klass, void* arg) in RecordImageClassesVisitor()
771 Handle<mirror::Class> klass( in LoadImageClasses() local
798 Handle<mirror::Class> klass(hs2.NewHandle( in LoadImageClasses() local
826 MutableHandle<mirror::Class> klass(hs.NewHandle(c.Get())); in MaybeAddToImageClasses() local
917 static bool FindImageClasses(mirror::Class* klass, void* arg) in FindImageClasses()
956 mirror::Class* klass = object->GetClass(); in VisitClinitClassesObject() local
996 bool CompilerDriver::CanAssumeClassIsLoaded(mirror::Class* klass) { in CanAssumeClassIsLoaded()
1215 mirror::Class* klass = mirror::Reference::GetJavaLangRefReference(); in GetReferenceSlowFlagOffset() local
1222 mirror::Class* klass = mirror::Reference::GetJavaLangRefReference(); in GetReferenceDisableFlagOffset() local
[all …]

123