/aosp12/art/runtime/interpreter/mterp/ |
H A D | nterp.cc | 259 uint16_t method_index = 0; in NterpGetMethod() local 262 method_index = inst->VRegB_35c(); in NterpGetMethod() 268 method_index = inst->VRegB_35c(); in NterpGetMethod() 274 method_index = inst->VRegB_35c(); in NterpGetMethod() 280 method_index = inst->VRegB_35c(); in NterpGetMethod() 285 method_index = inst->VRegB_35c(); in NterpGetMethod() 291 method_index = inst->VRegB_3rc(); in NterpGetMethod() 297 method_index = inst->VRegB_3rc(); in NterpGetMethod() 303 method_index = inst->VRegB_3rc(); in NterpGetMethod() 309 method_index = inst->VRegB_3rc(); in NterpGetMethod() [all …]
|
/aosp12/art/libprofile/profile/ |
H A D | profile_test_helper.h | 167 for (size_t method_index = 0; method_index != num_method_ids; ++method_index) { variable 172 size_t return_type_index = method_index % num_shared_ids; 173 size_t arg_type_index = (method_index / num_shared_ids) % num_shared_ids; 174 size_t method_name_index = (method_index / num_shared_ids) / num_shared_ids;
|
H A D | profile_boot_info.cc | 29 void ProfileBootInfo::Add(const DexFile* dex_file, uint32_t method_index) { in Add() argument 38 methods_.push_back(std::make_pair(index, method_index)); in Add()
|
H A D | profile_compilation_info.cc | 2221 flags |= ((method_index & 1) != 0) in GenerateTestProfile() 2240 if (method_index >= num_method_ids) { in FindOrAddHotMethod() 2245 method_index, in FindOrAddHotMethod() 2329 MethodHotness::Flag flag, size_t method_index) const { in MethodFlagBitmapIndex() 2330 DCHECK_LT(method_index, num_method_ids); in MethodFlagBitmapIndex() 2333 return method_index + FlagBitmapIndex(flag) * num_method_ids; in MethodFlagBitmapIndex() 2629 uint16_t method_index = method_entry.first; in WriteMethods() local 2634 DCHECK_GE(method_index, last_method_index); in WriteMethods() 2636 last_method_index = method_index; in WriteMethods() 2735 uint16_t method_index = 0; in ReadMethods() local [all …]
|
H A D | profile_boot_info.h | 41 void Add(const DexFile* dex_file, uint32_t method_index);
|
H A D | profile_compilation_info.h | 393 void AddMethod(ProfileIndexType profile_index, uint32_t method_index, MethodHotness::Flag flags) { in AddMethod() argument 396 DCHECK_LT(method_index, data->num_method_ids); in AddMethod() 397 data->AddMethod(flags, method_index); in AddMethod() 819 InlineCacheMap* FindOrAddHotMethod(uint16_t method_index); 833 size_t MethodFlagBitmapIndex(MethodHotness::Flag flag, size_t method_index) const;
|
/aosp12/art/test/810-checker-invoke-super-default/smali/ |
H A D | Class.smali | 19 # We check that the method_index is 0, as that's the method index for the interface method. 21 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0 22 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0 23 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0
|
H A D | OtherClass.smali | 19 # We check that the method_index is 0, as that's the method index for the interface method. 21 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0 22 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0 23 ## CHECK-DAG: InvokeStaticOrDirect method_name:Itf.$noinline$foo method_index:0
|
/aosp12/art/dex2oat/linker/ |
H A D | index_bss_mapping_encoder.h | 64 void Reset(uint32_t method_index, uint32_t bss_offset) { in Reset() argument 65 DCHECK_LE(MinimumBitsToStore(method_index), index_bits_); in Reset() 66 entry_.index_and_mask = method_index; // Mask bits set to 0. in Reset()
|
H A D | oat_writer_test.cc | 483 size_t method_index = 0; in TEST_F() local 485 CheckMethod(&m, oat_class.GetOatMethod(method_index), dex_file); in TEST_F() 486 ++method_index; in TEST_F() 494 CheckMethod(&m, oat_class.GetOatMethod(method_index), dex_file); in TEST_F() 495 ++method_index; in TEST_F()
|
/aosp12/art/test/911-get-stack-trace/ |
H A D | stack_trace.cc | 61 auto callback = [&](jint method_index) -> jobjectArray { in TranslateJvmtiFrameInfoArray() argument 66 jvmtiError result2 = jvmti_env->GetMethodName(frames[method_index].method, &name, &sig, &gen); in TranslateJvmtiFrameInfoArray() 75 jvmtiError line_result = jvmti_env->GetLineNumberTable(frames[method_index].method, in TranslateJvmtiFrameInfoArray() 97 return env->NewStringUTF(StringPrintf("%" PRId64, frames[method_index].location).c_str()); in TranslateJvmtiFrameInfoArray() 101 frames[method_index].location); in TranslateJvmtiFrameInfoArray()
|
/aosp12/art/libdexfile/dex/ |
H A D | dex_file_verifier.cc | 3504 method_index, in CheckMethodAccessFlags() 3515 method_index, in CheckMethodAccessFlags() 3533 method_index, in CheckMethodAccessFlags() 3551 method_index, in CheckMethodAccessFlags() 3569 method_index, in CheckMethodAccessFlags() 3576 method_index, in CheckMethodAccessFlags() 3592 method_index, in CheckMethodAccessFlags() 3630 method_index, in CheckMethodAccessFlags() 3641 method_index, in CheckMethodAccessFlags() 3652 uint32_t method_index, in CheckConstructorProperties() argument [all …]
|
/aosp12/art/profman/ |
H A D | profman.cc | 1164 uint16_t method_index, in HasSingleInvoke() argument 1175 << class_ref.dex_file->PrettyMethod(method_index); in HasSingleInvoke() 1185 << class_ref.dex_file->PrettyMethod(method_index); in HasSingleInvoke() 1285 if (def == nullptr || method_index >= dex->NumMethodIds()) { in ResolveMethod() 1290 return ClassMethodReference{class_ref, method_index}; in ResolveMethod() 1293 const dex::MethodId& method_id = dex->GetMethodId(method_index); in ResolveMethod() 1481 if (method_index == dex::kDexNoIndex) { in ProcessLine() 1560 MethodReference ref(class_ref.dex_file, method_index); in ProcessLine() 1562 ClassMethodReference orig_cmr { class_ref, method_index }; in ProcessLine() 1622 if (method_index == dex::kDexNoIndex) { in ProcessBootLine() [all …]
|
/aosp12/art/tools/veridex/ |
H A D | resolver.cc | 258 VeriMethod VeridexResolver::GetMethod(uint32_t method_index) { in GetMethod() argument 259 VeriMethod method_info = method_infos_[method_index]; in GetMethod() 262 const dex::MethodId& method_id = dex_file_.GetMethodId(method_index); in GetMethod() 271 method_infos_[method_index] = method_info; in GetMethod()
|
H A D | hidden_api.cc | 73 std::string HiddenApi::GetApiMethodName(const DexFile& dex_file, uint32_t method_index) { in GetApiMethodName() argument 75 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName()
|
H A D | resolver.h | 54 VeriMethod GetMethod(uint32_t method_index);
|
H A D | hidden_api.h | 80 static std::string GetApiMethodName(const DexFile& dex_file, uint32_t method_index);
|
H A D | flow_analysis.cc | 150 RegisterValue VeriFlowAnalysis::GetReturnType(uint32_t method_index) { in GetReturnType() argument 152 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetReturnType() 155 return RegisterValue(RegisterSource::kMethod, DexFileReference(&dex_file, method_index), cls); in GetReturnType()
|
/aosp12/art/runtime/dex/ |
H A D | dex_file_annotations.h | 88 uint32_t method_index); 98 uint32_t method_index); 107 uint32_t method_index);
|
H A D | dex_file_annotations.cc | 298 if (method_annotations[i].method_idx_ == method_index) { in FindAnnotationSetForMethod() 328 uint32_t method_index = method->GetDexMethodIndex(); in FindAnnotationsItemForMethod() local 331 if (parameter_annotations[i].method_idx_ == method_index) { in FindAnnotationsItemForMethod() 1273 uint32_t method_index) { in GetNativeMethodAnnotationAccessFlags() argument 1275 FindAnnotationSetForMethod(dex_file, class_def, method_index); in GetNativeMethodAnnotationAccessFlags() 1315 uint32_t method_index) in MethodIsReachabilitySensitive() argument 1318 FindAnnotationSetForMethod(dex_file, class_def, method_index); in MethodIsReachabilitySensitive() 1328 uint32_t method_index) in MethodIsReachabilitySensitive() argument 1330 DCHECK(method_index < dex_file.NumMethodIds()); in MethodIsReachabilitySensitive() 1331 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in MethodIsReachabilitySensitive() [all …]
|
/aosp12/art/runtime/ |
H A D | cha.cc | 371 uint16_t method_index = method_in_super->GetMethodIndex(); in CheckVirtualMethodSingleImplementationInfo() local 376 method_index, in CheckVirtualMethodSingleImplementationInfo() 438 method_index < super_super->GetVTableLength()) { in CheckVirtualMethodSingleImplementationInfo() 439 ArtMethod* method_in_super_super = super_super->GetVTableEntry(method_index, pointer_size); in CheckVirtualMethodSingleImplementationInfo() 460 method_index, in CheckVirtualMethodSingleImplementationInfo()
|
H A D | oat_file.h | 259 const OatMethod GetOatMethod(uint32_t method_index) const; 264 const OatMethodOffsets* GetOatMethodOffsets(uint32_t method_index) const; 269 uint32_t GetOatMethodOffsetsOffset(uint32_t method_index) const;
|
H A D | oat_file.cc | 2327 uint32_t OatFile::OatClass::GetOatMethodOffsetsOffset(uint32_t method_index) const { in GetOatMethodOffsetsOffset() 2328 const OatMethodOffsets* oat_method_offsets = GetOatMethodOffsets(method_index); in GetOatMethodOffsetsOffset() 2335 const OatMethodOffsets* OatFile::OatClass::GetOatMethodOffsets(uint32_t method_index) const { in GetOatMethodOffsets() 2342 CHECK_LT(method_index, num_methods_) << oat_file_->GetLocation(); in GetOatMethodOffsets() 2346 methods_pointer_index = method_index; in GetOatMethodOffsets() 2349 if (!BitVector::IsBitSet(bitmap_, method_index)) { in GetOatMethodOffsets() 2352 size_t num_set_bits = BitVector::NumSetBits(bitmap_, method_index); in GetOatMethodOffsets() 2365 const OatFile::OatMethod OatFile::OatClass::GetOatMethod(uint32_t method_index) const { in GetOatMethod() 2366 const OatMethodOffsets* oat_method_offsets = GetOatMethodOffsets(method_index); in GetOatMethod()
|
/aosp12/art/runtime/entrypoints/ |
H A D | entrypoint_utils-inl.h | 68 uint32_t method_index = code_info.GetMethodIndexOf(inline_info); in GetResolvedMethod() local 72 DCHECK_EQ(inlined_method->GetDexMethodIndex(), method_index); in GetResolvedMethod() 83 uint32_t method_index = code_info.GetMethodIndexOf(inline_info); in GetResolvedMethod() local 84 ArtMethod* inlined_method = class_linker->LookupResolvedMethod(method_index, in GetResolvedMethod() 89 << method->GetDexFile()->PrettyMethod(method_index) << " . " in GetResolvedMethod()
|
/aosp12/art/compiler/optimizing/ |
H A D | inliner.cc | 1086 size_t method_index = invoke_instruction->IsInvokeVirtual() in TryInlinePolymorphicCallToSameTarget() local 1099 method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget() 1108 classes.GetReference(i)->AsClass()->GetEmbeddedVTableEntry(method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget() 1143 method_index, in TryInlinePolymorphicCallToSameTarget() 1888 uint32_t method_index = resolved_method->GetDexMethodIndex(); in TryBuildAndInlineHelper() local 1907 method_index, in TryBuildAndInlineHelper() 1926 && !annotations::MethodContainsRSensitiveAccess(callee_dex_file, callee_class, method_index); in TryBuildAndInlineHelper() 1934 method_index, in TryBuildAndInlineHelper() 1965 << "Method " << callee_dex_file.PrettyMethod(method_index) in TryBuildAndInlineHelper()
|