Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DCursorWindow.cpp114 static_cast<uint8_t*>(mData), mAllocOffset); in maybeInflate()
227 static_cast<uint8_t*>(mData), mAllocOffset); in writeToParcel()
243 mAllocOffset = 0; in clear()
292 if (newOffset < (int32_t) mAllocOffset) { in allocRow()
295 if (newOffset < (int32_t) mAllocOffset) { in allocRow()
326 size_t newOffset = mAllocOffset + alignedSize; in alloc()
329 newOffset = mAllocOffset + alignedSize; in alloc()
334 *outOffset = mAllocOffset; in alloc()
335 mAllocOffset = newOffset; in alloc()
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h89 inline size_t freeSpace() { return mSlotsOffset - mAllocOffset; } in freeSpace()
94 inline size_t sizeInUse() const { return mAllocOffset + sizeOfSlots(); } in sizeInUse()
145 mAshmemFd, mSize, mInflatedSize, mAllocOffset, mSlotsOffset, mNumRows, mNumColumns); in toString()
169 uint32_t mAllocOffset = 0; variable