Home
last modified time | relevance | path

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

12

/aosp12/art/libdexfile/dex/
H A Dmethod_reference.h55 int descriptor_diff = strcmp(mr1.dex_file->StringByTypeIdx(mid1.class_idx_), in SlowCompare()
56 mr2.dex_file->StringByTypeIdx(mid2.class_idx_)); in SlowCompare()
68 int return_type_diff = strcmp(mr1.dex_file->StringByTypeIdx(prid1.return_type_idx_), in SlowCompare()
69 mr2.dex_file->StringByTypeIdx(prid2.return_type_idx_)); in SlowCompare()
79 int param_diff = strcmp(mr1.dex_file->StringByTypeIdx(params1->GetTypeItem(i).type_idx_), in SlowCompare()
80 mr2.dex_file->StringByTypeIdx(params2->GetTypeItem(i).type_idx_)); in SlowCompare()
H A Dsignature.cc42 result += dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_); in ToString()
46 result += dex_file_->StringByTypeIdx(proto_id_->return_type_idx_); in ToString()
72 std::string_view param(dex_file_->StringByTypeIdx(params->GetTypeItem(i).type_idx_)); in operator ==()
83 return tail == dex_file_->StringByTypeIdx(proto_id_->return_type_idx_); in operator ==()
H A Ddex_file-inl.h81 inline const char* DexFile::StringByTypeIdx(dex::TypeIndex idx, uint32_t* unicode_length) const { in StringByTypeIdx() function
89 inline const char* DexFile::StringByTypeIdx(dex::TypeIndex idx) const { in StringByTypeIdx() function
156 return StringByTypeIdx(class_def.class_idx_); in GetClassDescriptor()
160 return StringByTypeIdx(proto_id.return_type_idx_); in GetReturnTypeDescriptor()
370 return StringByTypeIdx(dex::TypeIndex( in DecodeDebugLocalInfo()
H A Dart_dex_file_loader_test.cc244 const char* type_str = java_lang_dex_file_->StringByTypeIdx(dex::TypeIndex(i)); in TEST_F()
280 << java_lang_dex_file_->StringByTypeIdx(to_find.class_idx_) << "." in TEST_F()
295 << java_lang_dex_file_->StringByTypeIdx(to_find.type_idx_) << " " in TEST_F()
296 << java_lang_dex_file_->StringByTypeIdx(to_find.class_idx_) << "." in TEST_F()
H A Dclass_accessor_test.cc34 EXPECT_EQ(accessor.GetDescriptor(), dex_file->StringByTypeIdx(class_def.class_idx_)); in TEST_F()
H A Ddex_file.h304 const char* StringByTypeIdx(dex::TypeIndex idx, uint32_t* unicode_length) const;
306 const char* StringByTypeIdx(dex::TypeIndex idx) const;
932 return dex_file_.StringByTypeIdx(dex::TypeIndex(GetTypeIdx())); in GetDescriptor()
H A Dclass_accessor-inl.h154 return dex_file_.StringByTypeIdx(GetClassIdx()); in GetDescriptor()
H A Ddex_file.cc549 AppendPrettyDescriptor(StringByTypeIdx(proto_id->return_type_idx_), result); in AppendPrettyMethod()
563 AppendPrettyDescriptor(StringByTypeIdx(params->GetTypeItem(i).type_idx_), result); in AppendPrettyMethod()
H A Ddex_file_loader_test.cc470 EXPECT_EQ(raw->StringByTypeIdx(idx), nullptr); in TEST_F()
H A Ddex_file_verifier.cc454 const char* descriptor = dex_file_->StringByTypeIdx(idx); in VerifyTypeDescriptor()
461 const char* descriptor = dex_file_->StringByTypeIdx(idx); in VerifyTypeDescriptor()
2546 const char* return_type = dex_file_->StringByTypeIdx(item->return_type_idx_); in CheckInterProtoIdItem()
2831 ErrorStringPrintf("Duplicate interface: '%s'", dex_file_->StringByTypeIdx(idx1)); in CheckInterClassDefItem()
/aosp12/art/tools/veridex/
H A Dhidden_api.cc76 ss << dex_file.StringByTypeIdx(method_id.class_idx_) in GetApiMethodName()
86 ss << dex_file.StringByTypeIdx(field_id.class_idx_) in GetApiFieldName()
H A Dflow_analysis.h91 return reference_.dex_file->StringByTypeIdx(dex::TypeIndex(reference_.index)); in ToString()
H A Dhidden_api_finder.cc56 std::string name(dex_file.StringByTypeIdx(dex::TypeIndex(i))); in CollectAccesses()
H A Dresolver.cc79 std::string name(dex_file_.StringByTypeIdx(index)); in GetVeriClass()
/aosp12/art/compiler/optimizing/
H A Dsharpening.cc57 return compiler_options.IsImageClass(dex_file.StringByTypeIdx(klass->GetDexTypeIndex())); in BootImageAOTCanEmbedMethod()
203 const char* klass_descriptor = dex_file.StringByTypeIdx(type_index); in ComputeLoadClassKind()
208 const char* referrer_descriptor = referrer_dex_file->StringByTypeIdx(referrer_type_index); in ComputeLoadClassKind()
230 compiler_options.IsImageClass(dex_file.StringByTypeIdx(type_index))) { in ComputeLoadClassKind()
301 const char* descriptor = klass->GetDexFile().StringByTypeIdx(klass->GetDexTypeIndex()); in CanUseTypeCheckBitstring()
H A Dinstruction_builder.cc61 dex_file->StringByTypeIdx(dex_file->GetMethodId(referrers_method_idx).class_idx_); in operator ()()
2255 const char* descriptor = dex_file_->StringByTypeIdx(type_index); in BuildFilledNewArray()
2475 outer_dex_file->StringByTypeIdx(outer_class_def.class_idx_, &outer_utf16_length); in LoadClassNeedsAccessCheck()
2478 inner_dex_file->StringByTypeIdx(type_index, &target_utf16_length); in LoadClassNeedsAccessCheck()
/aosp12/art/dexdump/
H A Ddexdump.cc528 fputs(pDexFile->StringByTypeIdx(dex::TypeIndex(str_idx)), gOutFile); in dumpEncodedValue()
557 fputs(pDexFile->StringByTypeIdx(dex::TypeIndex(type_idx)), gOutFile); in dumpEncodedValue()
756 const char* interfaceName = pDexFile->StringByTypeIdx(pTypeItem.type_idx_); in dumpInterface()
852 const char* tp = pDexFile->StringByTypeIdx(dex::TypeIndex(index)); in indexString()
882 const char* typeDescriptor = pDexFile->StringByTypeIdx(pFieldId.type_idx_); in indexString()
1175 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in dumpBytecodes()
1269 const char* backDescriptor = dex_file.StringByTypeIdx(pMethodId.class_idx_); in dumpMethod()
1388 const char* typeDescriptor = dex_file.StringByTypeIdx(field_id.type_idx_); in dumpField()
1389 const char* backDescriptor = dex_file.StringByTypeIdx(field_id.class_idx_); in dumpField()
1478 const char* classDescriptor = pDexFile->StringByTypeIdx(pClassDef.class_idx_); in dumpClass()
[all …]
/aosp12/art/compiler/
H A Dexception_test.cc144 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
147 EXPECT_STREQ("Ljava/lang/Exception;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
154 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
/aosp12/art/dexlist/
H A Ddexlist.cc97 const char* classDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in dumpMethod()
/aosp12/art/libprofile/profile/
H A Dprofile_test_helper.h137 type_ref.dex_file->StringByTypeIdx(type_ref.TypeIndex()); in EqualInlineCaches()
H A Dprofile_compilation_info.h634 return dex_file->StringByTypeIdx(type_index); in GetTypeDescriptor()
/aosp12/art/runtime/verifier/
H A Dmethod_verifier.cc1329 const char* descriptor = dex_file_->StringByTypeIdx(idx); in CheckNewInstance()
1349 const char* descriptor = dex_file_->StringByTypeIdx(idx); in CheckNewArray()
2439 << dex_file_->StringByTypeIdx(type_idx) << " in instanceof in " in CodeFlowVerifyInstruction()
3055 descriptor = dex_file_->StringByTypeIdx(return_type_idx); in CodeFlowVerifyInstruction()
3112 descriptor = dex_file_->StringByTypeIdx(return_type_idx); in CodeFlowVerifyInstruction()
3682 const char* descriptor = dex_file_->StringByTypeIdx(class_idx); in ResolveClass()
3688 const char* descriptor = dex_file_->StringByTypeIdx(class_idx); in ResolveClass()
3692 const char* descriptor = dex_file_->StringByTypeIdx(class_idx); in ResolveClass()
3697 const char* descriptor = dex_file_->StringByTypeIdx(class_idx); in ResolveClass()
4019 dex_file_->StringByTypeIdx(class_idx), in VerifyInvocationArgsFromIterator()
[all …]
/aosp12/art/tools/hiddenapi/
H A Dhiddenapi.cc132 return HasSuperclass() ? dex_file_.StringByTypeIdx(GetSuperclassIndex()) : ""; in GetSuperclassDescriptor()
139 list.insert(dex_file_.StringByTypeIdx(ifaces->GetTypeItem(i).type_idx_)); in GetInterfaceDescriptors()
/aosp12/art/runtime/dex/
H A Ddex_file_annotations.cc197 if (strcmp(descriptor, dex_file.StringByTypeIdx(dex::TypeIndex(type_index))) == 0) { in SearchAnnotationSet()
500 const char* msg = dex_file.StringByTypeIdx(type_index); in ProcessAnnotationValue()
1262 const char* descriptor = dex_file.StringByTypeIdx(dex::TypeIndex(type_index)); in IsMethodBuildAnnotationPresent()
/aosp12/art/compiler/debug/
H A Delf_debug_info_writer.h227 const char* type_desc = dex->StringByTypeIdx(dex_params->GetTypeItem(i).type_idx_); in Write()

12