Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/common/
DPoolAlloc.cpp207 mCurrentPageOffset = mPageSize; in initialize()
271 AllocState state = {mCurrentPageOffset, mInUseList}; in push()
278 mCurrentPageOffset = mPageSize; in push()
297 mCurrentPageOffset = mStack.back().offset; in pop()
348 uint8_t *currentPagePtr = reinterpret_cast<uint8_t *>(mInUseList) + mCurrentPageOffset; in allocate()
358 if (allocationSize <= mPageSize - mCurrentPageOffset) in allocate()
362 mCurrentPageOffset += allocationSize; in allocate()
393 mCurrentPageOffset = mPageSize; in allocate()
440 mCurrentPageOffset = mPageHeaderSkip; in allocateNewPage()
441 uint8_t *currentPagePtr = reinterpret_cast<uint8_t *>(mInUseList) + mCurrentPageOffset; in allocateNewPage()
[all …]
DPoolAlloc.h113 if (numBytes <= mPageSize - mCurrentPageOffset) in fastAllocate()
118 uint8_t *memory = reinterpret_cast<uint8_t *>(mInUseList) + mCurrentPageOffset; in fastAllocate()
119 mCurrentPageOffset += numBytes; in fastAllocate()
160 size_t mCurrentPageOffset; variable