Searched refs:entry_offset (Results 1 – 1 of 1) sorted by relevance
111 incfs::verified_map_ptr<ResTable_type> type, uint32_t entry_offset) { in VerifyResTableEntry() argument113 if (UNLIKELY(entry_offset & 0x03U)) { in VerifyResTableEntry()114 LOG(ERROR) << "Entry at offset " << entry_offset << " is not 4-byte aligned."; in VerifyResTableEntry()119 if (UNLIKELY(entry_offset > std::numeric_limits<uint32_t>::max() - dtohl(type->entriesStart))) { in VerifyResTableEntry()121 LOG(ERROR) << "Entry at offset " << entry_offset << " is too large."; in VerifyResTableEntry()127 entry_offset += dtohl(type->entriesStart); in VerifyResTableEntry()128 if (UNLIKELY(entry_offset > chunk_size - sizeof(ResTable_entry))) { in VerifyResTableEntry()129 LOG(ERROR) << "Entry at offset " << entry_offset in VerifyResTableEntry()134 auto entry = type.offset(entry_offset).convert<ResTable_entry>(); in VerifyResTableEntry()141 LOG(ERROR) << "ResTable_entry size " << entry_size << " at offset " << entry_offset in VerifyResTableEntry()[all …]