Searched refs:ResTable_entry (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/tools/aapt2/format/binary/ |
D | ResEntryWriter.cpp | 188 static_assert(std::is_same_v<ResTable_entry, T> || std::is_same_v<ResTable_entry_ext, T>, in WriteEntry() 191 ResTable_entry* out_entry = (ResTable_entry*)out_result; in WriteEntry() 195 flags |= ResTable_entry::FLAG_PUBLIC; in WriteEntry() 199 flags |= ResTable_entry::FLAG_WEAK; in WriteEntry() 203 flags |= ResTable_entry::FLAG_COMPLEX; in WriteEntry() 213 CHECK(compact && (std::is_same_v<ResTable_entry, T>)) << "cannot encode complex entry"; in WriteEntry() 216 flags |= ResTable_entry::FLAG_COMPACT | (value.dataType << 8); in WriteEntry()
|
D | ResEntryWriter.h | 32 using android::ResTable_entry; 47 ResTable_entry entry; 51 static_assert(sizeof(ResEntryValuePair) == sizeof(ResTable_entry) + sizeof(Res_value), 55 using ResEntryValue = std::conditional_t<compact, ResTable_entry, ResEntryValuePair>;
|
D | ResEntryWriter_test.cpp | 76 std::vector<int32_t> expected_offsets{0, sizeof(ResTable_entry), in TEST_F() 77 2 * sizeof(ResTable_entry)}; in TEST_F() 78 EXPECT_EQ(out.size(), 3 * sizeof(ResTable_entry)); in TEST_F() 147 EXPECT_EQ(out.size(), sizeof(ResTable_entry)); in TEST_F()
|
D | ResourceTypeExtensions.h | 26 android::ResTable_entry entry;
|
D | BinaryResourceParser.cpp | 382 const ResTable_entry* entry = *it; in ParseType() 417 if (entry->flags() & ResTable_entry::FLAG_PUBLIC) { in ParseType() 639 attr->SetWeak((android::util::DeviceToHost16(map->flags) & ResTable_entry::FLAG_WEAK) != 0); in ParseAttr()
|
D | TableFlattener_test.cpp | 750 deduplicated_output.size() + 4 * (sizeof(ResTable_entry) + sizeof(Res_value))); in TEST_F()
|
/frameworks/base/libs/androidfw/tests/ |
D | TypeWrappers_test.cpp | 42 size_t entry_size = compact_entry ? sizeof(ResTable_entry) in createTypeTable() 43 : sizeof(ResTable_entry) + sizeof(Res_value); in createTypeTable() 67 ResTable_entry entry{}; in createTypeTable() 70 entry.compact.flags = ResTable_entry::FLAG_COMPACT | (v->dataType << 8); in createTypeTable()
|
/frameworks/base/libs/androidfw/ |
D | TypeWrappers.cpp | 51 const ResTable_entry* TypeVariant::iterator::operator*() const { in operator *() 94 const ResTable_entry* entry = reinterpret_cast<const ResTable_entry*>( in operator *()
|
D | LoadedArsc.cpp | 116 static base::expected<incfs::verified_map_ptr<ResTable_entry>, NullOrIOError> 134 if (UNLIKELY(entry_offset > chunk_size - sizeof(ResTable_entry))) { in VerifyResTableEntry() 140 auto entry = type.offset(entry_offset).convert<ResTable_entry>(); in VerifyResTableEntry() 242 base::expected<incfs::verified_map_ptr<ResTable_entry>, NullOrIOError> LoadedPackage::GetEntry( in GetEntry() 319 base::expected<incfs::verified_map_ptr<ResTable_entry>, NullOrIOError> 429 auto entry = type.offset(dtohl(type->entriesStart) + offset).convert<ResTable_entry>(); in FindEntryByName()
|
D | ResourceTypes.cpp | 3717 const ResTable_entry* entry; 5262 const ResTable_entry* entry = *iter; in findEntry() 6802 if (bestOffset > (dtohl(bestType->header.size)-sizeof(ResTable_entry))) { in getEntry() 6812 const ResTable_entry* const entry = reinterpret_cast<const ResTable_entry*>( in getEntry() 7060 && dtohl(type->entriesStart) > (typeSize-sizeof(ResTable_entry))) { in parsePackage() 7888 if ((thisOffset+sizeof(ResTable_entry)) > typeSize) { in print() 7894 const ResTable_entry* ent = (const ResTable_entry*) in print() 7925 if (ent->flags() & ResTable_entry::FLAG_PUBLIC) { in print()
|
D | AssetManager2.cpp | 51 incfs::verified_map_ptr<ResTable_entry> table_entry) { in GetEntryValue()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | TypeWrappers.h | 50 const ResTable_entry* operator->() const { 59 const ResTable_entry* operator*() const;
|
D | ResourceTypes.h | 1534 union ResTable_entry union 1581 return is_compact() ? sizeof(ResTable_entry) : dtohs(this->full.size); in size() 1623 static_assert(sizeof(ResTable_entry) == sizeof(ResTable_entry::Full)); 1624 static_assert(sizeof(ResTable_entry) == sizeof(ResTable_entry::Compact)); 1625 static_assert(offsetof(ResTable_entry, full.flags) == offsetof(ResTable_entry, compact.flags)); 1631 struct ResTable_map_entry : public ResTable_entry::Full
|
D | LoadedArsc.h | 175 static base::expected<incfs::verified_map_ptr<ResTable_entry>, NullOrIOError> 181 static base::expected<incfs::verified_map_ptr<ResTable_entry>, NullOrIOError>
|
/frameworks/base/tools/aapt2/ |
D | Debug.cpp | 695 const ResTable_entry* entry = *it; in PrintTableType()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 3746 ResTable_entry header; in flatten()
|