Searched refs:GetStringId (Results 1 – 19 of 19) sorted by relevance
/art/libdexfile/dex/ |
D | string_reference_test.cc | 38 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()
|
D | string_reference.h | 42 return dex_file->GetStringData(dex_file->GetStringId(StringIndex())); in GetStringData()
|
D | test_dex_file_builder_test.cc | 52 dex_file->GetStringData(dex_file->GetStringId(dex::StringIndex(i)))) << i; in TEST()
|
D | dex_file.cc | 318 const DexFile::StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId() 338 const DexFile::StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId() 357 const DexFile::StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId()
|
D | dex_file_tracking_registrar.cc | 247 const DexFile::StringId & string_id = dex_file_->GetStringId(StringIndex(stringid_ctr)); in SetAllStringDataStartRegistration()
|
D | dex_file-inl.h | 54 const StringId& string_id = GetStringId(idx); in StringDataAndUtf16LengthByIdx()
|
D | dex_file_verifier_test.cc | 246 const DexFile::StringId& string_id = dex_file->GetStringId(name_index); in FindMethodData() 851 const DexFile::StringId& string_id = dex_file->GetStringId(name_index); in FindFieldData()
|
D | dex_file.h | 477 const StringId& GetStringId(dex::StringIndex idx) const { in GetStringId() function
|
D | dex_file_verifier.cc | 1029 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_)); in CheckStaticFieldTypes()
|
/art/dexlayout/ |
D | dexlayout.cc | 257 result += type_id->GetStringId()->Data(); in GetSignatureForProtoId() 261 result += proto->ReturnType()->GetStringId()->Data(); in GetSignatureForProtoId() 421 const char* tp = header->GetCollections().GetTypeId(index)->GetStringId()->Data(); in IndexString() 429 const char* st = header->GetCollections().GetStringId(index)->Data(); in IndexString() 440 const char* back_descriptor = method_id->Class()->GetStringId()->Data(); in IndexString() 451 const char* type_descriptor = field_id->Type()->GetStringId()->Data(); in IndexString() 452 const char* back_descriptor = field_id->Class()->GetStringId()->Data(); in IndexString() 473 const char* back_descriptor = method_id->Class()->GetStringId()->Data(); in IndexString() 506 fputs(annotation->GetType()->GetStringId()->Data(), out_file_); in DumpEncodedAnnotation() 544 dex_ir::StringId* string_id = data->GetStringId(); in DumpEncodedValue() [all …]
|
D | dex_verify.cc | 82 if (orig->GetStringId()->GetIndex() != output->GetStringId()->GetIndex()) { in VerifyId() 86 orig->GetStringId()->GetIndex(), in VerifyId() 87 output->GetStringId()->GetIndex()); in VerifyId() 632 if (orig->GetStringId()->GetIndex() != output->GetStringId()->GetIndex()) { in VerifyEncodedValue() 636 orig->GetStringId()->Data(), in VerifyEncodedValue() 637 output->GetStringId()->Data()); in VerifyEncodedValue()
|
D | dex_ir.cc | 136 string_ids->push_back(collections.GetStringId(index)); in GetIdFromInstruction() 262 item->SetStringId(GetStringId(string_index)); in ReadEncodedValue() 304 new AnnotationElement(GetStringId(name_index), ReadEncodedValue(dex_file, data)))); in ReadEncodedValue() 320 const DexFile::StringId& disk_string_id = dex_file.GetStringId(dex::StringIndex(i)); in CreateStringId() 330 TypeId* type_id = new TypeId(GetStringId(disk_type_id.descriptor_idx_.index_)); in CreateTypeId() 339 ProtoId* proto_id = new ProtoId(GetStringId(disk_proto_id.shorty_idx_.index_), in CreateProtoId() 349 GetStringId(disk_field_id.name_idx_.index_)); in CreateFieldId() 357 GetStringId(disk_method_id.name_idx_.index_)); in CreateMethodId()
|
D | dex_visualize.cc | 127 DumpStringId(type_id->GetStringId(), class_index); in DumpTypeId()
|
D | dex_ir.h | 268 StringId* GetStringId(uint32_t index) { in GetStringId() function 302 return index == dex::kDexNoIndex ? nullptr : GetStringId(index); in GetStringIdOrNullPtr() 647 StringId* GetStringId() const { return string_id_; } in GetStringId() function 815 StringId* GetStringId() const { return u_.string_val_; } in GetStringId() function
|
D | dex_writer.cc | 153 length = EncodeUIntValue(encoded_value->GetStringId()->GetIndex(), buffer); in WriteEncodedValue() 273 descriptor_idx[0] = type_id->GetStringId()->GetIndex(); in WriteTypeIds()
|
/art/runtime/ |
D | type_lookup_table.cc | 83 const DexFile::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in TypeLookupTable() 97 const DexFile::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in TypeLookupTable()
|
D | art_method.cc | 263 *other_type_id, other_dexfile.GetStringId(name_and_sig_mid.name_idx_), in FindDexMethodIndexInOtherDexFile()
|
/art/runtime/dex/ |
D | art_dex_file_loader_test.cc | 267 const DexFile::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F() 282 const DexFile::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
|
D | dex_file_annotations.cc | 255 dex_file.GetStringData(dex_file.GetStringId(dex::StringIndex(element_name_index))); in SearchEncodedAnnotation()
|