Home
last modified time | relevance | path

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

12

/art/libdexfile/dex/
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()
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 ==()
Dart_dex_file_loader_test.cc235 const char* type_str = java_lang_dex_file_->StringByTypeIdx(dex::TypeIndex(i)); in TEST_F()
271 << java_lang_dex_file_->StringByTypeIdx(to_find.class_idx_) << "." in TEST_F()
286 << java_lang_dex_file_->StringByTypeIdx(to_find.type_idx_) << " " in TEST_F()
287 << java_lang_dex_file_->StringByTypeIdx(to_find.class_idx_) << "." in TEST_F()
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
152 return StringByTypeIdx(class_def.class_idx_); in GetClassDescriptor()
156 return StringByTypeIdx(proto_id.return_type_idx_); in GetReturnTypeDescriptor()
366 return StringByTypeIdx(dex::TypeIndex( in DecodeDebugLocalInfo()
Dclass_accessor_test.cc34 EXPECT_EQ(accessor.GetDescriptor(), dex_file->StringByTypeIdx(class_def.class_idx_)); in TEST_F()
Ddex_file.h300 const char* StringByTypeIdx(dex::TypeIndex idx, uint32_t* unicode_length) const;
302 const char* StringByTypeIdx(dex::TypeIndex idx) const;
910 return dex_file_.StringByTypeIdx(dex::TypeIndex(GetTypeIdx())); in GetDescriptor()
Dclass_accessor-inl.h154 return dex_file_.StringByTypeIdx(GetClassIdx()); in GetDescriptor()
Ddex_file.cc530 AppendPrettyDescriptor(StringByTypeIdx(proto_id->return_type_idx_), &result); in PrettyMethod()
544 AppendPrettyDescriptor(StringByTypeIdx(params->GetTypeItem(i).type_idx_), &result); in PrettyMethod()
Ddex_file_loader_test.cc470 EXPECT_EQ(raw->StringByTypeIdx(idx), nullptr); in TEST_F()
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()
2832 ErrorStringPrintf("Duplicate interface: '%s'", dex_file_->StringByTypeIdx(idx1)); in CheckInterClassDefItem()
/art/tools/veridex/
Dhidden_api.cc76 ss << dex_file.StringByTypeIdx(method_id.class_idx_) in GetApiMethodName()
86 ss << dex_file.StringByTypeIdx(field_id.class_idx_) in GetApiFieldName()
Dflow_analysis.h91 return reference_.dex_file->StringByTypeIdx(dex::TypeIndex(reference_.index)); in ToString()
Dhidden_api_finder.cc56 std::string name(dex_file.StringByTypeIdx(dex::TypeIndex(i))); in CollectAccesses()
Dresolver.cc79 std::string name(dex_file_.StringByTypeIdx(index)); in GetVeriClass()
/art/compiler/
Dexception_test.cc143 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
146 EXPECT_STREQ("Ljava/lang/Exception;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
153 EXPECT_STREQ("Ljava/io/IOException;", dex_->StringByTypeIdx(iter.GetHandlerTypeIndex())); in TEST_F()
/art/dexdump/
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()
786 const char* descriptor = (!tidx.IsValid()) ? "<any>" : pDexFile->StringByTypeIdx(tidx); in dumpCatches()
852 const char* tp = pDexFile->StringByTypeIdx(dex::TypeIndex(index)); in indexString()
871 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in indexString()
882 const char* typeDescriptor = pDexFile->StringByTypeIdx(pFieldId.type_idx_); in indexString()
883 const char* backDescriptor = pDexFile->StringByTypeIdx(pFieldId.class_idx_); in indexString()
904 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in indexString()
1175 const char* backDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in dumpBytecodes()
[all …]
/art/compiler/optimizing/
Dsharpening.cc57 return compiler_options.IsImageClass(dex_file.StringByTypeIdx(klass->GetDexTypeIndex())); in BootImageAOTCanEmbedMethod()
184 compiler_options.IsImageClass(dex_file.StringByTypeIdx(type_index))) { in ComputeLoadClassKind()
253 const char* descriptor = klass->GetDexFile().StringByTypeIdx(klass->GetDexTypeIndex()); in CanUseTypeCheckBitstring()
/art/dexlist/
Ddexlist.cc97 const char* classDescriptor = pDexFile->StringByTypeIdx(pMethodId.class_idx_); in dumpMethod()
/art/dex2oat/
Dverifier_deps_test.cc305 std::string actual_klass = dex_dep.first->StringByTypeIdx(entry.GetDexTypeIndex()); in HasClass()
341 std::string actual_klass = dex_dep.first->StringByTypeIdx(field_id.class_idx_); in HasField()
351 std::string actual_type = dex_dep.first->StringByTypeIdx(field_id.type_idx_); in HasField()
393 std::string actual_klass = dex_dep.first->StringByTypeIdx(method_id.class_idx_); in HasMethod()
/art/runtime/verifier/
Dmethod_verifier.cc1323 const char* descriptor = dex_file_->StringByTypeIdx(idx); in CheckNewInstance()
1343 const char* descriptor = dex_file_->StringByTypeIdx(idx); in CheckNewArray()
2447 << dex_file_->StringByTypeIdx(type_idx) << " in instanceof in " in CodeFlowVerifyInstruction()
2976 const char* descriptor = dex_file_->StringByTypeIdx(return_type_idx); in CodeFlowVerifyInstruction()
3000 return_type_descriptor = dex_file_->StringByTypeIdx(return_type_idx); in CodeFlowVerifyInstruction()
3079 descriptor = dex_file_->StringByTypeIdx(return_type_idx); in CodeFlowVerifyInstruction()
3136 descriptor = dex_file_->StringByTypeIdx(return_type_idx); in CodeFlowVerifyInstruction()
3738 const char* descriptor = dex_file_->StringByTypeIdx(class_idx); in ResolveClass()
3744 const char* descriptor = dex_file_->StringByTypeIdx(class_idx); in ResolveClass()
3748 const char* descriptor = dex_file_->StringByTypeIdx(class_idx); in ResolveClass()
[all …]
Dverifier_deps.cc930 << dex_file.StringByTypeIdx(entry.GetDexTypeIndex()) in Dump()
1057 std::string descriptor = dex_file.StringByTypeIdx(entry.GetDexTypeIndex()); in VerifyClasses()
1104 : dex_file.StringByTypeIdx(field_id.class_idx_); in VerifyFields()
1167 : dex_file.StringByTypeIdx(method_id.class_idx_); in VerifyMethods()
/art/tools/hiddenapi/
Dhiddenapi.cc119 return HasSuperclass() ? dex_file_.StringByTypeIdx(GetSuperclassIndex()) : ""; in GetSuperclassDescriptor()
126 list.insert(dex_file_.StringByTypeIdx(ifaces->GetTypeItem(i).type_idx_)); in GetInterfaceDescriptors()
/art/runtime/dex/
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()
/art/compiler/debug/
Delf_debug_info_writer.h227 const char* type_desc = dex->StringByTypeIdx(dex_params->GetTypeItem(i).type_idx_); in Write()
/art/runtime/
Dart_method.cc253 const char* mid_declaring_class_descriptor = dexfile->StringByTypeIdx(mid.class_idx_); in FindDexMethodIndexInOtherDexFile()

12