Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp114 static_cast<uint8_t*>(mData), mAllocOffset); in maybeInflate()
222 size_t compactedSize = mAllocOffset + slotsSize; in writeToParcel()
229 static_cast<uint8_t*>(mData), mAllocOffset); in writeToParcel()
245 mAllocOffset = 0; in clear()
294 if (newOffset < (int32_t) mAllocOffset) { in allocRow()
297 if (newOffset < (int32_t) mAllocOffset) { in allocRow()
328 size_t newOffset = mAllocOffset + alignedSize; in alloc()
331 newOffset = mAllocOffset + alignedSize; in alloc()
336 *outOffset = mAllocOffset; in alloc()
337 mAllocOffset = newOffset; in alloc()
/aosp12/frameworks/base/libs/androidfw/include/androidfw/
H A DCursorWindow.h89 inline size_t freeSpace() { return mSlotsOffset - mAllocOffset; } in freeSpace()
142 mAshmemFd, mSize, mInflatedSize, mAllocOffset, mSlotsOffset, mNumRows, mNumColumns); in toString()
166 uint32_t mAllocOffset = 0; variable