Home
last modified time | relevance | path

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

/external/skia/tests/
DGrBlockAllocatorTest.cpp548 struct alignas(32) TestMetaBig { struct
572 SkASSERT(alignof(TestMetaBig) == 32); in DEF_TEST() argument
573 auto p2 = pool->allocate<alignof(TestMetaBig), sizeof(TestMetaBig)>(16); in DEF_TEST()
576 REPORTER_ASSERT(r, p2.fAlignedOffset - p2.fStart >= (int) sizeof(TestMetaBig)); in DEF_TEST()
577 TestMetaBig* metaBig = static_cast<TestMetaBig*>( in DEF_TEST()
578 p2.fBlock->ptr(p2.fAlignedOffset - sizeof(TestMetaBig))); in DEF_TEST()
580 REPORTER_ASSERT(r, reinterpret_cast<uintptr_t>(metaBig) % alignof(TestMetaBig) == 0); in DEF_TEST()