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.cpp145 if (entry_offset > chunk_size - sizeof(ResTable_entry)) { in VerifyResTableEntry()
151 const ResTable_entry* entry = reinterpret_cast<const ResTable_entry*>( in VerifyResTableEntry()
239 const ResTable_entry* LoadedPackage::GetEntry(const ResTable_type* type_chunk, in GetEntry()
289 const ResTable_entry* LoadedPackage::GetEntryFromOffset(const ResTable_type* type_chunk, in GetEntryFromOffset()
294 return reinterpret_cast<const ResTable_entry*>(reinterpret_cast<const uint8_t*>(type_chunk) + in GetEntryFromOffset()
380 const ResTable_entry* entry = reinterpret_cast<const ResTable_entry*>( in FindEntryByName()
DAssetManager2.cpp52 const ResTable_entry* entry;
547 const ResTable_entry* best_entry = LoadedPackage::GetEntryFromOffset(best_type, best_offset); in FindEntry()
702 if (dtohs(entry.entry->flags) & ResTable_entry::FLAG_COMPLEX) { in GetResource()
799 (dtohs(entry.entry->flags) & ResTable_entry::FLAG_COMPLEX) == 0) { in GetBag()
DResourceTypes.cpp3471 const ResTable_entry* entry;
4377 if ((dtohs(entry.entry->flags) & ResTable_entry::FLAG_COMPLEX) != 0) { in getResource()
5021 const ResTable_entry* entry = *iter; in findEntry()
6533 if (bestOffset > (dtohl(bestType->header.size)-sizeof(ResTable_entry))) { in getEntry()
6543 const ResTable_entry* const entry = reinterpret_cast<const ResTable_entry*>( in getEntry()
6790 && dtohl(type->entriesStart) > (typeSize-sizeof(ResTable_entry))) { in parsePackage()
7601 if ((thisOffset+sizeof(ResTable_entry)) > typeSize) { in print()
7607 const ResTable_entry* ent = (const ResTable_entry*) in print()
7629 if ((dtohs(ent->flags)&ResTable_entry::FLAG_COMPLEX) != 0) { in print()
7641 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.h151 static const ResTable_entry* GetEntry(const ResTable_type* type_chunk, uint16_t entry_index);
155 static const ResTable_entry* GetEntryFromOffset(const ResTable_type* type_chunk, uint32_t offset);
DResourceTypes.h1460 struct ResTable_entry struct
1487 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.cpp293 std::is_same<ResTable_entry, T>::value || std::is_same<ResTable_entry_ext, T>::value, in WriteEntry()
297 ResTable_entry* out_entry = (ResTable_entry*)result; in WriteEntry()
299 out_entry->flags |= ResTable_entry::FLAG_PUBLIC; in WriteEntry()
303 out_entry->flags |= ResTable_entry::FLAG_WEAK; in WriteEntry()
307 out_entry->flags |= ResTable_entry::FLAG_COMPLEX; in WriteEntry()
318 WriteEntry<ResTable_entry, true>(entry, buffer); in FlattenValue()
DBinaryResourceParser.cpp368 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()
590 attr->SetWeak((util::DeviceToHost16(map->flags) & ResTable_entry::FLAG_WEAK) != 0); in ParseAttr()
/frameworks/base/tools/aapt/
DResourceTable.cpp3753 ResTable_entry header; in flatten()