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