• Home
  • Raw
  • Download

Lines Matching refs:vec

801     std::vector<int32_t> vec;  variable
802 vec.emplace_back(0);
803 vec.emplace_back(1);
804 vec.emplace_back(std::numeric_limits<int32_t>::min());
805 vec.emplace_back(std::numeric_limits<int32_t>::max());
809 msgOpt.add_len_repeated_packed_signed_vint(vec);
818 ASSERT_EQ(count, static_cast<int>(vec.size()));
820 ASSERT_EQ(msgProtobuf.len_repeated_packed_signed_vint(i), vec[i]);
833 ASSERT_EQ(countAll, static_cast<int>(vec.size() + sizeof(array) / sizeof(array[0])));
835 ASSERT_EQ(msgProtobuf.len_repeated_packed_signed_vint(i), vec[i]);
849 std::vector<uint32_t> vec; variable
850 vec.emplace_back(0);
851 vec.emplace_back(1);
852 vec.emplace_back(std::numeric_limits<uint32_t>::min());
853 vec.emplace_back(std::numeric_limits<uint32_t>::max());
857 msgOpt.add_len_repeated_packed_unsigned_vint(vec);
866 ASSERT_EQ(count, static_cast<int>(vec.size()));
868 ASSERT_EQ(msgProtobuf.len_repeated_packed_unsigned_vint(i), vec[i]);
881 ASSERT_EQ(countAll, static_cast<int>(vec.size() + sizeof(array) / sizeof(array[0])));
883 ASSERT_EQ(msgProtobuf.len_repeated_packed_unsigned_vint(i), vec[i]);
897 std::vector<uint64_t> vec; variable
898 vec.emplace_back(0);
899 vec.emplace_back(1);
900 vec.emplace_back(std::numeric_limits<uint64_t>::min());
901 vec.emplace_back(std::numeric_limits<uint64_t>::max());
905 msgOpt.add_len_repeated_packed_fixed(vec);
914 ASSERT_EQ(count, static_cast<int>(vec.size()));
916 ASSERT_EQ(msgProtobuf.len_repeated_packed_fixed(i), vec[i]);
929 ASSERT_EQ(countAll, static_cast<int>(vec.size() + sizeof(array) / sizeof(array[0])));
931 ASSERT_EQ(msgProtobuf.len_repeated_packed_fixed(i), vec[i]);