/art/dexlayout/ |
D | dex_ir.h | 62 class StringId; variable 86 virtual void Dispatch(const StringId* string_id) = 0; 438 IndexedCollectionVector<StringId>& StringIds() { return string_ids_; } in StringIds() 439 const IndexedCollectionVector<StringId>& StringIds() const { return string_ids_; } in StringIds() 495 StringId* GetStringIdOrNullPtr(uint32_t index) { in GetStringIdOrNullPtr() 550 IndexedCollectionVector<StringId> string_ids_; 598 class StringId : public IndexedItem { 600 explicit StringId(StringData* string_data) : string_data_(string_data) { in StringId() function 603 ~StringId() override { } in ~StringId() 615 DISALLOW_COPY_AND_ASSIGN(StringId); [all …]
|
D | dex_verify.h | 37 bool VerifyId(dex_ir::StringId* orig, dex_ir::StringId* output, std::string* error_msg);
|
D | dex_visualize.cc | 117 void DumpStringId(const dex_ir::StringId* string_id, int class_index) { in DumpStringId() 196 for (dex_ir::StringId* string_id : fixups->StringIds()) { in DumpMethodItem()
|
D | dex_ir_builder.cc | 184 std::vector<StringId*>* string_ids, 190 std::vector<StringId*>* string_ids, 424 const dex::StringId& disk_string_id = dex_file.GetStringId(dex::StringIndex(i)); in CreateStringId() 431 header_->StringIds().GetOffset() + i * StringId::ItemSize(), in CreateStringId() 486 const StringId* source_file = in CreateClassDef() 925 std::vector<StringId*> string_ids; in DedupeOrCreateCodeItem() 1009 std::vector<StringId*>* string_ids, in GetIdsFromByteCode() 1029 std::vector<StringId*>* string_ids, in GetIdFromInstruction()
|
D | dexlayout.cc | 530 dex_ir::StringId* string_id = data->GetStringId(); in DumpEncodedValue() 1052 dex_ir::StringId* string_id = header->GetStringIdOrNullPtr(idx); in StringDataByIdx() 1064 dex_ir::StringId* string_id = type_id->GetStringId(); in StringDataByTypeIdx() 1529 const dex_ir::StringId* source_file = class_def->SourceFile(); in DumpClass() 1662 for (dex_ir::StringId* id : fixups->StringIds()) { in LayoutStringData() 1684 std::vector<dex_ir::StringId*> string_ids; in LayoutStringData() 1690 [&is_shorty, &from_hot_method](const dex_ir::StringId* a, in LayoutStringData() 1691 const dex_ir::StringId* b) { in LayoutStringData() 1709 for (dex_ir::StringId* string_id : string_ids) { in LayoutStringData()
|
D | dex_verify.cc | 75 bool VerifyId(dex_ir::StringId* orig, dex_ir::StringId* output, std::string* error_msg) { in VerifyId()
|
/art/libdexfile/dex/ |
D | dex_file.h | 240 const dex::StringId& GetStringId(dex::StringIndex idx) const { in GetStringId() 245 dex::StringIndex GetIndexForStringId(const dex::StringId& string_id) const { in GetIndexForStringId() 251 int32_t GetStringLength(const dex::StringId& string_id) const; 256 const char* GetStringDataAndUtf16Length(const dex::StringId& string_id, 259 const char* GetStringData(const dex::StringId& string_id) const; 268 const dex::StringId* FindStringId(const char* string) const; 327 const dex::StringId& name, 367 const dex::StringId& name, 834 const dex::StringId* const string_ids_;
|
D | art_dex_file_loader_test.cc | 227 const dex::StringId* str_id = raw->FindStringId(str); in TEST_F() 236 const dex::StringId* type_str_id = java_lang_dex_file_->FindStringId(type_str); in TEST_F() 267 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()
|
D | dex_file.cc | 53 using dex::StringId; 112 string_ids_(reinterpret_cast<const StringId*>(base + header_->string_ids_off_)), in DexFile() 240 const StringId& name, in FindFieldId() 275 const StringId& name, in FindMethodId() 309 const StringId* DexFile::FindStringId(const char* string) const { in FindStringId() 314 const StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId() 334 const StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId()
|
D | dex_file_structs.h | 52 struct StringId { struct 56 DISALLOW_COPY_AND_ASSIGN(StringId); argument
|
D | dex_file-inl.h | 41 inline int32_t DexFile::GetStringLength(const dex::StringId& string_id) const { in GetStringLength() 46 inline const char* DexFile::GetStringDataAndUtf16Length(const dex::StringId& string_id, in GetStringDataAndUtf16Length() 54 inline const char* DexFile::GetStringData(const dex::StringId& string_id) const { in GetStringData() 65 const dex::StringId& string_id = GetStringId(idx); in StringDataAndUtf16LengthByIdx()
|
D | type_lookup_table.cc | 52 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()
|
D | dex_file_verifier.cc | 1765 if (!CheckListSize(ptr_, 1, sizeof(dex::StringId), "string_ids")) { in CheckIntraSectionIterate() 1768 ptr_ += sizeof(dex::StringId); in CheckIntraSectionIterate() 2173 const dex::StringId* item = reinterpret_cast<const dex::StringId*>(ptr_); in CheckInterStringIdItem() 2182 const dex::StringId* prev_item = reinterpret_cast<const dex::StringId*>(previous_item_); in CheckInterStringIdItem() 2191 ptr_ += sizeof(dex::StringId); in CheckInterStringIdItem() 3062 const dex::StringId* string_id = in GetStringOrError() 3063 reinterpret_cast<const dex::StringId*>(begin + header->string_ids_off_) + string_idx.index_; in GetStringOrError() 3207 const dex::StringId* first = reinterpret_cast<const dex::StringId*>( in FindStringRangesForMethodNames() 3209 const dex::StringId* last = first + header_->string_ids_size_; in FindStringRangesForMethodNames() 3211 auto get_string = [begin = begin_](const dex::StringId& id) { in FindStringRangesForMethodNames() [all …]
|
D | dex_file_tracking_registrar.cc | 221 const dex::StringId & string_id = dex_file_->GetStringId(StringIndex(stringid_ctr)); in SetAllStringDataStartRegistration()
|
D | test_dex_file_builder.h | 115 uint32_t type_ids_offset = string_ids_offset + strings_.size() * sizeof(dex::StringId); in Build() 175 Write32(string_ids_offset + entry.second.idx * sizeof(dex::StringId), raw_offset); in Build()
|
D | dex_file_verifier_test.cc | 247 const dex::StringId& string_id = dex_file->GetStringId(name_index); in FindMethodData() 840 const dex::StringId& string_id = dex_file->GetStringId(name_index); in FindFieldData()
|
/art/openjdkjvmti/ |
D | ti_redefine.cc | 1462 const art::dex::StringId* new_name_id = dex_file_->FindStringId(method.GetName()); in UpdateMethods() 1497 const art::dex::StringId* new_name_id = dex_file_->FindStringId(field.GetName()); in UpdateFields()
|
/art/runtime/ |
D | transaction_test.cc | 500 const dex::StringId* string_id = dex_file->FindStringId(kResolvedString); in TEST_F()
|
/art/profman/ |
D | profman.cc | 859 const dex::StringId* name_id = dex_file->FindStringId(name.c_str()); in FindMethodIndex()
|
/art/runtime/mirror/ |
D | object_test.cc | 372 const dex::StringId* name_str_id = dex_file->FindStringId("s0"); in TEST_F()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 220 const dex::StringId* string_id = dex_file.FindStringId(str.c_str()); in GetIdFromString()
|