Home
last modified time | relevance | path

Searched refs:map_entry (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.cpp570 for (const ResTable_map& map_entry : map) { in ParseStyle() local
571 if (Res_INTERNALID(util::DeviceToHost32(map_entry.name.ident))) { in ParseStyle()
576 style_entry.key = Reference(util::DeviceToHost32(map_entry.name.ident)); in ParseStyle()
577 style_entry.value = ParseValue(name, config, map_entry.value); in ParseStyle()
601 for (const ResTable_map& map_entry : map) { in ParseAttr() local
602 if (Res_INTERNALID(util::DeviceToHost32(map_entry.name.ident))) { in ParseAttr()
603 switch (util::DeviceToHost32(map_entry.name.ident)) { in ParseAttr()
605 attr->min_int = static_cast<int32_t>(map_entry.value.data); in ParseAttr()
608 attr->max_int = static_cast<int32_t>(map_entry.value.data); in ParseAttr()
616 symbol.value = util::DeviceToHost32(map_entry.value.data); in ParseAttr()
[all …]
DBinaryResourceParser.h89 bool CollectMetaData(const android::ResTable_map& map_entry, Value* value);
DTableFlattener.cpp698 for (auto& map_entry : *shared_libs_) { in FlattenLibrarySpec()
699 lib_entry->packageId = util::HostToDevice32(map_entry.first); in FlattenLibrarySpec()
701 util::Utf8ToUtf16(map_entry.second)); in FlattenLibrarySpec()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp289 const android::ResolvedBag::Entry& map_entry = bag->entries[i]; in LookupAttributeInTable() local
290 if (Res_INTERNALID(map_entry.key)) { in LookupAttributeInTable()
291 switch (map_entry.key) { in LookupAttributeInTable()
293 s->attribute->min_int = static_cast<int32_t>(map_entry.value.data); in LookupAttributeInTable()
296 s->attribute->max_int = static_cast<int32_t>(map_entry.value.data); in LookupAttributeInTable()
303 if (!am.GetResourceName(map_entry.key, &name)) { in LookupAttributeInTable()
314 symbol.symbol.id = ResourceId(map_entry.key); in LookupAttributeInTable()
315 symbol.value = map_entry.value.data; in LookupAttributeInTable()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp805 const ResTable_map* map_entry = in GetBag() local
807 const ResTable_map* const map_entry_end = map_entry + dtohl(map->count); in GetBag()
818 const size_t entry_count = map_entry_end - map_entry; in GetBag()
822 for (; map_entry != map_entry_end; ++map_entry) { in GetBag()
823 uint32_t new_key = dtohl(map_entry->name.ident); in GetBag()
838 new_entry->value.copyFrom_dtoh(map_entry->value); in GetBag()
878 while (map_entry != map_entry_end && parent_entry != parent_entry_end) { in GetBag()
879 uint32_t child_key = dtohl(map_entry->name.ident); in GetBag()
895 new_entry->value.copyFrom_dtoh(map_entry->value); in GetBag()
904 ++map_entry; in GetBag()
[all …]
/frameworks/base/tools/aapt2/cmd/
DLink.cpp588 for (auto& map_entry : config_sorted_files) { in Flatten() local
589 const ConfigDescription& config = map_entry.first.first; in Flatten()
590 FileOperation& file_op = map_entry.second; in Flatten()