Home
last modified time | relevance | path

Searched refs:collections (Results 1 – 9 of 9) 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.cc595 dex_ir::Collections& collections = header_->GetCollections(); in DumpFileHeader() local
609 fprintf(out_file_, "string_ids_size : %d\n", collections.StringIdsSize()); in DumpFileHeader()
611 collections.StringIdsOffset(), collections.StringIdsOffset()); in DumpFileHeader()
612 fprintf(out_file_, "type_ids_size : %d\n", collections.TypeIdsSize()); in DumpFileHeader()
614 collections.TypeIdsOffset(), collections.TypeIdsOffset()); in DumpFileHeader()
615 fprintf(out_file_, "proto_ids_size : %d\n", collections.ProtoIdsSize()); in DumpFileHeader()
617 collections.ProtoIdsOffset(), collections.ProtoIdsOffset()); in DumpFileHeader()
618 fprintf(out_file_, "field_ids_size : %d\n", collections.FieldIdsSize()); in DumpFileHeader()
620 collections.FieldIdsOffset(), collections.FieldIdsOffset()); in DumpFileHeader()
621 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.cc133 static bool GetIdFromInstruction(Collections& collections, in GetIdFromInstruction() argument
169 if (index < collections.TypeIdsSize()) { in GetIdFromInstruction()
170 type_ids->push_back(collections.GetTypeId(index)); in GetIdFromInstruction()
175 if (index < collections.StringIdsSize()) { in GetIdFromInstruction()
176 string_ids->push_back(collections.GetStringId(index)); in GetIdFromInstruction()
182 if (index < collections.MethodIdsSize()) { in GetIdFromInstruction()
183 method_ids->push_back(collections.GetMethodId(index)); in GetIdFromInstruction()
188 if (index < collections.FieldIdsSize()) { in GetIdFromInstruction()
189 field_ids->push_back(collections.GetFieldId(index)); in GetIdFromInstruction()
206 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/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