Home
last modified time | relevance | path

Searched refs:GetStringId (Results 1 – 19 of 19) sorted by relevance

/art/libdexfile/dex/
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()
Dstring_reference.h42 return dex_file->GetStringData(dex_file->GetStringId(StringIndex())); in GetStringData()
Dtest_dex_file_builder_test.cc52 dex_file->GetStringData(dex_file->GetStringId(dex::StringIndex(i)))) << i; in TEST()
Ddex_file.cc318 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()
Ddex_file_tracking_registrar.cc247 const DexFile::StringId & string_id = dex_file_->GetStringId(StringIndex(stringid_ctr)); in SetAllStringDataStartRegistration()
Ddex_file-inl.h54 const StringId& string_id = GetStringId(idx); in StringDataAndUtf16LengthByIdx()
Ddex_file_verifier_test.cc246 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()
Ddex_file.h477 const StringId& GetStringId(dex::StringIndex idx) const { in GetStringId() function
Ddex_file_verifier.cc1029 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_)); in CheckStaticFieldTypes()
/art/dexlayout/
Ddexlayout.cc257 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 …]
Ddex_verify.cc82 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()
Ddex_ir.cc136 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()
Ddex_visualize.cc127 DumpStringId(type_id->GetStringId(), class_index); in DumpTypeId()
Ddex_ir.h268 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
Ddex_writer.cc153 length = EncodeUIntValue(encoded_value->GetStringId()->GetIndex(), buffer); in WriteEncodedValue()
273 descriptor_idx[0] = type_id->GetStringId()->GetIndex(); in WriteTypeIds()
/art/runtime/
Dtype_lookup_table.cc83 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()
Dart_method.cc263 *other_type_id, other_dexfile.GetStringId(name_and_sig_mid.name_idx_), in FindDexMethodIndexInOtherDexFile()
/art/runtime/dex/
Dart_dex_file_loader_test.cc267 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()
Ddex_file_annotations.cc255 dex_file.GetStringData(dex_file.GetStringId(dex::StringIndex(element_name_index))); in SearchEncodedAnnotation()