Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DTypeWrappers.cpp45 const uint32_t entryOffset = dtohl(entryIndices[mIndex]); in operator *() local
46 if (entryOffset == ResTable_type::NO_ENTRY) { in operator *()
50 if ((entryOffset & 0x3) != 0) { in operator *()
51 ALOGE("Index %u points to entry with unaligned offset 0x%08x", mIndex, entryOffset); in operator *()
56 reinterpret_cast<uintptr_t>(type) + dtohl(type->entriesStart) + entryOffset); in operator *()
DResourceTypes.cpp6031 size_t entryOffset; member
6079 typeMap.entryOffset = 0; in createIdmap()
6086 typeMap.entryOffset++; in createIdmap()
6101 typeMap.entryOffset++; in createIdmap()
6117 if (typeMap.entryOffset + typeMap.entryMap.size() < entryIndex) { in createIdmap()
6119 if (typeMap.entryMap.resize((entryIndex - typeMap.entryOffset) + 1) < 0) { in createIdmap()
6174 *typeData++ = htods(typeMap.entryOffset); in createIdmap()
/frameworks/base/cmds/idmap/
Dinspect.cpp269 const uint32_t entryOffset = static_cast<uint32_t>(data16); in parse_data() local
270 print("", "entry offset", entryOffset, ""); in parse_data()
279 uint32_t resID = (packageId << 24) | (targetTypeId << 16) | (entryOffset + i); in parse_data()