Searched refs:alignedPtr (Results 1 – 6 of 6) sorted by relevance
/third_party/vk-gl-cts/framework/delibs/depool/ |
D | deMemPool.c | 463 void* alignedPtr = deAlignPtr(curPagePtr, alignBytes); in deMemPool_allocInternal() local 464 size_t alignPadding = (size_t)((deUintptr)alignedPtr - (deUintptr)curPagePtr); in deMemPool_allocInternal() 482 alignedPtr = deAlignPtr(curPagePtr, alignBytes); in deMemPool_allocInternal() 483 alignPadding = (size_t)((deUintptr)alignedPtr - (deUintptr)curPagePtr); in deMemPool_allocInternal() 489 return alignedPtr; in deMemPool_allocInternal()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
D | deMemory.c | 172 …void* const alignedPtr = deAlignPtr((void*)((deUintptr)basePtr + sizeof(AlignedAllocHeader)), … in deAlignedMalloc() 173 AlignedAllocHeader* const hdr = getAlignedAllocHeader(alignedPtr); in deAlignedMalloc() 178 return alignedPtr; in deAlignedMalloc()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | SlabAllocator.cpp | 233 char* alignedPtr = AlignPtr(allocation, mAllocationAlignment); in GetNewSlab() local 235 char* dataStart = alignedPtr + mSlabBlocksOffset; in GetNewSlab() 245 mAvailableSlabs.Prepend(new (alignedPtr) Slab(allocation, node)); in GetNewSlab()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | PoolAlloc.cpp | 86 uint8_t *alignedPtr = memory + kGuardBlockSize + HeaderSize(); in GetDataPointer() local 89 ASSERT((reinterpret_cast<uintptr_t>(alignedPtr) & (alignment - 1)) == 0); in GetDataPointer() 91 return alignedPtr; in GetDataPointer()
|
/third_party/skia/src/core/ |
D | SkBlockAllocator.h | 639 uintptr_t alignedPtr = (blockPtr + offset + Padding + Align - 1) & ~(Align - 1); in alignedOffset() local 640 SkASSERT(alignedPtr - blockPtr <= (uintptr_t) std::numeric_limits<int32_t>::max()); in alignedOffset() 641 return (int) (alignedPtr - blockPtr); in alignedOffset()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | SubzeroReactor.cpp | 830 void *alignedPtr = std::align(alignment, size, ptr, space); in addConstantData() local 837 if(memcmp(data, alignedPtr, size) == 0) in addConstantData() 839 return alignedPtr; in addConstantData() 847 void *alignedPtr = std::align(alignment, size, ptr, space); in addConstantData() local 848 ASSERT(alignedPtr); in addConstantData() 849 memcpy(alignedPtr, data, size); in addConstantData() 852 return alignedPtr; in addConstantData()
|