Home
last modified time | relevance | path

Searched refs:StringIds (Results 1 – 8 of 8) sorted by relevance

/art/dexlayout/
Ddex_ir_builder.cc274 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 …]
Ddex_ir.cc62 [](const dex_ir::Header* h) { return h->StringIds().Size(); }, in __anon1a8407770102()
63 [](const dex_ir::Header* h) { return h->StringIds().GetOffset(); } in __anon1a8407770202()
Ddex_writer.cc232 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()
Ddexlayout.cc476 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()
Dcompact_dex_writer.cc282 header.string_ids_size_ = header_->StringIds().Size(); in WriteHeader()
283 header.string_ids_off_ = header_->StringIds().GetOffset(); in WriteHeader()
Ddex_visualize.cc196 for (dex_ir::StringId* string_id : fixups->StringIds()) { in DumpMethodItem()
Ddex_ir.h446 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
Ddex_verify.cc37 if (!VerifyIds(orig_header->StringIds(), output_header->StringIds(), "string ids", error_msg) || in VerifyOutputDexFile()