Home
last modified time | relevance | path

Searched refs:ResTable_entry (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/libs/androidfw/
DTypeWrappers.cpp51 const ResTable_entry* TypeVariant::iterator::operator*() const { in operator *()
89 const ResTable_entry* entry = reinterpret_cast<const ResTable_entry*>( in operator *()
DLoadedArsc.cpp128 if (UNLIKELY(entry_offset > chunk_size - sizeof(ResTable_entry))) { in VerifyResTableEntry()
134 auto entry = type.offset(entry_offset).convert<ResTable_entry>(); in VerifyResTableEntry()
231 base::expected<incfs::map_ptr<ResTable_entry>, NullOrIOError> LoadedPackage::GetEntry( in GetEntry()
300 base::expected<incfs::map_ptr<ResTable_entry>, NullOrIOError> LoadedPackage::GetEntryFromOffset( in GetEntryFromOffset()
306 return type_chunk.offset(offset + dtohl(type_chunk->entriesStart)).convert<ResTable_entry>(); in GetEntryFromOffset()
389 auto entry = type.offset(dtohl(type->entriesStart) + offset).convert<ResTable_entry>(); in FindEntryByName()
DAssetManager2.cpp46 incfs::verified_map_ptr<ResTable_entry> table_entry) { in GetEntryValue()
51 (dtohs(table_entry->flags) & ResTable_entry::FLAG_COMPLEX)) { in GetEntryValue()
780 const incfs::map_ptr<ResTable_entry> best_entry = *best_entry_result; in FindEntryInternal()
DResourceTypes.cpp3586 const ResTable_entry* entry;
4493 if ((dtohs(entry.entry->flags) & ResTable_entry::FLAG_COMPLEX) != 0) { in getResource()
5138 const ResTable_entry* entry = *iter; in findEntry()
6645 if (bestOffset > (dtohl(bestType->header.size)-sizeof(ResTable_entry))) { in getEntry()
6655 const ResTable_entry* const entry = reinterpret_cast<const ResTable_entry*>( in getEntry()
6902 && dtohl(type->entriesStart) > (typeSize-sizeof(ResTable_entry))) { in parsePackage()
7726 if ((thisOffset+sizeof(ResTable_entry)) > typeSize) { in print()
7732 const ResTable_entry* ent = (const ResTable_entry*) in print()
7754 if ((dtohs(ent->flags)&ResTable_entry::FLAG_COMPLEX) != 0) { in print()
7766 if ((dtohs(ent->flags)&ResTable_entry::FLAG_PUBLIC) != 0) { in print()
/frameworks/base/libs/androidfw/include/androidfw/
DTypeWrappers.h50 const ResTable_entry* operator->() const {
59 const ResTable_entry* operator*() const;
DLoadedArsc.h169 static base::expected<incfs::map_ptr<ResTable_entry>, NullOrIOError> GetEntry(
175 static base::expected<incfs::map_ptr<ResTable_entry>, NullOrIOError> GetEntryFromOffset(
DResourceTypes.h1491 struct ResTable_entry struct
1518 struct ResTable_map_entry : public ResTable_entry
/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp38 ResTable_entry e1; in createTypeData()
51 ResTable_entry e2; in createTypeData()
/frameworks/base/tools/aapt2/format/binary/
DResourceTypeExtensions.h26 android::ResTable_entry entry;
DTableFlattener.cpp303 std::is_same<ResTable_entry, T>::value || std::is_same<ResTable_entry_ext, T>::value, in WriteEntry()
307 ResTable_entry* out_entry = (ResTable_entry*)result; in WriteEntry()
309 out_entry->flags |= ResTable_entry::FLAG_PUBLIC; in WriteEntry()
313 out_entry->flags |= ResTable_entry::FLAG_WEAK; in WriteEntry()
317 out_entry->flags |= ResTable_entry::FLAG_COMPLEX; in WriteEntry()
328 WriteEntry<ResTable_entry, true>(entry, buffer); in FlattenValue()
DBinaryResourceParser.cpp369 const ResTable_entry* entry = *it; in ParseType()
379 if (entry->flags & ResTable_entry::FLAG_COMPLEX) { in ParseType()
401 if (entry->flags & ResTable_entry::FLAG_PUBLIC) { in ParseType()
619 attr->SetWeak((util::DeviceToHost16(map->flags) & ResTable_entry::FLAG_WEAK) != 0); in ParseAttr()
/frameworks/base/tools/aapt/
DResourceTable.cpp3753 ResTable_entry header; in flatten()