Searched refs:map_entry (Results 1 – 11 of 11) sorted by relevance
392 if (auto mapEntry = entry->map_entry()) { in ParseType()619 for (const ResTable_map& map_entry : map) { in ParseStyle() local620 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() local651 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 …]
223 int32_t WriteMapToBuffer(const FlatEntry* map_entry, BigBuffer* buffer) { in WriteMapToBuffer() argument226 WriteEntry<ResTable_entry_ext>(map_entry, out_entry); in WriteMapToBuffer()229 map_entry->value->Accept(&visitor); in WriteMapToBuffer()
93 bool CollectMetaData(const android::ResTable_map& map_entry, Value* value);
113 int32_t WriteMapToBuffer(const FlatEntry* map_entry, BigBuffer* buffer);
539 for (auto& map_entry : *shared_libs_) { in FlattenLibrarySpec()540 lib_entry->packageId = android::util::HostToDevice32(map_entry.first); in FlattenLibrarySpec()542 android::util::Utf8ToUtf16(map_entry.second)); in FlattenLibrarySpec()
286 const ResolvedBag::Entry& map_entry = bag->entries[i]; in LookupAttributeInTable() local287 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()
1148 auto map_entry = map.offset(dtohs(map->size)).convert<ResTable_map>(); in GetBag() local1149 const auto map_entry_end = map_entry + dtohl(map->count); in GetBag()1160 const size_t entry_count = map_entry_end - map_entry; in GetBag()1165 for (auto new_entry = new_bag->entries; map_entry != map_entry_end; ++map_entry) { in GetBag()1166 if (UNLIKELY(!map_entry)) { in GetBag()1170 uint32_t new_key = dtohl(map_entry->name.ident); in GetBag()1186 new_entry->value.copyFrom_dtoh(map_entry->value); in GetBag()1236 while (map_entry != map_entry_end && parent_entry != parent_entry_end) { in GetBag()1237 if (UNLIKELY(!map_entry)) { in GetBag()1241 uint32_t child_key = dtohl(map_entry->name.ident); in GetBag()[all …]
4536 if (entry.entry->map_entry()) { in getResource()4735 const ResTable_map_entry* map_entry = entry.entry->map_entry(); in getBagLocked() local4736 const uint32_t parent = map_entry ? dtohl(map_entry->parent.ident) : 0; in getBagLocked()4737 const uint32_t count = map_entry ? dtohl(map_entry->count) : 0; in getBagLocked()7798 const ResTable_map_entry* bagPtr = ent->map_entry(); in print()
707 if (auto map_entry = entry->map_entry()) { in PrintTableType() local708 uint32_t map_entry_count = android::util::DeviceToHost32(map_entry->count); in PrintTableType()711 android::util::DeviceToHost32(map_entry->parent.ident))); in PrintTableType()
616 for (auto& map_entry : config_sorted_files) { in Flatten() local617 const ConfigDescription& config = map_entry.first.first; in Flatten()618 FileOperation& file_op = map_entry.second; in Flatten()
1601 const ResTable_map_entry* map_entry() const { in map_entry() function