Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/
DMathTests.cpp100 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/
DSlabAllocatorTests.cpp63 EXPECT_TRUE(IsPtrAligned(objects[i], alignof(Foo))); in TEST()
88 EXPECT_TRUE(IsPtrAligned(objects[i], 256)); in TEST()
DMathTests.cpp184 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/
DCommandAllocator.cpp162 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/
DMath.h30 bool IsPtrAligned(const void* ptr, size_t alignment);
DMath.cpp55 bool IsPtrAligned(const void* ptr, size_t alignment) { in IsPtrAligned() function
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBindGroupLayout.cpp534 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()
DCommandAllocator.cpp175 ASSERT(IsPtrAligned(mCurrentPtr, alignof(uint32_t))); in AcquireBlocks()
DCommandAllocator.h214 ASSERT(IsPtrAligned(mCurrentPtr, alignof(uint32_t))); in Allocate()
/third_party/skia/third_party/externals/dawn/src/common/
DMath.h51 bool IsPtrAligned(const void* ptr, size_t alignment);
DMath.cpp87 bool IsPtrAligned(const void* ptr, size_t alignment) { in IsPtrAligned() function