Searched refs:StringIds (Results 1 – 8 of 8) sorted by relevance
/art/dexlayout/ |
D | dex_ir_builder.cc | 274 header->StringIds().SetOffset(disk_header.string_ids_off_); in DexIrBuilder() 345 CHECK_EQ(item->size_, header_->StringIds().Size()); in CheckAndSetRemainingOffsets() 346 CHECK_EQ(item->offset_, header_->StringIds().GetOffset()); in CheckAndSetRemainingOffsets() 431 CreateAndAddIndexedItem(header_->StringIds(), in CreateStringId() 432 header_->StringIds().GetOffset() + i * StringId::ItemSize(), in CreateStringId() 442 header_->StringIds()[disk_type_id.descriptor_idx_.index_]); in CreateTypeId() 453 header_->StringIds()[disk_proto_id.shorty_idx_.index_], in CreateProtoId() 465 header_->StringIds()[disk_field_id.name_idx_.index_]); in CreateFieldId() 475 header_->StringIds()[disk_method_id.name_idx_.index_]); in CreateMethodId() 1069 if (index < header_->StringIds().Size()) { in GetIdFromInstruction() [all …]
|
D | dex_ir.cc | 62 [](const dex_ir::Header* h) { return h->StringIds().Size(); }, in __anon1a8407770102() 63 [](const dex_ir::Header* h) { return h->StringIds().GetOffset(); } in __anon1a8407770202()
|
D | dex_writer.cc | 232 for (auto& string_id : header_->StringIds()) { in WriteStringIds() 242 header_->StringIds().SetOffset(start); in WriteStringIds() 730 header_->StringIds().Size(), in GenerateAndWriteMapItems() 731 header_->StringIds().GetOffset())); in GenerateAndWriteMapItems() 814 header.string_ids_size_ = header_->StringIds().Size(); in WriteHeader() 815 header.string_ids_off_ = header_->StringIds().GetOffset(); in WriteHeader()
|
D | dexlayout.cc | 476 if (index < header->StringIds().Size()) { in IndexString() 477 const char* st = header->StringIds()[index]->Data(); in IndexString() 669 fprintf(out_file_, "string_ids_size : %d\n", header_->StringIds().Size()); in DumpFileHeader() 671 header_->StringIds().GetOffset(), header_->StringIds().GetOffset()); in DumpFileHeader() 1922 const size_t num_strings = header_->StringIds().Size(); in LayoutStringData() 1968 for (dex_ir::StringId* id : fixups->StringIds()) { in LayoutStringData() 1991 for (auto& string_id : header_->StringIds()) { in LayoutStringData() 2025 for (auto& string_id : header_->StringIds()) { in LayoutStringData()
|
D | compact_dex_writer.cc | 282 header.string_ids_size_ = header_->StringIds().Size(); in WriteHeader() 283 header.string_ids_off_ = header_->StringIds().GetOffset(); in WriteHeader()
|
D | dex_visualize.cc | 196 for (dex_ir::StringId* string_id : fixups->StringIds()) { in DumpMethodItem()
|
D | dex_ir.h | 446 IndexedCollectionVector<StringId>& StringIds() { return string_ids_; } in StringIds() function 447 const IndexedCollectionVector<StringId>& StringIds() const { return string_ids_; } in StringIds() function 504 return index == dex::kDexNoIndex ? nullptr : StringIds()[index]; in GetStringIdOrNullPtr() 1031 const std::vector<StringId*>& StringIds() const { return string_ids_; } in StringIds() function
|
D | dex_verify.cc | 37 if (!VerifyIds(orig_header->StringIds(), output_header->StringIds(), "string ids", error_msg) || in VerifyOutputDexFile()
|