Home
last modified time | relevance | path

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

12

/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_map_field.cc75 GOOGLE_CHECK(message->options().map_entry()); in KeyField()
82 GOOGLE_CHECK(message->options().map_entry()); in ValueField()
Djavanano_helpers.h188 return descriptor->options().map_entry() && in IsMapEntry()
/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.h113 return descriptor->options().map_entry(); in IsMapEntryMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_map_field.cc49 GOOGLE_CHECK(message->options().map_entry()); in KeyField()
56 GOOGLE_CHECK(message->options().map_entry()); in ValueField()
Djava_map_field_lite.cc49 GOOGLE_CHECK(message->options().map_entry()); in KeyField()
56 GOOGLE_CHECK(message->options().map_entry()); in ValueField()
Djava_helpers.h368 return descriptor->options().map_entry(); in IsMapEntry()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.h120 return descriptor->options().map_entry(); in IsMapEntryMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ruby/
Druby_generator.cc188 if (message->options().map_entry()) { in GenerateMessage()
305 if (message->options().map_entry()) { in GenerateMessageAssignment()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h244 return descriptor->options().map_entry(); in IsMapEntryMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtype_resolver_util.cc136 if (options.map_entry()) { in ConvertMessageOptions()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/cmake/
Dextract_includes.bat.in60 … ${PROTOBUF_SOURCE_WIN32_PATH}\..\src\google\protobuf\map_entry.h include\google\protobuf\map_entr…
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dpython_message.py276 field.message_type.GetOptions().map_entry)
1157 field.message_type.GetOptions().map_entry):
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Djson_format.py109 field.message_type.GetOptions().map_entry)
Dtext_format.py170 field.message_type.GetOptions().map_entry)
/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor.proto430 // option map_entry = true;
436 // Implementations may choose not to generate the map_entry=true message, but
444 optional bool map_entry = 7; field
Ddescriptor.cc1678 return type() == TYPE_MESSAGE && message_type()->options().map_entry(); in is_map()
2215 if (options().map_entry()) { in DebugString()
5480 if (result.first->second->options().map_entry() || in DetectMapConflicts()
5481 nested->options().map_entry()) { in DetectMapConflicts()
5496 if (iter != seen_types.end() && iter->second->options().map_entry()) { in DetectMapConflicts()
5508 if (iter != seen_types.end() && iter->second->options().map_entry()) { in DetectMapConflicts()
5520 if (iter != seen_types.end() && iter->second->options().map_entry()) { in DetectMapConflicts()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.h2418 void setmapentry(bool map_entry);
2561 void upb_msgdef_setmapentry(upb_msgdef *m, bool map_entry);
3349 inline void MessageDef::setmapentry(bool map_entry) {
3350 upb_msgdef_setmapentry(this, map_entry);
3785 bool map_entry;
3798 map_entry, syntax, refs, ref2s) \
3801 selector_count, submsg_field_count, itof, ntof, map_entry, syntax \
Dupb.c1422 m->map_entry = false; in upb_msgdef_new()
1443 newm->map_entry = m->map_entry; in upb_msgdef_dup()
1660 void upb_msgdef_setmapentry(upb_msgdef *m, bool map_entry) { in upb_msgdef_setmapentry() argument
1662 m->map_entry = map_entry; in upb_msgdef_setmapentry()
1666 return m->map_entry; in upb_msgdef_mapentry()
7081 upb_handlers_setbool(h, F(MessageOptions, map_entry), &msg_onmapentry, NULL); in reghandlers()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.h1940 void setmapentry(bool map_entry);
2121 void upb_msgdef_setmapentry(upb_msgdef *m, bool map_entry);
2724 inline void MessageDef::setmapentry(bool map_entry) { in setmapentry() argument
2725 upb_msgdef_setmapentry(this, map_entry); in setmapentry()
3108 bool map_entry; member

12