Searched refs:alignBytes (Results 1 – 5 of 5) sorted by relevance
/external/deqp/framework/delibs/debase/ |
D | deMemory.c | 84 void* deAlignedMalloc (int numBytes, int alignBytes) in deAlignedMalloc() argument 87 deUintptr origPtr = (deUintptr)deMalloc(numBytes + ptrSize + alignBytes); in deAlignedMalloc() 90 deUintptr alignedPtr = (deUintptr)deAlignPtr((void*)(origPtr + ptrSize), alignBytes); in deAlignedMalloc() 92 DE_ASSERT(deInRange32(alignBytes, 0, 256) && deIsPowerOfTwo32(alignBytes)); in deAlignedMalloc()
|
D | deMemory.h | 40 void* deAlignedMalloc (int numBytes, int alignBytes);
|
/external/deqp/framework/delibs/depool/ |
D | deMemPool.c | 426 DE_INLINE void* deMemPool_allocInternal (deMemPool* pool, int numBytes, deUint32 alignBytes) in deMemPool_allocInternal() argument 442 void* ptr = deAlignedMalloc(numBytes, alignBytes); in deMemPool_allocInternal() 460 DE_ASSERT(deIsPowerOfTwo32(alignBytes)); in deMemPool_allocInternal() 463 void* alignedPtr = deAlignPtr(curPagePtr, alignBytes); in deMemPool_allocInternal() 469 int maxAlignPadding = deMax32(0, alignBytes-MEM_PAGE_BASE_ALIGN); in deMemPool_allocInternal() 482 alignedPtr = deAlignPtr(curPagePtr, alignBytes); in deMemPool_allocInternal() 517 void* deMemPool_alignedAlloc (deMemPool* pool, int numBytes, deUint32 alignBytes) in deMemPool_alignedAlloc() argument 522 DE_ASSERT(deIsPowerOfTwo32((int)alignBytes)); in deMemPool_alignedAlloc() 523 ptr = deMemPool_allocInternal(pool, numBytes, alignBytes); in deMemPool_alignedAlloc() 524 DE_ASSERT(deIsAlignedPtr(ptr, alignBytes)); in deMemPool_alignedAlloc()
|
D | deMemPool.h | 73 void* deMemPool_alignedAlloc (deMemPool* pool, int numBytes, deUint32 alignBytes);
|
/external/deqp/framework/delibs/decpp/ |
D | deMemPool.hpp | 52 void* alignedAlloc (deUintptr numBytes, deUint32 alignBytes); 96 inline void* MemPool::alignedAlloc (deUintptr numBytes, deUint32 alignBytes) in alignedAlloc() argument 100 void* ptr = deMemPool_alignedAlloc(m_pool, (int)numBytes, alignBytes); in alignedAlloc()
|