Home
last modified time | relevance | path

Searched refs:GetStringData (Results 1 – 24 of 24) sorted by relevance

/art/libdexfile/dex/
Dstring_reference.h41 const char* GetStringData() const { in GetStringData() function
42 return dex_file->GetStringData(dex_file->GetStringId(StringIndex())); in GetStringData()
58 CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(sr1.GetStringData(), in operator()
59 sr2.GetStringData()) < 0); in operator()
63 return CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues(sr1.GetStringData(), in operator()
64 sr2.GetStringData()) < 0; in operator()
Dstring_reference_test.cc38 ASSERT_STREQ("String1", dex_file1->GetStringData(dex_file1->GetStringId(dex::StringIndex(0)))); in TEST()
45 ASSERT_STREQ("String2", dex_file2->GetStringData(dex_file2->GetStringId(dex::StringIndex(0)))); in TEST()
85 dex_file1->GetStringData(dex_file1->GetStringId(dex::StringIndex(index)))); in TEST()
96 dex_file2->GetStringData(dex_file2->GetStringId(dex::StringIndex(index)))); in TEST()
Ddex_file-inl.h80 inline const char* DexFile::GetStringData(const dex::StringId& string_id) const { in GetStringData() function
86 inline const char* DexFile::GetStringData(dex::StringIndex string_idx) const { in GetStringData() function
87 return GetStringData(GetStringId(string_idx)); in GetStringData()
103 return GetStringData(type_id.descriptor_idx_); in GetTypeDescriptor()
152 return GetStringData(field_id.name_idx_); in GetFieldName()
194 return GetStringData(method_id.name_idx_); in GetMethodName()
203 return GetStringData(GetMethodId(method_idx).name_idx_); in GetMethodName()
229 return GetStringData(GetProtoId(method_id.proto_idx_).shorty_idx_); in GetMethodShorty()
252 return GetStringData(proto_id.shorty_idx_); in GetShorty()
475 return string_idx.IsValid() ? GetStringData(string_idx) : nullptr; in DecodeDebugLocalInfo()
Dtype_lookup_table.cc116 const std::string_view first_checked_str = GetStringData(*entry); in Lookup()
134 if (compared_hash_bits == entry->GetHashBits(mask_bits_) && str == GetStringData(*entry)) { in Lookup()
149 os << i << ": " << GetStringData(entry); in Dump()
176 std::string_view TypeLookupTable::GetStringData(const Entry& entry) const { in GetStringData() function in art::TypeLookupTable
Dart_dex_file_loader_test.cc178 const char* name = raw->GetStringData(method_id.name_idx_); in TEST_F()
253 const char* name = raw->GetStringData(method_id.name_idx_); in TEST_F()
277 const char* dex_str = raw->GetStringData(*str_id); in TEST_F()
321 << java_lang_dex_file_->GetStringData(name) in TEST_F()
337 << java_lang_dex_file_->GetStringData(name); in TEST_F()
Dtest_dex_file_builder_test.cc52 dex_file->GetStringData(dex_file->GetStringId(dex::StringIndex(i)))) << i; in TEST()
Dtype_lookup_table.h172 std::string_view GetStringData(const Entry& entry) const;
Ddex_file_tracking_registrar.cc224 …const void* string_data_data_begin = reinterpret_cast<const void*>(dex_file_->GetStringData(string… in SetAllStringDataStartRegistration()
Ddex_instruction.cc210 PrintableString(file->GetStringData(dex::StringIndex(string_idx))).c_str(), in DumpString()
336 PrintableString(file->GetStringData(dex::StringIndex(string_idx))).c_str(), in DumpString()
Dcode_item_accessors-inl.h242 return dex_file_->GetStringData(dex::StringIndex(idx)); in DecodeDebugPositionInfo()
Ddex_file.h353 const char* GetStringData(const dex::StringId& string_id) const;
354 const char* GetStringData(dex::StringIndex string_idx) const;
801 return GetStringData(class_def.source_file_idx_); in GetSourceFile()
Ddex_file_verifier.cc1277 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_)); in CheckStaticFieldTypes()
2655 const char* prev_str = dex_file_->GetStringData(*prev_item); in CheckInterStringIdItem()
2656 const char* str = dex_file_->GetStringData(*item); in CheckInterStringIdItem()
2701 const char* shorty = dex_file_->GetStringData(item->shorty_idx_); in CheckInterProtoIdItem()
2797 const char* field_name = dex_file_->GetStringData(item->name_idx_); in CheckInterFieldIdItem()
2837 const char* method_name = dex_file_->GetStringData(item->name_idx_); in CheckInterMethodIdItem()
Ddex_file_verifier_test.cc243 const char* str = dex_file->GetStringData(string_id); in FindMethodData()
836 const char* str = dex_file->GetStringData(string_id); in FindFieldData()
Ddex_file.cc453 const char* str = GetStringData(str_id); in FindStringId()
/art/dexdump/
Ddexdump.cc596 fputs(pDexFile->GetStringData(pFieldId.name_idx_), gOutFile); in dumpEncodedValue()
602 fputs(pDexFile->GetStringData(pMethodId.name_idx_), gOutFile); in dumpEncodedValue()
624 fputs(pDexFile->GetStringData(dex::StringIndex(name_idx)), gOutFile); in dumpEncodedValue()
775 const char* field_name = pDexFile->GetStringData(pFieldId.name_idx_); in dumpClassAnnotations()
786 const char* method_name = pDexFile->GetStringData(pMethodId.name_idx_); in dumpClassAnnotations()
797 const char* method_name = pDexFile->GetStringData(pMethodId.name_idx_); in dumpClassAnnotations()
921 const char* st = pDexFile->GetStringData(dex::StringIndex(index)); in indexString()
936 const char* name = pDexFile->GetStringData(pMethodId.name_idx_); in indexString()
948 const char* name = pDexFile->GetStringData(pFieldId.name_idx_); in indexString()
969 const char* name = pDexFile->GetStringData(pMethodId.name_idx_); in indexString()
[all …]
/art/dexlist/
Ddexlist.cc100 const char* methodName = pDexFile->GetStringData(pMethodId.name_idx_); in dumpMethod()
145 fileName = pDexFile->GetStringData(class_def.source_file_idx_); in dumpClass()
/art/tools/veridex/
Dflow_analysis.h80 const char* str = reference_.dex_file->GetStringData(dex::StringIndex(reference_.index)); in ToString()
/art/tools/dexanalyze/
Ddexanalyze_experiments.cc220 dex_file->GetStringData(dex_file->GetTypeId(dex::TypeIndex(i)).descriptor_idx_)); in ProcessDexFiles()
223 unique_field_names.insert(dex_file->GetStringData(dex_file->GetFieldId(i).name_idx_)); in ProcessDexFiles()
226 unique_method_names.insert(dex_file->GetStringData(dex_file->GetMethodId(i).name_idx_)); in ProcessDexFiles()
/art/runtime/dex/
Ddex_file_annotations.cc278 dex_file.GetStringData(dex_file.GetStringId(dex::StringIndex(element_name_index))); in SearchEncodedAnnotation()
704 const char* name = dex_file.GetStringData(dex::StringIndex(element_name_index)); in CreateAnnotationMember()
1757 return data.GetDexFile().GetStringData(index); in GetSourceDebugExtension()
2013 dex_file.GetStringData(dex_file.GetStringId(dex::StringIndex(element_name_index))); in VisitClassAnnotations()
/art/runtime/
Dvdex_file.cc413 return dex_file.GetStringData(string_id); in GetStringFromId()
Dclass_linker-inl.h421 const char* name = dex_file.GetStringData(method_id.name_idx_); in ResolveMethod()
/art/compiler/debug/
Delf_debug_info_writer.h52 names.push_back(string_idx.IsValid() ? mi->dex_file->GetStringData(string_idx) : nullptr); in GetParamNames()
/art/dex2oat/driver/
Dcompiler_driver.cc2207 const char* descriptor = dex_file.GetStringData(class_type_id.descriptor_idx_); in Visit()
2234 const char* descriptor = dex_file.GetStringData(class_type_id.descriptor_idx_); in TryInitializeClass()
/art/oatdump/
Doatdump.cc1730 [=](uint32_t index) { return dex_file->GetStringData(dex::StringIndex(index)); }); in DumpBssMappings()