Lines Matching refs:binary
44 : binary{std::as_bytes(std::span(binary_data, kSize - 1))}, in TestData()
47 std::span<const byte> binary; member
67 for (auto& [binary, base64] : kTestData) { in TEST_F()
68 EXPECT_EQ(base64.size(), PrefixedBase64Encode(binary, base64_)); in TEST_F()
82 PrefixedBase64Encode(kTestData[5].binary, std::span(base64_, 0))); in TEST_F()
88 PrefixedBase64Encode(kTestData[5].binary, std::span(base64_, 1))); in TEST_F()
96 PrefixedBase64Encode(kTestData[5].binary, in TEST_F()
116 for (auto& [binary, base64] : kTestData) { in TEST_F()
117 EXPECT_EQ(binary.size(), PrefixedBase64Decode(base64, binary_)); in TEST_F()
118 ASSERT_EQ(0, std::memcmp(binary.data(), binary_, binary.size())); in TEST_F()
142 std::span(binary_, item.binary.size() - 1))); in TEST_F()
149 for (auto& [binary, base64] : kTestData) { in TEST()
152 EXPECT_EQ(binary.size(), in TEST()
154 ASSERT_EQ(0, std::memcmp(binary.data(), buffer, binary.size())); in TEST()