Searched refs:IsPtrAligned (Results 1 – 11 of 11) sorted by relevance
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/ |
D | MathTests.cpp | 100 TEST(Math, IsPtrAligned) { in TEST() argument 109 ASSERT_EQ(IsPtrAligned(unaligned, kTestAlignment), unaligned == aligned); in TEST()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | SlabAllocatorTests.cpp | 63 EXPECT_TRUE(IsPtrAligned(objects[i], alignof(Foo))); in TEST() 88 EXPECT_TRUE(IsPtrAligned(objects[i], 256)); in TEST()
|
D | MathTests.cpp | 184 TEST(Math, IsPtrAligned) { in TEST() argument 193 ASSERT_EQ(IsPtrAligned(unaligned, kTestAlignment), unaligned == aligned); in TEST()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | CommandAllocator.cpp | 162 ASSERT(IsPtrAligned(mCurrentPtr, alignof(uint32_t))); in AcquireBlocks() 179 ASSERT(IsPtrAligned(mCurrentPtr, alignof(uint32_t))); in Allocate()
|
/third_party/flutter/skia/third_party/externals/dawn/src/common/ |
D | Math.h | 30 bool IsPtrAligned(const void* ptr, size_t alignment);
|
D | Math.cpp | 55 bool IsPtrAligned(const void* ptr, size_t alignment) { in IsPtrAligned() function
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | BindGroupLayout.cpp | 534 ASSERT(IsPtrAligned(bufferData, alignof(BufferBindingData))); in ComputeBindingDataPointers() 535 ASSERT(IsPtrAligned(bindings, alignof(Ref<ObjectBase>))); in ComputeBindingDataPointers() 536 ASSERT(IsPtrAligned(unverifiedBufferSizes, alignof(uint64_t))); in ComputeBindingDataPointers()
|
D | CommandAllocator.cpp | 175 ASSERT(IsPtrAligned(mCurrentPtr, alignof(uint32_t))); in AcquireBlocks()
|
D | CommandAllocator.h | 214 ASSERT(IsPtrAligned(mCurrentPtr, alignof(uint32_t))); in Allocate()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | Math.h | 51 bool IsPtrAligned(const void* ptr, size_t alignment);
|
D | Math.cpp | 87 bool IsPtrAligned(const void* ptr, size_t alignment) { in IsPtrAligned() function
|