Lines Matching refs:all
307 auto all = this->packet->begin(); in TYPED_TEST() local
308 size_t remaining = all.NumBytesRemaining(); in TYPED_TEST()
310 ASSERT_EQ(remaining, all.NumBytesRemaining()); in TYPED_TEST()
311 all++; in TYPED_TEST()
314 ASSERT_EQ(static_cast<size_t>(0), all.NumBytesRemaining()); in TYPED_TEST()
315 ASSERT_DEATH(*(all++), ""); in TYPED_TEST()
316 all++; in TYPED_TEST()
317 ASSERT_EQ(static_cast<size_t>(0), all.NumBytesRemaining()); in TYPED_TEST()
318 ASSERT_DEATH(*(all++), ""); in TYPED_TEST()
330 auto all = this->packet->begin(); in TYPED_TEST() local
331 auto fullrange = all.Subrange(0, all.NumBytesRemaining()); in TYPED_TEST()
332 ASSERT_EQ(all.NumBytesRemaining(), fullrange.NumBytesRemaining()); in TYPED_TEST()
333 ASSERT_EQ(*(all + 1), 1); in TYPED_TEST()
335 fullrange = all.Subrange(0, all.NumBytesRemaining() + 1); in TYPED_TEST()
336 ASSERT_EQ(all.NumBytesRemaining(), fullrange.NumBytesRemaining()); in TYPED_TEST()
337 ASSERT_EQ(*(all + 1), 1); in TYPED_TEST()
339 fullrange = all.Subrange(0, all.NumBytesRemaining() + 10); in TYPED_TEST()
340 ASSERT_EQ(all.NumBytesRemaining(), fullrange.NumBytesRemaining()); in TYPED_TEST()
341 ASSERT_EQ(*(all + 1), 1); in TYPED_TEST()
343 auto subrange = all.Subrange(0, 1); in TYPED_TEST()
351 subrange = all.Subrange(0, 3); in TYPED_TEST()
355 subrange = all.Subrange(0, all.NumBytesRemaining() - 1); in TYPED_TEST()
356 ASSERT_EQ(all.NumBytesRemaining() - 1, subrange.NumBytesRemaining()); in TYPED_TEST()
359 subrange = all.Subrange(0, all.NumBytesRemaining() - 2); in TYPED_TEST()
360 ASSERT_EQ(all.NumBytesRemaining() - 2, subrange.NumBytesRemaining()); in TYPED_TEST()
363 subrange = all.Subrange(1, all.NumBytesRemaining()); in TYPED_TEST()
364 ASSERT_EQ(all.NumBytesRemaining() - 1, subrange.NumBytesRemaining()); in TYPED_TEST()
367 subrange = all.Subrange(2, all.NumBytesRemaining()); in TYPED_TEST()
368 ASSERT_EQ(all.NumBytesRemaining() - 2, subrange.NumBytesRemaining()); in TYPED_TEST()
371 subrange = all.Subrange(1, all.NumBytesRemaining() - 1); in TYPED_TEST()
372 ASSERT_EQ(all.NumBytesRemaining() - 1, subrange.NumBytesRemaining()); in TYPED_TEST()
375 subrange = all.Subrange(2, all.NumBytesRemaining() - 2); in TYPED_TEST()
376 ASSERT_EQ(all.NumBytesRemaining() - 2, subrange.NumBytesRemaining()); in TYPED_TEST()
379 subrange = all.Subrange(1, 1); in TYPED_TEST()
383 subrange = all.Subrange(1, 2); in TYPED_TEST()
387 subrange = all.Subrange(2, 1); in TYPED_TEST()