Home
last modified time | relevance | path

Searched refs:AlignedAllocHeader (Results 1 – 1 of 1) sorted by relevance

/external/deqp/framework/delibs/debase/
DdeMemory.c124 } AlignedAllocHeader; typedef
126 DE_INLINE AlignedAllocHeader* getAlignedAllocHeader (void* ptr) in getAlignedAllocHeader()
128 const size_t hdrSize = sizeof(AlignedAllocHeader); in getAlignedAllocHeader()
131 return (AlignedAllocHeader*)hdrAddr; in getAlignedAllocHeader()
162 void* const basePtr = deMalloc(numBytes + alignBytes + sizeof(AlignedAllocHeader)); in deAlignedMalloc()
168 …void* const alignedPtr = deAlignPtr((void*)((deUintptr)basePtr + sizeof(AlignedAllocHeader)), … in deAlignedMalloc()
169 AlignedAllocHeader* const hdr = getAlignedAllocHeader(alignedPtr); in deAlignedMalloc()
246 AlignedAllocHeader* const hdr = getAlignedAllocHeader(ptr); in deAlignedFree()