Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/androidfw/
H A DTypeWrappers.cpp27 const uint32_t* const entryIndices = reinterpret_cast<const uint32_t*>( in TypeVariant() local
29 if (reinterpret_cast<uintptr_t>(entryIndices) + (sizeof(uint32_t) * entryCount) in TypeVariant()
34 mLength = ResTable_sparseTypeEntry{entryIndices[entryCount - 1]}.idx + 1; in TypeVariant()
60 const uint32_t* const entryIndices = reinterpret_cast<const uint32_t*>( in operator *() local
62 … if (reinterpret_cast<uintptr_t>(entryIndices) + (sizeof(uint32_t) * entryCount) > containerEnd) { in operator *()
69 auto iter = std::lower_bound(entryIndices, entryIndices + entryCount, mIndex, keyCompare); in operator *()
70 if (iter == entryIndices + entryCount in operator *()
77 entryOffset = dtohl(entryIndices[mIndex]); in operator *()