/art/runtime/native/ |
H A D | dalvik_system_VMRuntime.cc | 301 static void PreloadDexCachesResolveMethod(Handle<mirror::DexCache> dex_cache, uint32_t method_idx, 304 mirror::ArtMethod* method = dex_cache->GetResolvedMethod(method_idx); 309 const DexFile::MethodId& method_id = dex_file->GetMethodId(method_idx); 317 method = klass->FindDirectMethod(dex_cache.Get(), method_idx); 320 method = klass->FindInterfaceMethod(dex_cache.Get(), method_idx); 324 method = klass->FindVirtualMethod(dex_cache.Get(), method_idx); 333 dex_cache->SetResolvedMethod(method_idx, method); 481 uint32_t method_idx = it.GetMemberIndex(); local 483 PreloadDexCachesResolveMethod(dex_cache, method_idx, invoke_type); 486 uint32_t method_idx local [all...] |
/art/compiler/ |
H A D | oat_writer.cc | 296 uint32_t method_idx = it.GetMemberIndex(); local 298 writer_->compiler_driver_->GetCompiledMethod(MethodReference(dex_file_, method_idx));
|
/art/compiler/sea_ir/ir/ |
H A D | sea.cc | 195 uint32_t method_idx, uint32_t method_access_flags) { 198 method_idx_ = method_idx; 413 uint32_t method_idx, uint32_t method_access_flags, const art::DexFile& dex_file) { 415 BuildMethodSeaGraph(code_item, dex_file, class_def_idx, method_idx, method_access_flags); 193 BuildMethodSeaGraph(const art::DexFile::CodeItem* code_item, const art::DexFile& dex_file, uint16_t class_def_idx, uint32_t method_idx, uint32_t method_access_flags) argument 410 CompileMethod( const std::string& function_name, const art::DexFile::CodeItem* code_item, uint16_t class_def_idx, uint32_t method_idx, uint32_t method_access_flags, const art::DexFile& dex_file) argument
|
/art/runtime/mirror/ |
H A D | class-inl.h | 280 uint32_t method_idx, DexCache* dex_cache) { 288 uint32_t class_idx = referrer_dex_cache->GetDexFile()->GetMethodId(method_idx).class_idx_; 322 DexCache* dex_cache, uint32_t method_idx) { 323 return ResolvedMethodAccessTest<false, false, kStatic>(access_to, method, method_idx, dex_cache); 328 uint32_t method_idx) { 329 return ResolvedMethodAccessTest<true, true, throw_invoke_type>(access_to, method, method_idx, 279 ResolvedMethodAccessTest(Class* access_to, ArtMethod* method, uint32_t method_idx, DexCache* dex_cache) argument 321 CanAccessResolvedMethod(Class* access_to, ArtMethod* method, DexCache* dex_cache, uint32_t method_idx) argument 327 CheckResolvedMethodAccess(Class* access_to, ArtMethod* method, uint32_t method_idx) argument
|
/art/runtime/ |
H A D | profiler.cc | 529 uint32_t method_idx = method->GetDexMethodIndex(); local 531 MethodReference method_ref(dex_file, method_idx);
|
H A D | dex_file.cc | 761 void DexFile::DecodeDebugInfo0(const CodeItem* code_item, bool is_static, uint32_t method_idx, argument 772 const char* descriptor = GetMethodDeclaringClassDescriptor(GetMethodId(method_idx)); 782 DexFileParameterIterator it(*this, GetMethodPrototype(GetMethodId(method_idx))); 812 << " for method " << PrettyMethod(method_idx, *this); 924 void DexFile::DecodeDebugInfo(const CodeItem* code_item, bool is_static, uint32_t method_idx, argument 933 DecodeDebugInfo0(code_item, is_static, method_idx, position_cb, local_cb, context, stream, &local_in_reg[0]);
|
H A D | utils.cc | 391 std::string PrettyMethod(uint32_t method_idx, const DexFile& dex_file, bool with_signature) { argument 392 if (method_idx >= dex_file.NumMethodIds()) { 393 return StringPrintf("<<invalid-method-idx-%d>>", method_idx); 395 const DexFile::MethodId& method_id = dex_file.GetMethodId(method_idx);
|
H A D | class_linker.cc | 2359 uint32_t method_idx) { 2374 if (it.GetMemberIndex() == method_idx) { 2381 if (it.GetMemberIndex() == method_idx) { 2388 LOG(FATAL) << "Failed to find method index " << method_idx << " in " << dex_file.GetLocation(); 2503 uint32_t method_idx) { 2508 uint32_t oat_method_idx = GetOatMethodIndexFromMethodIndex(dex_file, class_def_idx, method_idx); 2514 uint32_t method_idx) { 2519 uint32_t oat_method_idx = GetOatMethodIndexFromMethodIndex(dex_file, class_def_idx, method_idx); 3962 uint32_t method_idx = proxy_method->GetDexMethodIndex(); local 3963 mirror::ArtMethod* resolved_method = dex_cache->GetResolvedMethod(method_idx); 2358 GetOatMethodIndexFromMethodIndex(const DexFile& dex_file, uint16_t class_def_idx, uint32_t method_idx) argument 2502 GetQuickOatCodeFor(const DexFile& dex_file, uint16_t class_def_idx, uint32_t method_idx) argument 2513 GetPortableOatCodeFor(const DexFile& dex_file, uint16_t class_def_idx, uint32_t method_idx) argument 5000 size_t method_idx = local_method->GetMethodIndexDuringLinking(); local 5672 ResolveMethod(const DexFile& dex_file, uint32_t method_idx, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader, Handle<mirror::ArtMethod> referrer, InvokeType type) argument 5898 MethodShorty(uint32_t method_idx, mirror::ArtMethod* referrer, uint32_t* length) argument [all...] |
/art/compiler/dex/ |
H A D | mir_graph.cc | 555 LOG(INFO) << PrettyMethod(cu_->method_idx, *cu_->dex_file); 651 uint32_t method_idx, jobject class_loader, const DexFile& dex_file) { 658 dex_file, current_code_item_, class_def_idx, method_idx, access_flags, 659 cu_->compiler_driver->GetVerifiedMethod(&dex_file, method_idx))); 690 cu_->method_idx = method_idx; 693 cu_->shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx)); 881 std::string fname(PrettyMethod(cu_->method_idx, *cu_->dex_file)); 1421 LOG(INFO) << "Compiling " << PrettyMethod(cu_->method_idx, *cu_->dex_file); 1679 DCHECK(q.empty()) << PrettyMethod(cu_->method_idx, *cu 649 InlineMethod(const DexFile::CodeItem* code_item, uint32_t access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file) argument [all...] |
/art/compiler/dex/quick/ |
H A D | gen_invoke.cc | 573 uint32_t method_idx, uintptr_t unused, uintptr_t unused2, 589 // Get this->klass_.embedded_vtable[method_idx] [usr kArg0, set kArg0] 591 method_idx * sizeof(mirror::Class::VTableEntry); 615 uint32_t method_idx, uintptr_t unused, 636 (method_idx % mirror::Class::kImtSize) * sizeof(mirror::Class::ImTableEntry); 654 const MethodReference& target_method, uint32_t method_idx) { 571 NextVCallInsn(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t method_idx, uintptr_t unused, uintptr_t unused2, InvokeType unused3) argument 613 NextInterfaceCallInsn(CompilationUnit* cu, CallInfo* info, int state, const MethodReference& target_method, uint32_t method_idx, uintptr_t unused, uintptr_t direct_method, InvokeType unused2) argument 652 NextInvokeInsnSP(CompilationUnit* cu, CallInfo* info, QuickEntrypointEnum trampoline, int state, const MethodReference& target_method, uint32_t method_idx) argument
|
/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 1773 static TwoWordReturn artInvokeCommon(uint32_t method_idx, mirror::Object* this_object, 1778 static TwoWordReturn artInvokeCommon(uint32_t method_idx, mirror::Object* this_object, argument 1781 mirror::ArtMethod* method = FindMethodFast(method_idx, this_object, caller_method, access_check, 1787 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(method_idx), &shorty_len); 1793 method = FindMethodFromCode<type, access_check>(method_idx, &this_object, &caller_method, 1818 TwoWordReturn artInvokeCommon<type, access_check>(uint32_t method_idx, \ 1838 uint32_t method_idx, mirror::Object* this_object, 1842 return artInvokeCommon<kInterface, true>(method_idx, this_object, 1847 uint32_t method_idx, mirror::Object* this_object, 1851 return artInvokeCommon<kDirect, true>(method_idx, this_objec [all...] |
/art/compiler/driver/ |
H A D | compiler_driver.cc | 328 uint32_t method_idx, 555 uint32_t method_idx = method->GetDexMethodIndex(); local 588 CompileMethod(code_item, access_flags, invoke_type, class_def_idx, method_idx, jclass_loader, 1296 uint32_t method_idx = target_method->dex_method_index; local 1298 ResolveMethod(soa, dex_cache, class_loader, mUnit, method_idx, orig_invoke_type))); 1345 uint32_t method_idx) const { 1346 MethodReference ref(dex_file, method_idx); 2050 uint32_t method_idx = it.GetMemberIndex(); local 2051 if (method_idx == previous_direct_method_idx) { 2052 // smali can create dex files with two encoded_methods sharing the same method_idx 2067 uint32_t method_idx = it.GetMemberIndex(); local 2093 CompileMethod(const DexFile::CodeItem* code_item, uint32_t access_flags, InvokeType invoke_type, uint16_t class_def_idx, uint32_t method_idx, jobject class_loader, const DexFile& dex_file, DexToDexCompilationLevel dex_to_dex_compilation_level, bool compilation_enabled) argument [all...] |
/art/runtime/verifier/ |
H A D | method_verifier.cc | 164 uint32_t method_idx = it.GetMemberIndex(); local 165 if (method_idx == previous_direct_method_idx) { 166 // smali can create dex files with two encoded_methods sharing the same method_idx 171 previous_direct_method_idx = method_idx; 174 linker->ResolveMethod(*dex_file, method_idx, dex_cache, class_loader, 181 MethodVerifier::FailureKind result = VerifyMethod(method_idx, 200 *error += PrettyMethod(method_idx, *dex_file); 208 uint32_t method_idx = it.GetMemberIndex(); local 209 if (method_idx == previous_virtual_method_idx) { 210 // smali can create dex files with two encoded_methods sharing the same method_idx 257 VerifyMethod(uint32_t method_idx, const DexFile* dex_file, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader, const DexFile::ClassDef* class_def, const DexFile::CodeItem* code_item, mirror::ArtMethod* method, uint32_t method_access_flags, bool allow_soft_failures, bool need_precise_constants) argument 2244 uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local 2267 uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local 2350 uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local 2408 uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local 3175 const uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local 3190 const uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local 3259 const uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local 3298 const uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c(); local [all...] |
/art/compiler/llvm/ |
H A D | gbc_expander.cc | 205 llvm::Value* EmitLoadDexCacheResolvedMethodFieldAddr(uint32_t method_idx); 378 llvm::FunctionType* GetFunctionType(llvm::Type* ret_type, uint32_t method_idx, bool is_static); 730 EmitLoadDexCacheResolvedMethodFieldAddr(uint32_t method_idx) { argument 734 llvm::Value* method_idx_value = irb_.getPtrEquivInt(method_idx); 2664 llvm::FunctionType* GBCExpanderPass::GetFunctionType(llvm::Type* ret_type, uint32_t method_idx, argument 2668 dex_compilation_unit_->GetDexFile()->GetMethodId(method_idx);
|