Searched refs:StringIds (Results 1 – 8 of 8) sorted by relevance
/art/dexlayout/ |
D | dex_ir.cc | 62 [](const dex_ir::Header* h) { return h->StringIds().Size(); }, in __anon0e6c32920102() 63 [](const dex_ir::Header* h) { return h->StringIds().GetOffset(); } in __anon0e6c32920202()
|
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_writer.cc | 234 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()
|
D | dexlayout.cc | 415 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() 1617 const size_t num_strings = header_->StringIds().Size(); in LayoutStringData() 1663 for (dex_ir::StringId* id : fixups->StringIds()) { in LayoutStringData() 1686 for (auto& string_id : header_->StringIds()) { in LayoutStringData() 1720 for (auto& string_id : header_->StringIds()) { in LayoutStringData()
|
D | compact_dex_writer.cc | 284 header.string_ids_size_ = header_->StringIds().Size(); in WriteHeader() 285 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 | 438 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
|
D | dex_verify.cc | 37 if (!VerifyIds(orig_header->StringIds(), output_header->StringIds(), "string ids", error_msg) || in VerifyOutputDexFile()
|