Home
last modified time | relevance | path

Searched refs:GetStringId (Results 1 – 21 of 21) 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.cc329 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
344 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.cc363 const StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId()
383 const StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId()
Ddex_file-inl.h69 const dex::StringId& string_id = GetStringId(idx); in StringDataAndUtf16LengthByIdx()
Ddex_file_verifier_test.cc242 const dex::StringId& string_id = dex_file->GetStringId(name_index); in FindMethodData()
835 const dex::StringId& string_id = dex_file->GetStringId(name_index); in FindFieldData()
Ddex_file.h281 const dex::StringId& GetStringId(dex::StringIndex idx) const { in GetStringId() function
Ddex_file_verifier.cc1138 dex_file_->GetStringData(dex_file_->GetStringId(type_id.descriptor_idx_)); in CheckStaticFieldTypes()
/art/dexlayout/
Ddexlayout.cc246 result += type_id->GetStringId()->Data(); in GetSignatureForProtoId()
250 result += proto->ReturnType()->GetStringId()->Data(); in GetSignatureForProtoId()
469 const char* tp = header->TypeIds()[index]->GetStringId()->Data(); in IndexString()
494 const char* back_descriptor = method_id->Class()->GetStringId()->Data(); in IndexString()
505 const char* type_descriptor = field_id->Type()->GetStringId()->Data(); in IndexString()
506 const char* back_descriptor = field_id->Class()->GetStringId()->Data(); in IndexString()
527 const char* back_descriptor = method_id->Class()->GetStringId()->Data(); in IndexString()
563 fputs(annotation->GetType()->GetStringId()->Data(), out_file_); in DumpEncodedAnnotation()
601 dex_ir::StringId* string_id = data->GetStringId(); in DumpEncodedValue()
611 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.cc151 length = EncodeUIntValue(encoded_value->GetStringId()->GetIndex(), buffer); in WriteEncodedValue()
271 descriptor_idx[0] = type_id->GetStringId()->GetIndex(); in WriteTypeIds()
Ddex_ir.h633 StringId* GetStringId() const { return string_id_; } in GetStringId() function
805 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/compiler/optimizing/
Dconstant_folding.cc290 const dex::StringId& string_id = dex_file.GetStringId(load_string->GetStringIndex()); in VisitArrayLength()
/art/runtime/
Dart_method.cc310 *other_type_id, other_dexfile.GetStringId(name_and_sig_mid.name_idx_), in FindDexMethodIndexInOtherDexFile()
/art/runtime/dex/
Ddex_file_annotations.cc279 dex_file.GetStringData(dex_file.GetStringId(dex::StringIndex(element_name_index))); in SearchEncodedAnnotation()
1993 dex_file.GetStringData(dex_file.GetStringId(dex::StringIndex(element_name_index))); in VisitClassAnnotations()
/art/profman/
Dprofile_assistant_test.cc1590 dex_file->GetStringId(super_method_id.name_idx_), in TEST_F()