Lines Matching refs:fEnd
104 REPORTER_ASSERT(r, br.fEnd - br.fAlignedOffset >= size); in DEF_TEST()
114 reinterpret_cast<uintptr_t>(prevBR->fBlock->ptr(prevBR->fEnd - 1)); in DEF_TEST()
120 std::memset(br.fBlock->ptr(br.fAlignedOffset), 0xFF, br.fEnd - br.fAlignedOffset); in DEF_TEST()
180 REPORTER_ASSERT(r, p.fBlock->resize(p.fStart, p.fEnd, 16)); in DEF_TEST()
181 p.fEnd += 16; in DEF_TEST()
183 std::memset(p.fBlock->ptr(p.fAlignedOffset), 0x11, p.fEnd - p.fAlignedOffset); in DEF_TEST()
190 REPORTER_ASSERT(r, !p.fBlock->resize(p.fStart, p.fEnd, 48)); in DEF_TEST()
193 REPORTER_ASSERT(r, p.fBlock->release(pNext.fStart, pNext.fEnd)); in DEF_TEST()
195 REPORTER_ASSERT(r, p.fBlock->resize(p.fStart, p.fEnd, fillBlock)); in DEF_TEST()
196 p.fEnd += fillBlock; in DEF_TEST()
198 std::memset(p.fBlock->ptr(p.fAlignedOffset), 0x22, p.fEnd - p.fAlignedOffset); in DEF_TEST()
202 REPORTER_ASSERT(r, !p.fBlock->resize(p.fStart, p.fEnd, fillBlock)); in DEF_TEST()
205 int shrinkTo32 = p.fStart - p.fEnd + 32; in DEF_TEST()
206 REPORTER_ASSERT(r, p.fBlock->resize(p.fStart, p.fEnd, shrinkTo32)); in DEF_TEST()
207 p.fEnd += shrinkTo32; in DEF_TEST()
208 REPORTER_ASSERT(r, p.fEnd - p.fStart == 32); in DEF_TEST()
210 std::memset(p.fBlock->ptr(p.fAlignedOffset), 0x33, p.fEnd - p.fAlignedOffset); in DEF_TEST()
218 int shrinkTo0 = pNext.fStart - pNext.fEnd; in DEF_TEST()
221 REPORTER_ASSERT(r, !pNext.fBlock->resize(pNext.fStart, pNext.fEnd, shrinkTo0 - 1)); in DEF_TEST()
223 REPORTER_ASSERT(r, pNext.fBlock->resize(pNext.fStart, pNext.fEnd, shrinkTo0)); in DEF_TEST()
232 REPORTER_ASSERT(r, pool->currentBlock()->release(p.fStart, p.fEnd)); in DEF_TEST()
240 REPORTER_ASSERT(r, !p2.fBlock->release(p2.fStart, p2.fEnd)); in DEF_TEST()
246 REPORTER_ASSERT(r, p5.fBlock->release(p5.fStart, p5.fEnd)); in DEF_TEST()
247 REPORTER_ASSERT(r, p4.fBlock->release(p4.fStart, p4.fEnd)); in DEF_TEST()
248 REPORTER_ASSERT(r, p2.fBlock->release(p2.fStart, p3.fEnd)); in DEF_TEST()
252 REPORTER_ASSERT(r, !p.fBlock->release(p.fStart, p.fEnd - 16)); in DEF_TEST()
253 REPORTER_ASSERT(r, !p.fBlock->release(p.fStart, p.fEnd + 16)); in DEF_TEST()
254 REPORTER_ASSERT(r, p.fBlock->release(p.fStart, p.fEnd)); in DEF_TEST()
273 REPORTER_ASSERT(r, br.fBlock->release(br.fStart, br.fEnd)); in DEF_TEST()