Searched refs:map_entry (Results 1 – 12 of 12) sorted by relevance
/frameworks/libs/binary_translation/tools/ |
D | symbolize_trace.py | 71 map_entry = MapEntry() 72 map_entry.start = int(addrs[0].replace("'", ""), 16) 73 map_entry.end = int(addrs[1].replace("'", ""), 16) 74 map_entry.prot = self.parse_prot(entries[1]) 75 map_entry.offset = int(entries[2], 16) 76 map_entry.size = int(entries[3], 16) 78 map_entry.file = entries[4] 81 map_entry.base_addr = map_entry.start 85 if map_entry.prot == 0: 88 self.maps[map_entry.start] = map_entry
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 392 if (auto mapEntry = entry->map_entry()) { in ParseType() 619 for (const ResTable_map& map_entry : map) { in ParseStyle() local 620 if (Res_INTERNALID(android::util::DeviceToHost32(map_entry.name.ident))) { in ParseStyle() 625 style_entry.key = Reference(android::util::DeviceToHost32(map_entry.name.ident)); in ParseStyle() 626 style_entry.value = ParseValue(name, config, map_entry.value); in ParseStyle() 650 for (const ResTable_map& map_entry : map) { in ParseAttr() local 651 if (Res_INTERNALID(android::util::DeviceToHost32(map_entry.name.ident))) { in ParseAttr() 652 switch (android::util::DeviceToHost32(map_entry.name.ident)) { in ParseAttr() 654 attr->min_int = static_cast<int32_t>(map_entry.value.data); in ParseAttr() 657 attr->max_int = static_cast<int32_t>(map_entry.value.data); in ParseAttr() [all …]
|
D | ResEntryWriter.cpp | 223 int32_t WriteMapToBuffer(const FlatEntry* map_entry, BigBuffer* buffer) { in WriteMapToBuffer() argument 226 WriteEntry<ResTable_entry_ext>(map_entry, out_entry); in WriteMapToBuffer() 229 map_entry->value->Accept(&visitor); in WriteMapToBuffer()
|
D | BinaryResourceParser.h | 93 bool CollectMetaData(const android::ResTable_map& map_entry, Value* value);
|
D | ResEntryWriter.h | 113 int32_t WriteMapToBuffer(const FlatEntry* map_entry, BigBuffer* buffer);
|
D | TableFlattener.cpp | 542 for (auto& map_entry : *shared_libs_) { in FlattenLibrarySpec() 543 lib_entry->packageId = android::util::HostToDevice32(map_entry.first); in FlattenLibrarySpec() 545 android::util::Utf8ToUtf16(map_entry.second)); in FlattenLibrarySpec()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 286 const ResolvedBag::Entry& map_entry = bag->entries[i]; in LookupAttributeInTable() local 287 if (Res_INTERNALID(map_entry.key)) { in LookupAttributeInTable() 288 switch (map_entry.key) { in LookupAttributeInTable() 290 s->attribute->min_int = static_cast<int32_t>(map_entry.value.data); in LookupAttributeInTable() 293 s->attribute->max_int = static_cast<int32_t>(map_entry.value.data); in LookupAttributeInTable() 299 auto name = am.GetResourceName(map_entry.key); in LookupAttributeInTable() 311 symbol.symbol.id = ResourceId(map_entry.key); in LookupAttributeInTable() 312 symbol.value = map_entry.value.data; in LookupAttributeInTable() 313 symbol.type = map_entry.value.dataType; in LookupAttributeInTable()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 1229 auto map_entry = map.offset(dtohs(map->size)).convert<ResTable_map>(); in GetBag() local 1230 const auto map_entry_end = map_entry + dtohl(map->count); in GetBag() 1241 const size_t entry_count = map_entry_end - map_entry; in GetBag() 1246 for (auto new_entry = new_bag->entries; map_entry != map_entry_end; ++map_entry) { in GetBag() 1247 if (UNLIKELY(!map_entry)) { in GetBag() 1251 uint32_t new_key = dtohl(map_entry->name.ident); in GetBag() 1267 new_entry->value.copyFrom_dtoh(map_entry->value); in GetBag() 1317 while (map_entry != map_entry_end && parent_entry != parent_entry_end) { in GetBag() 1318 if (UNLIKELY(!map_entry)) { in GetBag() 1322 uint32_t child_key = dtohl(map_entry->name.ident); in GetBag() [all …]
|
D | ResourceTypes.cpp | 4624 if (entry.entry->map_entry()) { in getResource() 4823 const ResTable_map_entry* map_entry = entry.entry->map_entry(); in getBagLocked() local 4824 const uint32_t parent = map_entry ? dtohl(map_entry->parent.ident) : 0; in getBagLocked() 4825 const uint32_t count = map_entry ? dtohl(map_entry->count) : 0; in getBagLocked() 7914 const ResTable_map_entry* bagPtr = ent->map_entry(); in print()
|
/frameworks/base/tools/aapt2/ |
D | Debug.cpp | 717 if (auto map_entry = entry->map_entry()) { in PrintTableType() local 718 uint32_t map_entry_count = android::util::DeviceToHost32(map_entry->count); in PrintTableType() 721 android::util::DeviceToHost32(map_entry->parent.ident))); in PrintTableType()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 619 for (auto& map_entry : config_sorted_files) { in Flatten() local 620 const ConfigDescription& config = map_entry.first.first; in Flatten() 621 FileOperation& file_op = map_entry.second; in Flatten()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1609 const ResTable_map_entry* map_entry() const { in map_entry() function
|