Searched refs:type_chunk (Results 1 – 3 of 3) sorted by relevance
206 const ResTable_entry* LoadedPackage::GetEntry(const ResTable_type* type_chunk, in GetEntry() argument208 uint32_t entry_offset = GetEntryOffset(type_chunk, entry_index); in GetEntry()212 return GetEntryFromOffset(type_chunk, entry_offset); in GetEntry()215 uint32_t LoadedPackage::GetEntryOffset(const ResTable_type* type_chunk, uint16_t entry_index) { in GetEntryOffset() argument218 const size_t entry_count = dtohl(type_chunk->entryCount); in GetEntryOffset()219 const size_t offsets_offset = dtohs(type_chunk->header.headerSize); in GetEntryOffset()223 if (type_chunk->flags & ResTable_type::FLAG_SPARSE) { in GetEntryOffset()227 reinterpret_cast<const uint8_t*>(type_chunk) + offsets_offset); in GetEntryOffset()252 reinterpret_cast<const uint8_t*>(type_chunk) + offsets_offset); in GetEntryOffset()256 const ResTable_entry* LoadedPackage::GetEntryFromOffset(const ResTable_type* type_chunk, in GetEntryFromOffset() argument[all …]
393 const ResTable_type* type_chunk = filtered_group.types[i]; in FindEntry() local394 const uint32_t offset = LoadedPackage::GetEntryOffset(type_chunk, local_entry_idx); in FindEntry()401 best_type = type_chunk; in FindEntry()
94 static const ResTable_entry* GetEntry(const ResTable_type* type_chunk, uint16_t entry_index);96 static uint32_t GetEntryOffset(const ResTable_type* type_chunk, uint16_t entry_index);98 static const ResTable_entry* GetEntryFromOffset(const ResTable_type* type_chunk, uint32_t offset);