/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 | 185 std::vector<StringId*>* string_ids, 191 std::vector<StringId*>* string_ids, 425 const dex::StringId& disk_string_id = dex_file.GetStringId(dex::StringIndex(i)); in CreateStringId() 432 header_->StringIds().GetOffset() + i * StringId::ItemSize(), in CreateStringId() 487 const StringId* source_file = in CreateClassDef() 926 std::vector<StringId*> string_ids; in DedupeOrCreateCodeItem() 1010 std::vector<StringId*>* string_ids, in GetIdsFromByteCode() 1030 std::vector<StringId*>* string_ids, in GetIdFromInstruction()
|
D | dexlayout.cc | 596 dex_ir::StringId* string_id = data->GetStringId(); in DumpEncodedValue() 1118 dex_ir::StringId* string_id = header->GetStringIdOrNullPtr(idx); in StringDataByIdx() 1130 dex_ir::StringId* string_id = type_id->GetStringId(); in StringDataByTypeIdx() 1600 const dex_ir::StringId* source_file = class_def->SourceFile(); in DumpClass() 1733 for (dex_ir::StringId* id : fixups->StringIds()) { in LayoutStringData() 1755 std::vector<dex_ir::StringId*> string_ids; in LayoutStringData() 1761 [&is_shorty, &from_hot_method](const dex_ir::StringId* a, in LayoutStringData() 1762 const dex_ir::StringId* b) { in LayoutStringData() 1780 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/runtime/ |
D | sdk_checker.cc | 61 const dex::StringId* name_id = dex_file->FindStringId(art_method->GetName()); in ShouldDenyAccess() 109 const dex::StringId* name_id = dex_file->FindStringId(art_field->GetName()); in ShouldDenyAccess()
|
D | transaction_test.cc | 505 const dex::StringId* string_id = dex_file->FindStringId(kResolvedString); in TEST_F()
|
/art/libdexfile/dex/ |
D | dex_file.h | 244 const dex::StringId& GetStringId(dex::StringIndex idx) const { in GetStringId() 249 dex::StringIndex GetIndexForStringId(const dex::StringId& string_id) const { in GetIndexForStringId() 255 int32_t GetStringLength(const dex::StringId& string_id) const; 260 const char* GetStringDataAndUtf16Length(const dex::StringId& string_id, 263 const char* GetStringData(const dex::StringId& string_id) const; 272 const dex::StringId* FindStringId(const char* string) const; 335 const dex::StringId& name, 384 const dex::StringId& name, 865 const dex::StringId* const string_ids_;
|
D | art_dex_file_loader_test.cc | 236 const dex::StringId* str_id = raw->FindStringId(str); in TEST_F() 245 const dex::StringId* type_str_id = java_lang_dex_file_->FindStringId(type_str); in TEST_F() 276 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F() 291 const dex::StringId& name = java_lang_dex_file_->GetStringId(to_find.name_idx_); in TEST_F()
|
D | dex_file_structs.h | 52 struct StringId { struct 56 DISALLOW_COPY_AND_ASSIGN(StringId); argument
|
D | dex_file.cc | 54 using dex::StringId; 113 string_ids_(reinterpret_cast<const StringId*>(base + header_->string_ids_off_)), in DexFile() 248 const StringId& name, in FindFieldId() 283 const StringId& name, in FindMethodId() 327 const StringId* DexFile::FindStringId(const char* string) const { in FindStringId() 332 const StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId() 352 const StringId& str_id = GetStringId(type_id.descriptor_idx_); in FindTypeId()
|
D | dex_file-inl.h | 42 inline int32_t DexFile::GetStringLength(const dex::StringId& string_id) const { in GetStringLength() 48 inline const char* DexFile::GetStringDataAndUtf16Length(const dex::StringId& string_id, in GetStringDataAndUtf16Length() 57 inline const char* DexFile::GetStringData(const dex::StringId& string_id) const { in GetStringData() 69 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 | 133 const dex::StringId* string_id = in GetString() 134 reinterpret_cast<const dex::StringId*>(begin + header->string_ids_off_) + string_idx.index_; in GetString() 2072 if (!CheckListSize(ptr_, 1, sizeof(dex::StringId), "string_ids")) { in CheckIntraSectionIterate() 2075 ptr_ += sizeof(dex::StringId); in CheckIntraSectionIterate() 2479 const dex::StringId* item = reinterpret_cast<const dex::StringId*>(ptr_); in CheckInterStringIdItem() 2485 const dex::StringId* prev_item = reinterpret_cast<const dex::StringId*>(previous_item_); in CheckInterStringIdItem() 2494 ptr_ += sizeof(dex::StringId); in CheckInterStringIdItem() 3238 const dex::StringId* string_ids = in CheckInterSection() 3239 reinterpret_cast<const dex::StringId*>(begin_ + header_->string_ids_off_); in CheckInterSection() 3409 const dex::StringId* first = reinterpret_cast<const dex::StringId*>( 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 | 113 uint32_t type_ids_offset = string_ids_offset + strings_.size() * sizeof(dex::StringId); 173 string_ids_offset + entry.second.idx * sizeof(dex::StringId),
|
D | dex_file_verifier_test.cc | 249 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()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 141 const dex::StringId* string_id = dex_file.FindStringId(str.c_str()); in GetIdFromString()
|
/art/runtime/mirror/ |
D | object_test.cc | 415 const dex::StringId* name_str_id = dex_file->FindStringId("s0"); in TEST_F()
|
/art/profman/ |
D | profman.cc | 1087 const dex::StringId* name_id = dex_file->FindStringId(std::string(name).c_str()); in FindMethodIndex()
|
/art/openjdkjvmti/ |
D | ti_redefine.cc | 2526 const art::dex::StringId* new_name_id = dex_file_->FindStringId(method.GetName()); in UpdateMethods() 2565 const art::dex::StringId* new_name_id = dex_file_->FindStringId(field.GetName()); in UpdateFields()
|