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.cpp6359 size_t entryOffset; member
6407 typeMap.entryOffset = 0; in createIdmap()
6414 typeMap.entryOffset++; in createIdmap()
6429 typeMap.entryOffset++; in createIdmap()
6445 if (typeMap.entryOffset + typeMap.entryMap.size() < entryIndex) { in createIdmap()
6448 size_t numItems = entryIndex - (typeMap.entryOffset + index); in createIdmap()
6502 *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()