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()
Dtype_lookup_table.cc52 const dex::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in Create()
67 const dex::StringId& str_id = dex_file.GetStringId(type_id.descriptor_idx_); in Create()
Dart_dex_file_loader_test.cc267 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
282 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
Ddex_file_tracking_registrar.cc221 const dex::StringId & string_id = dex_file_->GetStringId(StringIndex(stringid_ctr)); in SetAllStringDataStartRegistration()
Ddex_file.cc315 const StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId()
335 const StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId()
Ddex_file-inl.h66 const dex::StringId& string_id = GetStringId(idx); in StringDataAndUtf16LengthByIdx()
Ddex_file_verifier_test.cc249 const dex::StringId& string_id = dex_file->GetStringId(name_index); in FindMethodData()
842 const dex::StringId& string_id = dex_file->GetStringId(name_index); in FindFieldData()
Ddex_file.h243 const dex::StringId& GetStringId(dex::StringIndex idx) const { in GetStringId() function
Ddex_file_verifier.cc1147 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_)); in CheckStaticFieldTypes()
/art/dexlayout/
Ddexlayout.cc244 result += type_id->GetStringId()->Data(); in GetSignatureForProtoId()
248 result += proto->ReturnType()->GetStringId()->Data(); in GetSignatureForProtoId()
408 const char* tp = header->TypeIds()[index]->GetStringId()->Data(); in IndexString()
427 const char* back_descriptor = method_id->Class()->GetStringId()->Data(); in IndexString()
438 const char* type_descriptor = field_id->Type()->GetStringId()->Data(); in IndexString()
439 const char* back_descriptor = field_id->Class()->GetStringId()->Data(); in IndexString()
460 const char* back_descriptor = method_id->Class()->GetStringId()->Data(); in IndexString()
493 fputs(annotation->GetType()->GetStringId()->Data(), out_file_); in DumpEncodedAnnotation()
531 dex_ir::StringId* string_id = data->GetStringId(); in DumpEncodedValue()
541 fputs(type_id->GetStringId()->Data(), out_file_); in DumpEncodedValue()
[all …]
Ddex_verify.cc88 if (orig->GetStringId()->GetIndex() != output->GetStringId()->GetIndex()) { in VerifyId()
92 orig->GetStringId()->GetIndex(), in VerifyId()
93 output->GetStringId()->GetIndex()); in VerifyId()
645 if (orig->GetStringId()->GetIndex() != output->GetStringId()->GetIndex()) { in VerifyEncodedValue()
649 orig->GetStringId()->Data(), in VerifyEncodedValue()
650 output->GetStringId()->Data()); in VerifyEncodedValue()
Ddex_visualize.cc127 DumpStringId(type_id->GetStringId(), class_index); in DumpTypeId()
Ddex_writer.cc153 length = EncodeUIntValue(encoded_value->GetStringId()->GetIndex(), buffer); in WriteEncodedValue()
273 descriptor_idx[0] = type_id->GetStringId()->GetIndex(); in WriteTypeIds()
Ddex_ir.h625 StringId* GetStringId() const { return string_id_; } in GetStringId() function
797 StringId* GetStringId() const { return u_.string_val_; } in GetStringId() function
Ddex_ir_builder.cc425 const dex::StringId& disk_string_id = dex_file.GetStringId(dex::StringIndex(i)); in CreateStringId()
/art/runtime/
Dart_method.cc257 *other_type_id, other_dexfile.GetStringId(name_and_sig_mid.name_idx_), in FindDexMethodIndexInOtherDexFile()
/art/runtime/dex/
Ddex_file_annotations.cc275 dex_file.GetStringData(dex_file.GetStringId(dex::StringIndex(element_name_index))); in SearchEncodedAnnotation()