Searched refs:collections (Results 1 – 13 of 13) sorted by relevance
/art/dexlayout/ |
D | dex_ir_builder.cc | 29 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 …]
|
D | compact_dex_writer.cc | 43 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 …]
|
D | dex_ir.cc | 93 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 …]
|
D | dexlayout.cc | 599 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 …]
|
D | dex_writer.cc | 764 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/ |
D | findbuildbotwarnings.py | 24 import collections 37 warnings = collections.defaultdict(list)
|
/art/test/utils/python/testgen/ |
D | mixins.py | 22 import collections.abc 116 collections.abc.Hashable.register(NameComparableMixin)
|
/art/test/988-method-trace/ |
D | gen_srcs.py | 26 import collections 292 instance_variable_dict = collections.OrderedDict() 293 initialize_klass_dict = collections.OrderedDict()
|
/art/tools/checker/common/ |
D | logger.py | 16 import collections 78 for var in collections.OrderedDict(sorted(variables.items())):
|
/art/test/testrunner/ |
D | testrunner.py | 48 import collections 127 _user_input_variants = collections.defaultdict(set) 227 _user_input_variants['address_sizes_target'] = collections.defaultdict(set)
|
/art/tools/checker/match/ |
D | file.py | 15 from collections import namedtuple
|
/art/test/utils/python/ |
D | generate_java_main.py | 36 from collections import namedtuple
|
/art/tools/runtime_memusage/ |
D | symbol_trace_info.py | 23 from collections import Counter
|