Searched defs:alignBytes (Results 1 - 3 of 3) sorted by relevance
/external/deqp/framework/delibs/debase/ |
H A D | deMemory.c | 84 void* deAlignedMalloc (int numBytes, int alignBytes) argument 87 deUintptr origPtr = (deUintptr)deMalloc(numBytes + ptrSize + alignBytes); 90 deUintptr alignedPtr = (deUintptr)deAlignPtr((void*)(origPtr + ptrSize), alignBytes); 92 DE_ASSERT(deInRange32(alignBytes, 0, 256) && deIsPowerOfTwo32(alignBytes));
|
/external/deqp/framework/delibs/decpp/ |
H A D | deMemPool.hpp | 52 void* alignedAlloc (deUintptr numBytes, deUint32 alignBytes); 96 inline void* MemPool::alignedAlloc (deUintptr numBytes, deUint32 alignBytes) argument 100 void* ptr = deMemPool_alignedAlloc(m_pool, (int)numBytes, alignBytes);
|
/external/deqp/framework/delibs/depool/ |
H A D | deMemPool.c | 426 DE_INLINE void* deMemPool_allocInternal (deMemPool* pool, int numBytes, deUint32 alignBytes) argument 442 void* ptr = deAlignedMalloc(numBytes, alignBytes); 460 DE_ASSERT(deIsPowerOfTwo32(alignBytes)); 463 void* alignedPtr = deAlignPtr(curPagePtr, alignBytes); 469 int maxAlignPadding = deMax32(0, alignBytes-MEM_PAGE_BASE_ALIGN); 482 alignedPtr = deAlignPtr(curPagePtr, alignBytes); 514 * \param alignBytes Required alignment in bytes, must be power of two. 517 void* deMemPool_alignedAlloc (deMemPool* pool, int numBytes, deUint32 alignBytes) argument 522 DE_ASSERT(deIsPowerOfTwo32((int)alignBytes)); 523 ptr = deMemPool_allocInternal(pool, numBytes, alignBytes); [all...] |
Completed in 129 milliseconds