Searched refs:alignmentMask (Results 1 – 13 of 13) sorted by relevance
82 alignmentMask = a - 1; in TPoolAllocator()103 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()269 currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask; in allocate()316 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()320 void *alloc = malloc(numBytes + alignmentMask); in allocate()324 intAlloc = (intAlloc + alignmentMask) & ~alignmentMask; in allocate()
166 size_t alignmentMask; variable
104 alignmentMask = a - 1; in TPoolAllocator()111 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()258 currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask; in allocate()301 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
188 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_offset() local191 alignmentMask = 0xF; in get_ubo_offset()193 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_offset()195 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_offset()
183 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_ubo_aligned_offset() local186 alignmentMask = 0xF; in get_ubo_aligned_offset()188 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_ubo_aligned_offset()190 offsetDiff = alignmentMask - offsetDiff + 1; in get_ubo_aligned_offset()
652 const size_t alignmentMask = 0x3 | (bpp - 1); in uploadTexDataOptimal() local659 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in uploadTexDataOptimal()661 combinedBufferSize += alignmentMask - alignmentDiff + 1; in uploadTexDataOptimal()1465 const size_t alignmentMask = 0x3 | (bpp - 1); in createTestingOnlyVkImage() local1476 const size_t alignmentDiff = combinedBufferSize & alignmentMask; in createTestingOnlyVkImage()1478 combinedBufferSize += alignmentMask - alignmentDiff + 1; in createTestingOnlyVkImage()
195 uint32_t alignmentMask = grsltype_to_alignment_mask(type); in get_aligned_offset() local198 alignmentMask = 0xF; in get_aligned_offset()200 uint32_t offsetDiff = *currentOffset & alignmentMask; in get_aligned_offset()202 offsetDiff = alignmentMask - offsetDiff + 1; in get_aligned_offset()
193 uint32_t alignmentMask = grsltype_to_alignment_mask(type);194 if (alignmentMask > *maxAlignment) {195 *maxAlignment = alignmentMask;197 uint32_t offsetDiff = *currentOffset & alignmentMask;199 offsetDiff = alignmentMask - offsetDiff + 1;
469 const size_t alignmentMask = 0x3 | (bpp - 1);473 const size_t alignmentDiff = combinedBufferSize & alignmentMask;475 combinedBufferSize += alignmentMask - alignmentDiff + 1;
179 uint32_t alignmentMask = grsltype_to_alignment_mask(type);180 uint32_t offsetDiff = *currentOffset & alignmentMask;182 offsetDiff = alignmentMask - offsetDiff + 1;
232 size_t alignmentMask; in initializeAllocation() variable