Home
last modified time | relevance | path

Searched refs:collections (Results 1 – 13 of 13) sorted by relevance

/art/dexlayout/
Ddex_ir_builder.cc29 Collections* collections,
47 Collections& collections = header->GetCollections(); in DexIrBuilder() local
48 collections.SetEagerlyAssignOffsets(eagerly_assign_offsets); in DexIrBuilder()
51 collections.SetStringIdsOffset(disk_header.string_ids_off_); in DexIrBuilder()
53 collections.CreateStringId(dex_file, i); in DexIrBuilder()
56 collections.SetTypeIdsOffset(disk_header.type_ids_off_); in DexIrBuilder()
58 collections.CreateTypeId(dex_file, i); in DexIrBuilder()
61 collections.SetProtoIdsOffset(disk_header.proto_ids_off_); in DexIrBuilder()
63 collections.CreateProtoId(dex_file, i); in DexIrBuilder()
66 collections.SetFieldIdsOffset(disk_header.field_ids_off_); in DexIrBuilder()
[all …]
Dcompact_dex_writer.cc43 const dex_ir::Collections& collections = header_->GetCollections(); in WriteDebugInfoOffsetTable() local
45 std::vector<uint32_t> debug_info_offsets(collections.MethodIdsSize(), 0u); in WriteDebugInfoOffsetTable()
53 for (const std::unique_ptr<dex_ir::ClassDef>& class_def : collections.ClassDefs()) { in WriteDebugInfoOffsetTable()
235 dex_ir::Collections& collections = header_->GetCollections(); in SortDebugInfosByMethodIndex() local
242 for (std::unique_ptr<dex_ir::ClassDef>& class_def : collections.ClassDefs()) { in SortDebugInfosByMethodIndex()
260 std::sort(collections.DebugInfoItems().begin(), in SortDebugInfosByMethodIndex()
261 collections.DebugInfoItems().end(), in SortDebugInfosByMethodIndex()
285 const dex_ir::Collections& collections = header_->GetCollections(); in WriteHeader() local
286 header.map_off_ = collections.MapListOffset(); in WriteHeader()
287 header.string_ids_size_ = collections.StringIdsSize(); in WriteHeader()
[all …]
Ddex_ir.cc93 static bool GetIdFromInstruction(Collections& collections, in GetIdFromInstruction() argument
129 if (index < collections.TypeIdsSize()) { in GetIdFromInstruction()
130 type_ids->push_back(collections.GetTypeId(index)); in GetIdFromInstruction()
135 if (index < collections.StringIdsSize()) { in GetIdFromInstruction()
136 string_ids->push_back(collections.GetStringId(index)); in GetIdFromInstruction()
142 if (index < collections.MethodIdsSize()) { in GetIdFromInstruction()
143 method_ids->push_back(collections.GetMethodId(index)); in GetIdFromInstruction()
148 if (index < collections.FieldIdsSize()) { in GetIdFromInstruction()
149 field_ids->push_back(collections.GetFieldId(index)); in GetIdFromInstruction()
166 static bool GetIdsFromByteCode(Collections& collections, in GetIdsFromByteCode() argument
[all …]
Ddexlayout.cc599 dex_ir::Collections& collections = header_->GetCollections(); in DumpFileHeader() local
613 fprintf(out_file_, "string_ids_size : %d\n", collections.StringIdsSize()); in DumpFileHeader()
615 collections.StringIdsOffset(), collections.StringIdsOffset()); in DumpFileHeader()
616 fprintf(out_file_, "type_ids_size : %d\n", collections.TypeIdsSize()); in DumpFileHeader()
618 collections.TypeIdsOffset(), collections.TypeIdsOffset()); in DumpFileHeader()
619 fprintf(out_file_, "proto_ids_size : %d\n", collections.ProtoIdsSize()); in DumpFileHeader()
621 collections.ProtoIdsOffset(), collections.ProtoIdsOffset()); in DumpFileHeader()
622 fprintf(out_file_, "field_ids_size : %d\n", collections.FieldIdsSize()); in DumpFileHeader()
624 collections.FieldIdsOffset(), collections.FieldIdsOffset()); in DumpFileHeader()
625 fprintf(out_file_, "method_ids_size : %d\n", collections.MethodIdsSize()); in DumpFileHeader()
[all …]
Ddex_writer.cc764 const dex_ir::Collections& collections = header_->GetCollections(); in WriteHeader() local
765 header.map_off_ = collections.MapListOffset(); in WriteHeader()
766 header.string_ids_size_ = collections.StringIdsSize(); in WriteHeader()
767 header.string_ids_off_ = collections.StringIdsOffset(); in WriteHeader()
768 header.type_ids_size_ = collections.TypeIdsSize(); in WriteHeader()
769 header.type_ids_off_ = collections.TypeIdsOffset(); in WriteHeader()
770 header.proto_ids_size_ = collections.ProtoIdsSize(); in WriteHeader()
771 header.proto_ids_off_ = collections.ProtoIdsOffset(); in WriteHeader()
772 header.field_ids_size_ = collections.FieldIdsSize(); in WriteHeader()
773 header.field_ids_off_ = collections.FieldIdsOffset(); in WriteHeader()
[all …]
/art/tools/
Dfindbuildbotwarnings.py24 import collections
37 warnings = collections.defaultdict(list)
/art/test/utils/python/testgen/
Dmixins.py22 import collections.abc
116 collections.abc.Hashable.register(NameComparableMixin)
/art/test/988-method-trace/
Dgen_srcs.py26 import collections
292 instance_variable_dict = collections.OrderedDict()
293 initialize_klass_dict = collections.OrderedDict()
/art/tools/checker/common/
Dlogger.py16 import collections
78 for var in collections.OrderedDict(sorted(variables.items())):
/art/test/testrunner/
Dtestrunner.py48 import collections
127 _user_input_variants = collections.defaultdict(set)
227 _user_input_variants['address_sizes_target'] = collections.defaultdict(set)
/art/tools/checker/match/
Dfile.py15 from collections import namedtuple
/art/test/utils/python/
Dgenerate_java_main.py36 from collections import namedtuple
/art/tools/runtime_memusage/
Dsymbol_trace_info.py23 from collections import Counter