Lines Matching refs:NumBytesRemaining
312 size_t remaining = all.NumBytesRemaining(); in TYPED_TEST()
314 ASSERT_EQ(remaining, all.NumBytesRemaining()); in TYPED_TEST()
318 ASSERT_EQ(static_cast<size_t>(0), all.NumBytesRemaining()); in TYPED_TEST()
322 ASSERT_EQ(static_cast<size_t>(0), all.NumBytesRemaining()); in TYPED_TEST()
329 ASSERT_EQ(static_cast<size_t>(0), empty.NumBytesRemaining()); in TYPED_TEST()
333 ASSERT_EQ(static_cast<size_t>(0), empty.NumBytesRemaining()); in TYPED_TEST()
337 auto fullrange = all.Subrange(0, all.NumBytesRemaining()); in TYPED_TEST()
338 ASSERT_EQ(all.NumBytesRemaining(), fullrange.NumBytesRemaining()); in TYPED_TEST()
341 fullrange = all.Subrange(0, all.NumBytesRemaining() + 1); in TYPED_TEST()
342 ASSERT_EQ(all.NumBytesRemaining(), fullrange.NumBytesRemaining()); in TYPED_TEST()
345 fullrange = all.Subrange(0, all.NumBytesRemaining() + 10); in TYPED_TEST()
346 ASSERT_EQ(all.NumBytesRemaining(), fullrange.NumBytesRemaining()); in TYPED_TEST()
350 ASSERT_EQ(1, subrange.NumBytesRemaining()); in TYPED_TEST()
354 ASSERT_EQ(4, subrange.NumBytesRemaining()); in TYPED_TEST()
358 ASSERT_EQ(3, subrange.NumBytesRemaining()); in TYPED_TEST()
361 subrange = all.Subrange(0, all.NumBytesRemaining() - 1); in TYPED_TEST()
362 ASSERT_EQ(all.NumBytesRemaining() - 1, subrange.NumBytesRemaining()); in TYPED_TEST()
365 subrange = all.Subrange(0, all.NumBytesRemaining() - 2); in TYPED_TEST()
366 ASSERT_EQ(all.NumBytesRemaining() - 2, subrange.NumBytesRemaining()); in TYPED_TEST()
369 subrange = all.Subrange(1, all.NumBytesRemaining()); in TYPED_TEST()
370 ASSERT_EQ(all.NumBytesRemaining() - 1, subrange.NumBytesRemaining()); in TYPED_TEST()
373 subrange = all.Subrange(2, all.NumBytesRemaining()); in TYPED_TEST()
374 ASSERT_EQ(all.NumBytesRemaining() - 2, subrange.NumBytesRemaining()); in TYPED_TEST()
377 subrange = all.Subrange(1, all.NumBytesRemaining() - 1); in TYPED_TEST()
378 ASSERT_EQ(all.NumBytesRemaining() - 1, subrange.NumBytesRemaining()); in TYPED_TEST()
381 subrange = all.Subrange(2, all.NumBytesRemaining() - 2); in TYPED_TEST()
382 ASSERT_EQ(all.NumBytesRemaining() - 2, subrange.NumBytesRemaining()); in TYPED_TEST()
386 ASSERT_EQ(1, subrange.NumBytesRemaining()); in TYPED_TEST()
390 ASSERT_EQ(2, subrange.NumBytesRemaining()); in TYPED_TEST()
394 ASSERT_EQ(1, subrange.NumBytesRemaining()); in TYPED_TEST()
398 ASSERT_EQ(static_cast<size_t>(1), subrange.NumBytesRemaining()); in TYPED_TEST()