Searched refs:type_chunk (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | LoadedArsc.cpp | 232 incfs::verified_map_ptr<ResTable_type> type_chunk, uint16_t entry_index) { in GetEntry() argument 233 base::expected<uint32_t, NullOrIOError> entry_offset = GetEntryOffset(type_chunk, entry_index); in GetEntry() 237 return GetEntryFromOffset(type_chunk, entry_offset.value()); in GetEntry() 241 incfs::verified_map_ptr<ResTable_type> type_chunk, uint16_t entry_index) { in GetEntryOffset() argument 244 const size_t entry_count = dtohl(type_chunk->entryCount); in GetEntryOffset() 245 const size_t offsets_offset = dtohs(type_chunk->header.headerSize); in GetEntryOffset() 248 if (type_chunk->flags & ResTable_type::FLAG_SPARSE) { in GetEntryOffset() 251 auto sparse_indices = type_chunk.offset(offsets_offset) in GetEntryOffset() 287 const auto entry_offset_ptr = type_chunk.offset(offsets_offset).convert<uint32_t>() + entry_index; in GetEntryOffset() 301 incfs::verified_map_ptr<ResTable_type> type_chunk, uint32_t offset) { in GetEntryFromOffset() argument [all …]
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | LoadedArsc.h | 170 incfs::verified_map_ptr<ResTable_type> type_chunk, uint16_t entry_index); 173 incfs::verified_map_ptr<ResTable_type> type_chunk, uint16_t entry_index); 176 incfs::verified_map_ptr<ResTable_type> type_chunk, uint32_t offset);
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener_test.cpp | 273 const ResChunk_header* type_chunk = nullptr; in TEST_F() local 276 type_chunk = package_parser.chunk(); in TEST_F() 282 ASSERT_NE(type_chunk, nullptr); in TEST_F() 283 TypeVariant typeVariant((const ResTable_type*) type_chunk); in TEST_F()
|