Searched refs:curPage (Results 1 – 1 of 1) sorted by relevance
428 MemPage* curPage = pool->currentPage; in deMemPool_allocInternal() local459 DE_ASSERT(curPage); in deMemPool_allocInternal()462 void* curPagePtr = (void*)((deUint8*)(curPage + 1) + curPage->bytesAllocated); in deMemPool_allocInternal()466 if (numBytes + alignPadding > curPage->capacity - curPage->bytesAllocated) in deMemPool_allocInternal()470 …int newPageCapacity = deMax32(deMin32(2*curPage->capacity, MAX_PAGE_SIZE), numBytes+maxAlignPadd… in deMemPool_allocInternal()472 curPage = MemPage_create(newPageCapacity); in deMemPool_allocInternal()473 if (!curPage) in deMemPool_allocInternal()476 curPage->nextPage = pool->currentPage; in deMemPool_allocInternal()477 pool->currentPage = curPage; in deMemPool_allocInternal()479 DE_ASSERT(curPage->bytesAllocated == 0); in deMemPool_allocInternal()[all …]