Home
last modified time | relevance | path

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

/art/dexlayout/
Ddex_ir_builder.cc27 static void CheckAndSetRemainingOffsets(const DexFile& dex_file, Collections* collections);
41 Collections& collections = header->GetCollections(); in DexIrBuilder() local
44 collections.SetStringIdsOffset(disk_header.string_ids_off_); in DexIrBuilder()
46 collections.CreateStringId(dex_file, i); in DexIrBuilder()
49 collections.SetTypeIdsOffset(disk_header.type_ids_off_); in DexIrBuilder()
51 collections.CreateTypeId(dex_file, i); in DexIrBuilder()
54 collections.SetProtoIdsOffset(disk_header.proto_ids_off_); in DexIrBuilder()
56 collections.CreateProtoId(dex_file, i); in DexIrBuilder()
59 collections.SetFieldIdsOffset(disk_header.field_ids_off_); in DexIrBuilder()
61 collections.CreateFieldId(dex_file, i); in DexIrBuilder()
[all …]
Ddexlayout.cc596 dex_ir::Collections& collections = header_->GetCollections(); in DumpFileHeader() local
610 fprintf(out_file_, "string_ids_size : %d\n", collections.StringIdsSize()); in DumpFileHeader()
612 collections.StringIdsOffset(), collections.StringIdsOffset()); in DumpFileHeader()
613 fprintf(out_file_, "type_ids_size : %d\n", collections.TypeIdsSize()); in DumpFileHeader()
615 collections.TypeIdsOffset(), collections.TypeIdsOffset()); in DumpFileHeader()
616 fprintf(out_file_, "proto_ids_size : %d\n", collections.ProtoIdsSize()); in DumpFileHeader()
618 collections.ProtoIdsOffset(), collections.ProtoIdsOffset()); in DumpFileHeader()
619 fprintf(out_file_, "field_ids_size : %d\n", collections.FieldIdsSize()); in DumpFileHeader()
621 collections.FieldIdsOffset(), collections.FieldIdsOffset()); in DumpFileHeader()
622 fprintf(out_file_, "method_ids_size : %d\n", collections.MethodIdsSize()); in DumpFileHeader()
[all …]
Ddex_writer.cc629 dex_ir::Collections& collections = header_->GetCollections(); in WriteHeader() local
641 buffer[5] = collections.MapListOffset(); in WriteHeader()
642 buffer[6] = collections.StringIdsSize(); in WriteHeader()
643 buffer[7] = collections.StringIdsOffset(); in WriteHeader()
644 buffer[8] = collections.TypeIdsSize(); in WriteHeader()
645 buffer[9] = collections.TypeIdsOffset(); in WriteHeader()
646 buffer[10] = collections.ProtoIdsSize(); in WriteHeader()
647 buffer[11] = collections.ProtoIdsOffset(); in WriteHeader()
648 buffer[12] = collections.FieldIdsSize(); in WriteHeader()
649 buffer[13] = collections.FieldIdsOffset(); in WriteHeader()
[all …]
Ddex_ir.cc108 static bool GetIdFromInstruction(Collections& collections, in GetIdFromInstruction() argument
144 if (index < collections.TypeIdsSize()) { in GetIdFromInstruction()
145 type_ids->push_back(collections.GetTypeId(index)); in GetIdFromInstruction()
150 if (index < collections.StringIdsSize()) { in GetIdFromInstruction()
151 string_ids->push_back(collections.GetStringId(index)); in GetIdFromInstruction()
157 if (index < collections.MethodIdsSize()) { in GetIdFromInstruction()
158 method_ids->push_back(collections.GetMethodId(index)); in GetIdFromInstruction()
163 if (index < collections.FieldIdsSize()) { in GetIdFromInstruction()
164 field_ids->push_back(collections.GetFieldId(index)); in GetIdFromInstruction()
181 static bool GetIdsFromByteCode(Collections& collections, in GetIdsFromByteCode() argument
[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
290 instance_variable_dict = collections.OrderedDict()
291 initialize_klass_dict = collections.OrderedDict()
/art/tools/checker/common/
Dlogger.py16 import collections
78 for var in collections.OrderedDict(sorted(variables.items())):
/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