/art/dex2oat/linker/ |
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()
|
D | oat_writer_test.cc | 447 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/ |
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()
|
/art/tools/veridex/ |
D | hidden_api.cc | 78 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()
|
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()
|
D | resolver.h | 54 VeriMethod GetMethod(uint32_t method_index);
|
D | hidden_api.h | 47 static std::string GetApiMethodName(const DexFile& dex_file, uint32_t method_index);
|
D | flow_analysis.h | 151 RegisterValue GetReturnType(uint32_t method_index);
|
D | flow_analysis.cc | 132 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/ |
D | inliner.cc | 477 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/libdexfile/dex/ |
D | dex_file_verifier.cc | 3254 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 …]
|
D | dex_file_verifier.h | 196 bool CheckMethodAccessFlags(uint32_t method_index, 205 bool CheckConstructorProperties(uint32_t method_index, uint32_t constructor_flags);
|
D | dex_file_verifier_test.cc | 245 uint32_t method_index = method.GetIndex(); in FindMethodData() local 246 dex::StringIndex name_index = dex_file->GetMethodId(method_index).name_idx_; in FindMethodData() 251 *method_idx = method_index; in FindMethodData()
|
/art/runtime/dex/ |
D | dex_file_annotations.h | 88 uint32_t method_index); 98 uint32_t method_index); 107 uint32_t method_index);
|
D | dex_file_annotations.cc | 287 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/runtime/jit/ |
D | profiling_info_test.cc | 68 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/ |
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()
|
D | oat_file.h | 224 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;
|
D | oat_file.cc | 2114 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()
|
D | art_method.cc | 203 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/ |
D | profman.cc | 892 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/ |
D | entrypoint_utils-inl.h | 67 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/ |
D | profile_compilation_info.cc | 707 uint16_t method_index, in AddMethod() argument 720 InlineCacheMap* inline_cache = data->FindOrAddMethod(method_index); in AddMethod() 728 data->SetMethodHotness(method_index, flags); in AddMethod() 888 uint16_t method_index = last_method_index + diff_with_last_method_index; in ReadMethods() local 889 last_method_index = method_index; in ReadMethods() 890 InlineCacheMap* inline_cache = data->FindOrAddMethod(method_index); in ReadMethods() 2042 for (uint32_t method_index : create_shuffled_range(methods_required_in_profile, in GenerateTestProfile() local 2046 flags |= ((method_index & 1) != 0) in GenerateTestProfile() 2050 MethodReference(dex_file.get(), method_index)); in GenerateTestProfile() 2103 ProfileCompilationInfo::DexFileData::FindOrAddMethod(uint16_t method_index) { in FindOrAddMethod() argument [all …]
|
D | profile_compilation_info.h | 552 int32_t GetMethodAggregationCounter(uint16_t method_index) const; 574 InlineCacheMap* FindOrAddMethod(uint16_t method_index); 616 uint16_t method_index,
|
/art/compiler/dex/ |
D | inline_method_analyser.cc | 149 uint32_t method_index = invoke_direct->VRegB_35c(); in GetTargetConstructor() local 151 method_index, method->GetDexCache(), method->GetClassLoader()); in GetTargetConstructor()
|