Home
last modified time | relevance | path

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

/external/skqp/include/private/
DSkArenaAlloc.h161 uintptr_t alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject() local
162 uintptr_t totalSize = size + alignedOffset; in allocObject()
166 alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject()
168 return fCursor + alignedOffset; in allocObject()
/external/skia/src/gpu/
DGrMemoryPool.cpp116 intptr_t alignedOffset = (intptr_t)p - (intptr_t)block; in release() local
117 SkASSERT(p == block->ptr(alignedOffset)); in release()
120 memset(p, 0xDD, header->fEnd - alignedOffset); in release()
DGrBlockAllocator.h86 int firstAlignedOffset() const { return this->alignedOffset<Align, Padding>(kDataStart); } in firstAlignedOffset()
139 int cursor() const { return this->alignedOffset<Align, Padding>(fCursor); } in cursor()
142 int alignedOffset(int offset) const;
620 int GrBlockAllocator::Block::alignedOffset(int offset) const { in alignedOffset() function
/external/skia/src/core/
DSkArenaAlloc.h221 uintptr_t alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject() local
222 uintptr_t totalSize = size + alignedOffset; in allocObject()
226 alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; in allocObject()
229 char* object = fCursor + alignedOffset; in allocObject()
/external/llvm-project/llvm/unittests/Support/
DAlignmentTest.cpp217 uint64_t alignedOffset; in TEST() member
229 EXPECT_EQ(offsetToAlignment(T.offset, A), T.alignedOffset); in TEST()
230 EXPECT_EQ(offsetToAlignedAddr(T.forgedAddr(), A), T.alignedOffset); in TEST()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_t_r_a_k.py75 alignedOffset = (offset + 3) & ~3
76 padding, offset = b"\x00"*(alignedOffset - offset), alignedOffset
/external/angle/src/libANGLE/renderer/metal/
DVertexArrayMtl.mm713 size_t alignedOffset = offset - offsetModulo;
717 alignedOffset = alignedOffset << 1;
732 *idxBufferOffsetOut = conversion->convertedOffset + alignedOffset;
753 *idxBufferOffsetOut = conversion->convertedOffset + alignedOffset;
/external/angle/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp774 VkDeviceSize alignedOffset = (offset / requiredOffsetAlignment) * requiredOffsetAlignment; in WriteBufferDescriptorSetBinding() local
775 VkDeviceSize offsetDiff = offset - alignedOffset; in WriteBufferDescriptorSetBinding()
777 offset = alignedOffset; in WriteBufferDescriptorSetBinding()
DContextVk.cpp4674 VkDeviceSize alignedOffset = (offset / offsetAlignment) * offsetAlignment; in writeAtomicCounterBufferDriverUniformOffsets() local
4677 ASSERT((offset - alignedOffset) % sizeof(uint32_t) == 0); in writeAtomicCounterBufferDriverUniformOffsets()
4678 offsetDiff = static_cast<uint32_t>((offset - alignedOffset) / sizeof(uint32_t)); in writeAtomicCounterBufferDriverUniformOffsets()