Home
last modified time | relevance | path

Searched refs:method_index (Results 1 – 25 of 25) sorted by relevance

/art/dex2oat/linker/
Dindex_bss_mapping_encoder.h64 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()
Doat_writer_test.cc447 size_t method_index = 0; in TEST_F() local
449 CheckMethod(&m, oat_class.GetOatMethod(method_index), dex_file); in TEST_F()
450 ++method_index; in TEST_F()
458 CheckMethod(&m, oat_class.GetOatMethod(method_index), dex_file); in TEST_F()
459 ++method_index; in TEST_F()
/art/test/911-get-stack-trace/
Dstack_trace.cc61 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()
/art/tools/veridex/
Dhidden_api.cc78 std::string HiddenApi::GetApiMethodName(const DexFile& dex_file, uint32_t method_index) { in GetApiMethodName() argument
80 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName()
Dresolver.cc258 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()
Dhidden_api.h47 static std::string GetApiMethodName(const DexFile& dex_file, uint32_t method_index);
Dresolver.h54 VeriMethod GetMethod(uint32_t method_index);
Dflow_analysis.h151 RegisterValue GetReturnType(uint32_t method_index);
Dflow_analysis.cc132 RegisterValue VeriFlowAnalysis::GetReturnType(uint32_t method_index) { in GetReturnType() argument
134 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetReturnType()
137 return RegisterValue(RegisterSource::kMethod, DexFileReference(&dex_file, method_index), cls); in GetReturnType()
/art/compiler/optimizing/
Dinliner.cc477 uint32_t method_index = invoke_instruction->GetDexMethodIndex(); in TryInline() local
479 LOG_TRY() << caller_dex_file.PrettyMethod(method_index); in TryInline()
1184 size_t method_index = invoke_instruction->IsInvokeVirtual() in TryInlinePolymorphicCallToSameTarget() local
1197 method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget()
1205 new_method = classes->Get(i)->GetEmbeddedVTableEntry(method_index, pointer_size); in TryInlinePolymorphicCallToSameTarget()
1240 method_index, in TryInlinePolymorphicCallToSameTarget()
1768 uint32_t method_index = resolved_method->GetDexMethodIndex(); in TryBuildAndInlineHelper() local
1786 method_index, in TryBuildAndInlineHelper()
1805 && !annotations::MethodContainsRSensitiveAccess(callee_dex_file, callee_class, method_index); in TryBuildAndInlineHelper()
1812 method_index, in TryBuildAndInlineHelper()
[all …]
/art/runtime/dex/
Ddex_file_annotations.h88 uint32_t method_index);
98 uint32_t method_index);
107 uint32_t method_index);
Ddex_file_annotations.cc287 uint32_t method_index) { in FindAnnotationSetForMethod() argument
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()
1294 uint32_t method_index) { in GetNativeMethodAnnotationAccessFlags() argument
1296 FindAnnotationSetForMethod(dex_file, class_def, method_index); in GetNativeMethodAnnotationAccessFlags()
1336 uint32_t method_index) in MethodIsReachabilitySensitive() argument
1339 FindAnnotationSetForMethod(dex_file, class_def, method_index); in MethodIsReachabilitySensitive()
1349 uint32_t method_index) in MethodIsReachabilitySensitive() argument
1351 DCHECK(method_index < dex_file.NumMethodIds()); in MethodIsReachabilitySensitive()
[all …]
/art/libdexfile/dex/
Ddex_file_verifier.cc3254 bool DexFileVerifier::CheckMethodAccessFlags(uint32_t method_index, in CheckMethodAccessFlags() argument
3266 GetMethodDescriptionOrError(begin_, header_, method_index).c_str(), in CheckMethodAccessFlags()
3288 GetMethodDescriptionOrError(begin_, header_, method_index).c_str(), in CheckMethodAccessFlags()
3302 method_index, in CheckMethodAccessFlags()
3303 GetMethodDescriptionOrError(begin_, header_, method_index).c_str()); in CheckMethodAccessFlags()
3313 method_index, in CheckMethodAccessFlags()
3314 GetMethodDescriptionOrError(begin_, header_, method_index).c_str()); in CheckMethodAccessFlags()
3331 method_index, in CheckMethodAccessFlags()
3332 GetMethodDescriptionOrError(begin_, header_, method_index).c_str(), in CheckMethodAccessFlags()
3349 method_index, in CheckMethodAccessFlags()
[all …]
Ddex_file_verifier.h196 bool CheckMethodAccessFlags(uint32_t method_index,
205 bool CheckConstructorProperties(uint32_t method_index, uint32_t constructor_flags);
/art/runtime/jit/
Dprofiling_info_test.cc68 uint16_t method_index, in AddMethod() argument
73 method_index, in AddMethod()
79 uint16_t method_index, in AddMethod() argument
83 dex_location, checksum, method_index, kMaxMethodIds, pmi, Hotness::kFlagPostStartup); in AddMethod()
/art/runtime/
Dcha.cc371 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()
Doat_file.h224 const OatMethod GetOatMethod(uint32_t method_index) const;
229 const OatMethodOffsets* GetOatMethodOffsets(uint32_t method_index) const;
234 uint32_t GetOatMethodOffsetsOffset(uint32_t method_index) const;
Doat_file.cc2114 uint32_t OatFile::OatClass::GetOatMethodOffsetsOffset(uint32_t method_index) const { in GetOatMethodOffsetsOffset()
2115 const OatMethodOffsets* oat_method_offsets = GetOatMethodOffsets(method_index); in GetOatMethodOffsetsOffset()
2122 const OatMethodOffsets* OatFile::OatClass::GetOatMethodOffsets(uint32_t method_index) const { in GetOatMethodOffsets()
2131 methods_pointer_index = method_index; in GetOatMethodOffsets()
2134 if (!BitVector::IsBitSet(bitmap_, method_index)) { in GetOatMethodOffsets()
2137 size_t num_set_bits = BitVector::NumSetBits(bitmap_, method_index); in GetOatMethodOffsets()
2144 const OatFile::OatMethod OatFile::OatClass::GetOatMethod(uint32_t method_index) const { in GetOatMethod()
2145 const OatMethodOffsets* oat_method_offsets = GetOatMethodOffsets(method_index); in GetOatMethod()
Dart_method.cc203 uint16_t method_index = GetMethodIndex(); in FindOverriddenMethod() local
207 if (super_class->HasVTable() && method_index < super_class->GetVTableLength()) { in FindOverriddenMethod()
208 result = super_class->GetVTableEntry(method_index, pointer_size); in FindOverriddenMethod()
/art/profman/
Dprofman.cc892 uint16_t method_index, in HasSingleInvoke() argument
897 method_index); in HasSingleInvoke()
906 << dex_file->PrettyMethod(method_index); in HasSingleInvoke()
914 LOG(ERROR) << "Could not find any INVOKE_VIRTUAL: " << dex_file->PrettyMethod(method_index); in HasSingleInvoke()
1031 const uint32_t method_index = FindMethodIndex(class_ref, method_spec); in ProcessLine() local
1032 if (method_index == dex::kDexNoIndex) { in ProcessLine()
1039 if (!HasSingleInvoke(class_ref, method_index, &dex_pc)) { in ProcessLine()
1053 MethodReference ref(class_ref.dex_file, method_index); in ProcessLine()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h67 uint32_t method_index = code_info.GetMethodIndexOf(inline_info); in GetResolvedMethod() local
71 DCHECK_EQ(inlined_method->GetDexMethodIndex(), method_index); in GetResolvedMethod()
82 uint32_t method_index = code_info.GetMethodIndexOf(inline_info); in GetResolvedMethod() local
83 ArtMethod* inlined_method = class_linker->LookupResolvedMethod(method_index, in GetResolvedMethod()
88 << method->GetDexFile()->PrettyMethod(method_index) << " . " in GetResolvedMethod()
/art/libprofile/profile/
Dprofile_compilation_info.h552 int32_t GetMethodAggregationCounter(uint16_t method_index) const;
574 InlineCacheMap* FindOrAddMethod(uint16_t method_index);
616 uint16_t method_index,
/art/compiler/dex/
Dinline_method_analyser.cc149 uint32_t method_index = invoke_direct->VRegB_35c(); in GetTargetConstructor() local
151 method_index, method->GetDexCache(), method->GetClassLoader()); in GetTargetConstructor()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc1276 uint32_t method_index = code_info.GetMethodIndexOf(inline_info); in DumpB74410240DebugData() local
1281 CHECK_EQ(caller->GetDexMethodIndex(), method_index); in DumpB74410240DebugData()
1285 caller = class_linker->LookupResolvedMethod(method_index, dex_cache, class_loader); in DumpB74410240DebugData()
2620 extern "C" ArtMethod* artLookupResolvedMethod(uint32_t method_index, ArtMethod* referrer) in artLookupResolvedMethod() argument
2625 method_index, referrer->GetDexCache(), referrer->GetClassLoader()); in artLookupResolvedMethod()
/art/dexlayout/
Ddex_ir_builder.cc1181 const uint32_t method_index = static_cast<uint32_t>(ReadVarWidth(data, length, false)); in ReadEncodedValue() local
1182 item->SetMethodId(header_->MethodIds()[method_index]); in ReadEncodedValue()