Lines Matching refs:count_all

31 vector<uint8_t> count_all = {  variable
61 …ared_ptr<T>(new T({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size())})… in SetUp()
96 … PacketView<true>({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size())});
119 … PacketView<true>({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size())});
133 …PacketView<true> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.siz… in TEST()
147 …PacketView<false> packet({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.si… in TEST()
178 for (size_t i = 0; i < count_all.size(); i += 2) { in TYPED_TEST()
179 …ASSERT_EQ(count_all[i], *plus_eq) << "+= test: Dereferenced iterator does not equal expected at in… in TYPED_TEST()
186 for (size_t i = 0; i < count_all.size() - 1; i++) { in TYPED_TEST()
187 …ASSERT_EQ(count_all[i + 1], *(++plus_plus)) << "Pre-increment test: Dereferenced iterator does not… in TYPED_TEST()
194 for (size_t i = 0; i < count_all.size(); i++) { in TYPED_TEST()
195 ASSERT_EQ(count_all[i], plus_plus.operator*()) in TYPED_TEST()
204 for (size_t i = 0; i < count_all.size(); i++) { in TYPED_TEST()
205 …ASSERT_EQ(count_all[i], *plus) << "+ test: Dereferenced iterator does not equal expected at index … in TYPED_TEST()
213 size_t index = count_all.size() - 1; in TYPED_TEST()
215 ASSERT_EQ(count_all[index], *minus_eq) in TYPED_TEST()
224 for (size_t i = count_all.size(); i > 0; i--) { in TYPED_TEST()
225 ASSERT_EQ(count_all[i - 1], *(--minus_minus)) in TYPED_TEST()
234 for (size_t i = count_all.size() - 1; i > 0; i--) { in TYPED_TEST()
235 ASSERT_EQ(count_all[i], minus_minus.operator*()) in TYPED_TEST()
245 for (size_t i = count_all.size() - 1; i > 0; i--) { in TYPED_TEST()
246 …ASSERT_EQ(count_all[i], *minus) << "- test: Dereferenced iterator does not equal expected at index… in TYPED_TEST()
255 ASSERT_EQ(difference, static_cast<int>(count_all.size())); in TYPED_TEST()
257 ASSERT_EQ(neg_difference, -static_cast<int>(count_all.size())); in TYPED_TEST()
293 ASSERT_EQ(length, count_all.size()); in TYPED_TEST()
419 …SubPacketView single_view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.s… in TEST_P()
444 …stParam{0, boundary_2}, SubviewTestParam{0, boundary_2 + 1}, SubviewTestParam{0, count_all.size()},
447 … SubviewTestParam{boundary_1 - 1, count_all.size()}, SubviewTestParam{boundary_1, boundary_1},
449 … SubviewTestParam{boundary_1, count_all.size()}, SubviewTestParam{boundary_2 - 1, boundary_2},
450 …bviewTestParam{boundary_2 - 1, boundary_2 + 1}, SubviewTestParam{boundary_2 - 1, count_all.size()},
452 …SubviewTestParam{boundary_2, count_all.size()}, SubviewTestParam{count_all.size() - 1, count_all.s…
453 SubviewTestParam{count_all.size(), count_all.size()}));
460 …SubPacketView single_view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.s… in TEST_P()
474 … SubviewTestParam{1, 0}, SubviewTestParam{count_all.size(), count_all.size() - 1},
475 SubviewTestParam{count_all.size(), count_all.size() + 1}));
478 …PacketView<true> view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size(… in TEST()
490 …PacketView<true> view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size(… in TEST()
501 …true> single_view({View(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size())}); in TEST()
508 for (size_t i = 0; i < count_all.size() / 2; i++) { in TEST()
509 PacketView<true> sub_single_view = single_view.GetLittleEndianSubview(i, count_all.size() - i); in TEST()
510 PacketView<true> sub_multi_view = multi_view.GetLittleEndianSubview(i, count_all.size() - i); in TEST()
511 ASSERT_EQ(count_all.size() - 2 * i, sub_single_view.size()); in TEST()
589 View view_all(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size()); in TEST()
592 ASSERT_EQ(view_all[i], count_all[i]); in TEST()
598 …View view_subset(std::make_shared<const vector<uint8_t>>(count_all), header_size, count_all.size()… in TEST()
599 View view_subset2(view_all, header_size, count_all.size() - tail_size); in TEST()
602 ASSERT_EQ(view_subset[i], count_all[header_size + i]); in TEST()
610 View view(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size()); in TEST()
618 View view(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size()); in TEST()
629 View view(std::make_shared<const vector<uint8_t>>(count_all), 0, count_all.size()); in TEST()