/art/libdexfile/dex/ |
D | dex_instruction_test.cc | 32 static void Build45cc(uint8_t num_args, uint16_t method_idx, uint16_t proto_idx, in Build45cc() argument 47 out[1] = method_idx; in Build45cc() 52 static void Build4rcc(uint16_t num_args, uint16_t method_idx, uint16_t proto_idx, in Build4rcc() argument 67 out[1] = method_idx; in Build4rcc() 143 uint16_t method_idx, in Build35c() argument 148 out[1] = method_idx; in Build35c() 160 uint16_t method_idx, in DumpInst35c() argument 163 Build35c(inst, code, method_idx, args); in DumpInst35c()
|
D | dex_instruction.cc | 378 uint32_t method_idx = VRegB_35c(); in DumpString() local 380 os << "}, " << file->PrettyMethod(method_idx) << " // method@" << method_idx; in DumpString() 411 uint32_t method_idx = VRegB_3rc(); in DumpString() local 413 << file->PrettyMethod(method_idx) << " // method@" << method_idx; in DumpString() 435 uint16_t method_idx = VRegB_45cc(); in DumpString() local 446 os << ", " << file->PrettyMethod(method_idx) in DumpString() 452 os << "method@" << method_idx << ", proto@" << proto_idx; in DumpString() 459 uint16_t method_idx = VRegB_4rcc(); in DumpString() local 462 << "}, " << file->PrettyMethod(method_idx) in DumpString() 464 << " // method@" << method_idx << ", proto@" << proto_idx; in DumpString() [all …]
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 164 uint32_t method_idx = 2u; in Create2MethodsWithGap() local 175 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code)); in Create2MethodsWithGap() 176 method_idx += 1u; in Create2MethodsWithGap() 183 AddCompiledMethod(MethodRef(method_idx), last_method_code, last_method_patches); in Create2MethodsWithGap() 188 auto last_result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in Create2MethodsWithGap() 199 return method_idx; in Create2MethodsWithGap() 202 uint32_t GetMethodOffset(uint32_t method_idx) { in GetMethodOffset() argument 203 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in GetMethodOffset() 709 uint32_t method_idx = 0u; in TestBakerFieldWide() local 721 ++method_idx; in TestBakerFieldWide() [all …]
|
/art/compiler/ |
D | compiler.cc | 49 uint32_t method_idx, in IsPathologicalCase() argument 60 << " in " << dex_file.PrettyMethod(method_idx); in IsPathologicalCase() 65 << accessor.RegistersSize() << " in " << dex_file.PrettyMethod(method_idx); in IsPathologicalCase()
|
D | compiler.h | 59 virtual bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file) const = 0; 65 uint32_t method_idx, 71 uint32_t method_idx, 97 uint32_t method_idx,
|
/art/libprofile/profile/ |
D | profile_compilation_info_test.cc | 64 uint16_t method_idx, in GetMethod() argument 66 return info.GetMethodHotness(MethodReference(dex, method_idx), annotation); in GetMethod() 184 for (uint32_t method_idx = 0; method_idx < kMaxMethodIds; method_idx++) { in SizeStressTest() local 190 method_idx, in SizeStressTest() 199 method_idx, in SizeStressTest() 513 for (uint16_t method_idx = 0; method_idx < 10; method_idx++) { in TEST_F() local 516 ASSERT_TRUE(AddMethod(&saved_info, dex1, method_idx, inline_caches)); in TEST_F() 518 ASSERT_TRUE(AddMethod(&saved_info, dex4, method_idx, inline_caches)); in TEST_F() 545 for (uint16_t method_idx = 0; method_idx < 10; method_idx++) { in TEST_F() local 546 ASSERT_TRUE(AddMethod(&saved_info, dex1, method_idx, inline_caches)); in TEST_F() [all …]
|
D | profile_test_helper.h | 40 uint16_t method_idx, 42 return AddMethod(info, dex, method_idx, Hotness::kFlagHot, annotation); 48 uint16_t method_idx, 52 ProfileMethodInfo(MethodReference(dex, method_idx)), flags, annotation); 58 uint16_t method_idx, 61 return AddMethod(info, dex, method_idx, inline_caches, Hotness::kFlagHot, annotation); 67 uint16_t method_idx, 72 ProfileMethodInfo(MethodReference(dex, method_idx), inline_caches), flags, annotation);
|
/art/runtime/ |
D | class_linker-inl.h | 274 uint32_t method_idx, in CheckInvokeClassMismatch() argument 279 [this, dex_cache, method_idx, class_loader]() REQUIRES_SHARED(Locks::mutator_lock_) { in CheckInvokeClassMismatch() 280 const dex::MethodId& method_id = dex_cache->GetDexFile()->GetMethodId(method_idx); in CheckInvokeClassMismatch() 283 DCHECK(klass != nullptr) << dex_cache->GetDexFile()->PrettyMethod(method_idx); in CheckInvokeClassMismatch() 288 inline ArtMethod* ClassLinker::LookupResolvedMethod(uint32_t method_idx, in LookupResolvedMethod() argument 291 ArtMethod* resolved = dex_cache->GetResolvedMethod(method_idx); in LookupResolvedMethod() 294 const dex::MethodId& method_id = dex_file.GetMethodId(method_idx); in LookupResolvedMethod() 297 resolved = FindResolvedMethod(klass, dex_cache, class_loader, method_idx); in LookupResolvedMethod() 304 inline ArtMethod* ClassLinker::GetResolvedMethod(uint32_t method_idx, ArtMethod* referrer) { in GetResolvedMethod() argument 313 method_idx); in GetResolvedMethod() [all …]
|
/art/runtime/entrypoints/jni/ |
D | jni_entrypoints.cc | 43 uint32_t method_idx = (instruction.Opcode() == Instruction::INVOKE_STATIC) in GetInvokeStaticMethodIndex() local 46 return method_idx; in GetInvokeStaticMethodIndex() 61 uint32_t method_idx = GetInvokeStaticMethodIndex(method, dex_pc); in artFindNativeMethodRunnable() local 63 self, method_idx, method, kStatic); in artFindNativeMethodRunnable() 72 MaybeUpdateBssMethodEntry(target_method, MethodReference(method->GetDexFile(), method_idx)); in artFindNativeMethodRunnable() 171 uint32_t method_idx = GetInvokeStaticMethodIndex(caller, dex_pc); in artCriticalNativeFrameSize() local 173 const char* shorty = dex_file->GetMethodShorty(dex_file->GetMethodId(method_idx), &shorty_len); in artCriticalNativeFrameSize()
|
/art/tools/dexanalyze/ |
D | dexanalyze_experiments.cc | 380 uint32_t method_idx = DexMethodIndex(inst.Inst()); in ProcessDexFile() local 381 ++types_accessed[dex_file.GetMethodId(method_idx).class_idx_.index_]; in ProcessDexFile() 382 if (dex_file.GetMethodId(method_idx).class_idx_ == accessor.GetClassIdx()) { in ProcessDexFile() 386 unique_method_ids.insert(method_idx); in ProcessDexFile() 391 uint32_t method_idx = DexMethodIndex(inst.Inst()); in ProcessDexFile() local 392 ++types_accessed[dex_file.GetMethodId(method_idx).class_idx_.index_]; in ProcessDexFile() 393 if (dex_file.GetMethodId(method_idx).class_idx_ == accessor.GetClassIdx()) { in ProcessDexFile() 397 unique_method_ids.insert(method_idx); in ProcessDexFile() 402 uint32_t method_idx = DexMethodIndex(inst.Inst()); in ProcessDexFile() local 403 ++types_accessed[dex_file.GetMethodId(method_idx).class_idx_.index_]; in ProcessDexFile() [all …]
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 131 uint32_t method_idx = 2u; in Create2MethodsWithGap() local 142 AddCompiledMethod(MethodRef(method_idx), ArrayRef<const uint8_t>(gap_code)); in Create2MethodsWithGap() 143 method_idx += 1u; in Create2MethodsWithGap() 150 AddCompiledMethod(MethodRef(method_idx), last_method_code, last_method_patches); in Create2MethodsWithGap() 155 auto last_result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in Create2MethodsWithGap() 165 return method_idx; in Create2MethodsWithGap() 168 uint32_t GetMethodOffset(uint32_t method_idx) { in GetMethodOffset() argument 169 auto result = method_offset_map_.FindMethodOffset(MethodRef(method_idx)); in GetMethodOffset() 1050 uint32_t method_idx = 0u; in TestBakerField() local 1061 ++method_idx; in TestBakerField() [all …]
|
/art/compiler/driver/ |
D | compiler_options.cc | 160 uint32_t method_idx) const { in GetVerifiedMethod() 161 MethodReference ref(dex_file, method_idx); in GetVerifiedMethod() 165 bool CompilerOptions::IsMethodVerifiedWithoutFailures(uint32_t method_idx, in IsMethodVerifiedWithoutFailures() argument 168 const VerifiedMethod* verified_method = GetVerifiedMethod(&dex_file, method_idx); in IsMethodVerifiedWithoutFailures()
|
D | dex_compilation_unit.cc | 35 uint32_t method_idx, in DexCompilationUnit() argument 45 dex_method_idx_(method_idx), in DexCompilationUnit()
|
/art/compiler/optimizing/ |
D | optimizing_compiler.cc | 277 bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file) const override; 283 uint32_t method_idx, 289 uint32_t method_idx, 455 bool OptimizingCompiler::CanCompileMethod(uint32_t method_idx ATTRIBUTE_UNUSED, in CanCompileMethod() 755 uint32_t method_idx = dex_compilation_unit.GetDexMethodIndex(); in TryCompile() local 769 if (Compiler::IsPathologicalCase(*code_item, method_idx, dex_file)) { in TryCompile() 784 CodeItemDebugInfoAccessor code_item_accessor(dex_file, code_item, method_idx); in TryCompile() 800 && !annotations::MethodContainsRSensitiveAccess(dex_file, *containing_class, method_idx); in TryCompile() 811 method_idx, in TryCompile() 920 uint32_t method_idx = dex_compilation_unit.GetDexMethodIndex(); in TryCompileIntrinsic() local [all …]
|
D | builder.cc | 160 uint32_t method_idx = dex_compilation_unit_->GetDexMethodIndex(); in BuildIntrinsicGraph() local 161 const char* shorty = dex_file_->GetMethodShorty(dex_file_->GetMethodId(method_idx)); in BuildIntrinsicGraph()
|
/art/compiler/jni/quick/ |
D | jni_compiler.cc | 117 uint32_t method_idx, in ArtJniCompileMethodInternal() argument 123 const char* shorty = dex_file.GetMethodShorty(dex_file.GetMethodId(method_idx)); in ArtJniCompileMethodInternal() 135 << dex_file.PrettyMethod(method_idx, /* with signature */ true) in ArtJniCompileMethodInternal() 140 << dex_file.PrettyMethod(method_idx, /* with signature */ true); in ArtJniCompileMethodInternal() 145 << dex_file.PrettyMethod(method_idx, /* with signature */ true); in ArtJniCompileMethodInternal() 152 << dex_file.PrettyMethod(method_idx, /* with_signature= */ true); in ArtJniCompileMethodInternal() 163 << dex_file.PrettyMethod(method_idx, /* with_signature= */ true); in ArtJniCompileMethodInternal() 167 << dex_file.PrettyMethod(method_idx, /* with_signature= */ true); in ArtJniCompileMethodInternal() 171 << dex_file.PrettyMethod(method_idx, /* with_signature= */ true); in ArtJniCompileMethodInternal() 774 uint32_t method_idx, in ArtQuickJniCompileMethod() argument [all …]
|
D | jni_compiler.h | 67 uint32_t method_idx,
|
/art/test/dexdump/ |
D | all.txt | 107 method_idx : 0 124 method_idx : 1 154 method_idx : 2 202 method_idx : 3 250 method_idx : 4 274 method_idx : 5 301 method_idx : 6 322 method_idx : 7 350 method_idx : 8 377 method_idx : 11 [all …]
|
D | const-method-handle.txt | 55 method_idx : 0 74 method_idx : 1 134 method_idx : 2 153 method_idx : 3 195 method_idx : 4 225 method_idx : 5 247 method_idx : 6 264 method_idx : 7
|
D | invoke-custom.txt | 56 method_idx : 8 101 method_idx : 50 120 method_idx : 51 155 method_idx : 52 190 method_idx : 53 226 method_idx : 54 262 method_idx : 55 297 method_idx : 56 333 method_idx : 57 370 method_idx : 58 [all …]
|
/art/runtime/mirror/ |
D | dex_cache-inl.h | 257 inline uint32_t DexCache::MethodSlotIndex(uint32_t method_idx) { in MethodSlotIndex() argument 258 DCHECK_LT(method_idx, GetDexFile()->NumMethodIds()); in MethodSlotIndex() 259 const uint32_t slot_idx = method_idx % kDexCacheMethodCacheSize; in MethodSlotIndex() 264 inline ArtMethod* DexCache::GetResolvedMethod(uint32_t method_idx) { in GetResolvedMethod() argument 265 auto pair = GetNativePair(GetResolvedMethods(), MethodSlotIndex(method_idx)); in GetResolvedMethod() 266 return pair.GetObjectForIndex(method_idx); in GetResolvedMethod() 269 inline void DexCache::SetResolvedMethod(uint32_t method_idx, ArtMethod* method) { in SetResolvedMethod() argument 271 MethodDexCachePair pair(method, method_idx); in SetResolvedMethod() 272 SetNativePair(GetResolvedMethods(), MethodSlotIndex(method_idx), pair); in SetResolvedMethod()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 425 ALWAYS_INLINE ArtMethod* FindMethodToCall(uint32_t method_idx, in FindMethodToCall() argument 444 ThrowNullPointerExceptionForMethodAccess(method_idx, type); in FindMethodToCall() 476 referrer->GetDexFile()->GetMethodId(method_idx).class_idx_; in FindMethodToCall() 562 inline ArtMethod* FindMethodFromCode(uint32_t method_idx, in FindMethodFromCode() argument 572 resolved_method = class_linker->ResolveMethod<resolve_mode>(self, method_idx, referrer, type); in FindMethodFromCode() 576 resolved_method = class_linker->ResolveMethod<resolve_mode>(self, method_idx, referrer, type); in FindMethodFromCode() 583 method_idx, resolved_method, this_object, referrer, self); in FindMethodFromCode() 589 ArtMethod* FindMethodFromCode<_type, _access_check>(uint32_t method_idx, \ 646 inline ArtMethod* FindMethodFast(uint32_t method_idx, in FindMethodFast() argument 659 ArtMethod* resolved_method = linker->GetResolvedMethod<type, resolve_mode>(method_idx, referrer); in FindMethodFast() [all …]
|
/art/runtime/verifier/ |
D | class_verifier.cc | 262 const uint32_t method_idx = method.GetIndex(); in VerifyClass() local 263 if (method_idx == *previous_idx) { in VerifyClass() 268 *previous_idx = method_idx; in VerifyClass() 271 method_idx, dex_cache, class_loader, /* referrer= */ nullptr, type); in VerifyClass() 285 method_idx, in VerifyClass()
|
D | method_verifier.h | 122 uint32_t method_idx, 263 uint32_t method_idx, 286 uint32_t method_idx, 316 uint32_t method_idx,
|
/art/tools/veridex/ |
D | hidden_api_finder.h | 50 void CheckMethod(uint32_t method_idx, VeridexResolver* resolver, MethodReference ref);
|