Home
last modified time | relevance | path

Searched refs:entryOffset (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/
DTypeWrappers.cpp67 uint32_t entryOffset; in operator *() local
75 entryOffset = static_cast<uint32_t>(dtohs(ResTable_sparseTypeEntry{*iter}.offset)) * 4u; in operator *()
77 entryOffset = dtohl(entryIndices[mIndex]); in operator *()
80 if (entryOffset == ResTable_type::NO_ENTRY) { in operator *()
84 if ((entryOffset & 0x3) != 0) { in operator *()
85 ALOGE("Index %u points to entry with unaligned offset 0x%08x", mIndex, entryOffset); in operator *()
90 reinterpret_cast<uintptr_t>(type) + dtohl(type->entriesStart) + entryOffset); in operator *()
/frameworks/base/cmds/idmap/
Dinspect.cpp270 const uint32_t entryOffset = static_cast<uint32_t>(data16); in parse_data() local
271 print("", "entry offset", entryOffset, ""); in parse_data()
280 uint32_t resID = (packageId << 24) | (targetTypeId << 16) | (entryOffset + i); in parse_data()