Home
last modified time | relevance | path

Searched refs:declaring_class (Results 1 – 18 of 18) sorted by relevance

/art/runtime/
Dclass_linker-inl.h61 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in ResolveString() local
62 mirror::String* resolved_string = declaring_class->GetDexCacheStrings()->Get(string_idx); in ResolveString()
65 Handle<mirror::DexCache> dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in ResolveString()
79 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in ResolveType() local
81 Handle<mirror::DexCache> dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in ResolveType()
82 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType()
92 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in ResolveType() local
93 mirror::DexCache* dex_cache_ptr = declaring_class->GetDexCache(); in ResolveType()
98 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType()
124 mirror::Class* declaring_class = (*referrer)->GetDeclaringClass(); in ResolveMethod() local
[all …]
Dreflection.cc532 mirror::Class* declaring_class = m->GetDeclaringClass(); in InvokeMethod() local
533 if (UNLIKELY(!declaring_class->IsInitialized())) { in InvokeMethod()
535 Handle<mirror::Class> h_class(hs.NewHandle(declaring_class)); in InvokeMethod()
539 declaring_class = h_class.Get(); in InvokeMethod()
546 if (!VerifyObjectIsClass(receiver, declaring_class)) { in InvokeMethod()
568 if (!accessible && !VerifyAccess(soa.Self(), receiver, declaring_class, m->GetAccessFlags())) { in InvokeMethod()
791 bool VerifyAccess(Thread* self, mirror::Object* obj, mirror::Class* declaring_class, uint32_t acces… in VerifyAccess() argument
802 if (caller_class == declaring_class) { in VerifyAccess()
810 !declaring_class->IsInSamePackage(caller_class)) { in VerifyAccess()
812 } else if (declaring_class->IsAssignableFrom(caller_class)) { in VerifyAccess()
[all …]
Dquick_exception_handler.cc207 mirror::Class* declaring_class = m->GetDeclaringClass(); in HandleDeoptimization() local
208 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in HandleDeoptimization()
209 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in HandleDeoptimization()
Dreflection.h77 bool VerifyAccess(Thread* self, mirror::Object* obj, mirror::Class* declaring_class,
Dclass_linker.cc2396 mirror::Class* declaring_class = method->GetDeclaringClass(); in FindOatMethodFor() local
2404 oat_method_index = declaring_class->NumDirectMethods(); in FindOatMethodFor()
2405 size_t end = declaring_class->NumVirtualMethods(); in FindOatMethodFor()
2410 declaring_class->GetVirtualMethod(i)->GetDexMethodIndex()) { in FindOatMethodFor()
2419 GetOatMethodIndexFromMethodIndex(*declaring_class->GetDexCache()->GetDexFile(), in FindOatMethodFor()
2423 if (!FindOatClass(*declaring_class->GetDexCache()->GetDexFile(), in FindOatMethodFor()
2424 declaring_class->GetDexClassDefIndex(), in FindOatMethodFor()
5900 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in MethodShorty() local
5901 mirror::DexCache* dex_cache = declaring_class->GetDexCache(); in MethodShorty()
Ddebugger.cc3155 mirror::Class* declaring_class = m->GetDeclaringClass(); in IsMethodPossiblyInlined() local
3156 Handle<mirror::DexCache> dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in IsMethodPossiblyInlined()
3157 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in IsMethodPossiblyInlined()
/art/runtime/mirror/
Dstack_trace_element.cc42 StackTraceElement* StackTraceElement::Alloc(Thread* self, Handle<String> declaring_class, in Alloc() argument
49 trace->Init<true>(declaring_class, method_name, file_name, line_number); in Alloc()
51 trace->Init<false>(declaring_class, method_name, file_name, line_number); in Alloc()
58 void StackTraceElement::Init(Handle<String> declaring_class, Handle<String> method_name, in Init() argument
61 declaring_class.Get()); in Init()
Dstack_trace_element.h50 static StackTraceElement* Alloc(Thread* self, Handle<String> declaring_class,
72 void Init(Handle<String> declaring_class, Handle<String> method_name, Handle<String> file_name,
Dart_method.cc108 Class* declaring_class = GetDeclaringClass(); in FindOverriddenMethod() local
109 Class* super_class = declaring_class->GetSuperClass(); in FindOverriddenMethod()
Dclass-inl.h347 Class* declaring_class = method->GetDeclaringClass(); in FindVirtualMethodForInterface() local
348 DCHECK(declaring_class != NULL) << PrettyClass(this); in FindVirtualMethodForInterface()
349 DCHECK(declaring_class->IsInterface()) << PrettyMethod(method); in FindVirtualMethodForInterface()
354 if (iftable->GetInterface(i) == declaring_class) { in FindVirtualMethodForInterface()
/art/compiler/sea_ir/types/
Dtype_inference.cc80 const art::verifier::RegType& declaring_class = GetDeclaringClass(); in GetDeclaredArgumentTypes() local
81 if (IsConstructor() && !declaring_class.IsJavaLangObject()) { in GetDeclaredArgumentTypes()
82 argument_types.push_back(&(type_cache_->UninitializedThisArgument(declaring_class))); in GetDeclaredArgumentTypes()
84 argument_types.push_back(&declaring_class); in GetDeclaredArgumentTypes()
/art/compiler/driver/
Dcompiler_driver-inl.h85 mirror::Class* declaring_class = resolved_field->GetDeclaringClass(); in GetResolvedFieldDexFileLocation() local
86 *declaring_dex_file = declaring_class->GetDexCache()->GetDexFile(); in GetResolvedFieldDexFileLocation()
87 *declaring_class_idx = declaring_class->GetDexTypeIndex(); in GetResolvedFieldDexFileLocation()
192 mirror::Class* declaring_class = resolved_method->GetDeclaringClass(); in GetResolvedMethodDexFileLocation() local
193 *declaring_dex_file = declaring_class->GetDexCache()->GetDexFile(); in GetResolvedMethodDexFileLocation()
194 *declaring_class_idx = declaring_class->GetDexTypeIndex(); in GetResolvedMethodDexFileLocation()
Dcompiler_driver.cc1187 mirror::Class* declaring_class = method->GetDeclaringClass(); in GetCodeAndMethodForDirectCall() local
1188 bool method_code_in_boot = (declaring_class->GetClassLoader() == nullptr); in GetCodeAndMethodForDirectCall()
1194 method->IsStatic() && !declaring_class->IsInitialized(); in GetCodeAndMethodForDirectCall()
1195 if (has_clinit_trampoline && (declaring_class != referrer_class)) { in GetCodeAndMethodForDirectCall()
1211 Runtime::Current()->GetHeap()->FindSpaceFromObject(declaring_class, in GetCodeAndMethodForDirectCall()
1223 if (target_method->dex_file == declaring_class->GetDexCache()->GetDexFile()) { in GetCodeAndMethodForDirectCall()
1237 target_method->dex_file = declaring_class->GetDexCache()->GetDexFile(); in GetCodeAndMethodForDirectCall()
1260 target_method->dex_file = declaring_class->GetDexCache()->GetDexFile(); in GetCodeAndMethodForDirectCall()
1267 target_method->dex_file = declaring_class->GetDexCache()->GetDexFile(); in GetCodeAndMethodForDirectCall()
/art/compiler/dex/quick/
Ddex_file_method_inliner.h254 ClassCacheIndex declaring_class; member
Ddex_file_method_inliner.cc654 uint32_t declaring_class_index = FindClassIndex(dex_file, cache, method_def.declaring_class); in FindMethodIndex()
/art/runtime/interpreter/
Dinterpreter.cc552 mirror::Class* declaring_class = method->GetDeclaringClass(); in artInterpreterToInterpreterBridge() local
553 if (UNLIKELY(!declaring_class->IsInitialized())) { in artInterpreterToInterpreterBridge()
555 HandleWrapper<Class> h_declaring_class(hs.NewHandleWrapper(&declaring_class)); in artInterpreterToInterpreterBridge()
/art/compiler/
Dimage_writer.cc359 mirror::Class* declaring_class = art_method->GetDeclaringClass(); in AssignImageBinSlot() local
360 if (declaring_class->GetStatus() != Class::kStatusInitialized) { in AssignImageBinSlot()
/art/runtime/verifier/
Dmethod_verifier.cc1203 RegType& declaring_class = GetDeclaringClass(); in SetTypesFromSignature() local
1204 if (IsConstructor() && !declaring_class.IsJavaLangObject()) { in SetTypesFromSignature()
1206 reg_types_.UninitializedThisArgument(declaring_class)); in SetTypesFromSignature()
1208 reg_line->SetRegisterType(arg_start + cur_arg, declaring_class); in SetTypesFromSignature()