Lines Matching refs:fAlignedOffset
64 return br.fBlock->ptr(br.fAlignedOffset); in alloc_byte()
100 uintptr_t pt = reinterpret_cast<uintptr_t>(br.fBlock->ptr(br.fAlignedOffset)); in DEF_TEST()
104 REPORTER_ASSERT(r, br.fEnd - br.fAlignedOffset >= size); in DEF_TEST()
106 REPORTER_ASSERT(r, br.fAlignedOffset - br.fStart >= 0); in DEF_TEST()
107 REPORTER_ASSERT(r, br.fAlignedOffset - br.fStart <= align - 1); in DEF_TEST()
120 std::memset(br.fBlock->ptr(br.fAlignedOffset), 0xFF, br.fEnd - br.fAlignedOffset); in DEF_TEST()
183 std::memset(p.fBlock->ptr(p.fAlignedOffset), 0x11, p.fEnd - p.fAlignedOffset); in DEF_TEST()
187 REPORTER_ASSERT(r, reinterpret_cast<uintptr_t>(pNext.fBlock->ptr(pNext.fAlignedOffset)) - in DEF_TEST()
188 reinterpret_cast<uintptr_t>(pNext.fBlock->ptr(p.fAlignedOffset)) == 32); in DEF_TEST()
198 std::memset(p.fBlock->ptr(p.fAlignedOffset), 0x22, p.fEnd - p.fAlignedOffset); in DEF_TEST()
210 std::memset(p.fBlock->ptr(p.fAlignedOffset), 0x33, p.fEnd - p.fAlignedOffset); in DEF_TEST()
213 REPORTER_ASSERT(r, reinterpret_cast<uintptr_t>(pNext.fBlock->ptr(pNext.fAlignedOffset)) - in DEF_TEST()
214 reinterpret_cast<uintptr_t>(pNext.fBlock->ptr(p.fAlignedOffset)) == 32); in DEF_TEST()
562 REPORTER_ASSERT(r, p1.fAlignedOffset - p1.fStart >= (int) sizeof(TestMeta)); in DEF_TEST()
563 TestMeta* meta = static_cast<TestMeta*>(p1.fBlock->ptr(p1.fAlignedOffset - sizeof(TestMeta))); in DEF_TEST()
566 REPORTER_ASSERT(r, reinterpret_cast<uintptr_t>(p1.fBlock->ptr(p1.fAlignedOffset)) % 16 == 0); in DEF_TEST()
576 REPORTER_ASSERT(r, p2.fAlignedOffset - p2.fStart >= (int) sizeof(TestMetaBig)); in DEF_TEST()
578 p2.fBlock->ptr(p2.fAlignedOffset - sizeof(TestMetaBig))); in DEF_TEST()
581 REPORTER_ASSERT(r, reinterpret_cast<uintptr_t>(p2.fBlock->ptr(p2.fAlignedOffset)) % 16 == 0); in DEF_TEST()
614 void* userPtr = br.fBlock->ptr(br.fAlignedOffset); in run_owning_block_test()
615 void* metaPtr = br.fBlock->ptr(br.fAlignedOffset - Padding); in run_owning_block_test()
623 block = reinterpret_cast<Block*>(reinterpret_cast<uintptr_t>(userPtr) - br.fAlignedOffset); in run_owning_block_test()