Searched refs:alignPadding (Results 1 – 2 of 2) sorted by relevance
464 size_t alignPadding = (size_t)((deUintptr)alignedPtr - (deUintptr)curPagePtr); in deMemPool_allocInternal() local466 if (numBytes + alignPadding > (size_t)(curPage->capacity - curPage->bytesAllocated)) in deMemPool_allocInternal()483 alignPadding = (size_t)((deUintptr)alignedPtr - (deUintptr)curPagePtr); in deMemPool_allocInternal()485 DE_ASSERT(numBytes + alignPadding <= (size_t)curPage->capacity); in deMemPool_allocInternal()488 curPage->bytesAllocated += (int)(numBytes + alignPadding); in deMemPool_allocInternal()
332 deUintptr alignPadding = (deUintptr)newPage - (deUintptr)oldPageTable; in reserve() local334 if (oldPageTableSize < pageAllocSize+alignPadding) in reserve()342 oldPageTableSize -= pageAllocSize+alignPadding; in reserve()