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 __anon0e6c32920102()
63 [](const dex_ir::Header* h) { return h->StringIds().GetOffset(); } in __anon0e6c32920202()
Ddex_writer.cc234 for (auto& string_id : header_->StringIds()) { in WriteStringIds()
244 header_->StringIds().SetOffset(start); in WriteStringIds()
732 header_->StringIds().Size(), in GenerateAndWriteMapItems()
733 header_->StringIds().GetOffset())); in GenerateAndWriteMapItems()
816 header.string_ids_size_ = header_->StringIds().Size(); in WriteHeader()
817 header.string_ids_off_ = header_->StringIds().GetOffset(); in WriteHeader()
Ddexlayout.cc415 if (index < header->StringIds().Size()) { in IndexString()
416 const char* st = header->StringIds()[index]->Data(); in IndexString()
599 fprintf(out_file_, "string_ids_size : %d\n", header_->StringIds().Size()); in DumpFileHeader()
601 header_->StringIds().GetOffset(), header_->StringIds().GetOffset()); in DumpFileHeader()
1620 const size_t num_strings = header_->StringIds().Size(); in LayoutStringData()
1666 for (dex_ir::StringId* id : fixups->StringIds()) { in LayoutStringData()
1689 for (auto& string_id : header_->StringIds()) { in LayoutStringData()
1723 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.h438 IndexedCollectionVector<StringId>& StringIds() { return string_ids_; } in StringIds() function
439 const IndexedCollectionVector<StringId>& StringIds() const { return string_ids_; } in StringIds() function
496 return index == dex::kDexNoIndex ? nullptr : StringIds()[index]; in GetStringIdOrNullPtr()
1023 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()