Home
last modified time | relevance | path

Searched refs:base64_tests (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dstrutil_unittest.cc87 } base64_tests[] = { variable
439 for (int i = 0; i < sizeof(base64_tests) / sizeof(base64_tests[0]); ++i) { in TEST()
448 reinterpret_cast<const unsigned char*>(base64_tests[i].plaintext); in TEST()
450 StringPiece plaintext(base64_tests[i].plaintext, in TEST()
451 base64_tests[i].plain_length); in TEST()
453 cypher_length = strlen(base64_tests[i].cyphertext); in TEST()
458 base64_tests[i].plain_length, in TEST()
464 EXPECT_EQ(CalculateBase64EscapedLen(base64_tests[i].plain_length), in TEST()
468 ASSERT_STREQ(encode_buffer, base64_tests[i].cyphertext); in TEST()
473 base64_tests[i].plain_length, in TEST()
[all …]
/external/webrtc/rtc_base/
Dbase64_unittest.cc29 } base64_tests[] = { variable
367 for (i = 0; i < sizeof(base64_tests) / sizeof(base64_tests[0]); ++i) { in TEST()
374 RTC_LOG(LS_VERBOSE) << "B64: " << base64_tests[i].cyphertext; in TEST()
377 reinterpret_cast<const unsigned char*>(base64_tests[i].plaintext); in TEST()
379 cypher_length = strlen(base64_tests[i].cyphertext); in TEST()
384 Base64Escape(unsigned_plaintext, base64_tests[i].plain_length, in TEST()
390 EXPECT_STREQ(encode_buffer, base64_tests[i].cyphertext); in TEST()
395 Base64Escape(unsigned_plaintext, base64_tests[i].plain_length, in TEST()
401 EXPECT_STREQ(encode_buffer, base64_tests[i].cyphertext); in TEST()
409 EXPECT_EQ(decode_length, base64_tests[i].plain_length); in TEST()
[all …]
/external/libcups/cups/
Dtesthttp.c194 static const char * const base64_tests[][2] = variable
300 for (i = 0, j = 0; i < (int)(sizeof(base64_tests) / sizeof(base64_tests[0])); i ++) in main()
302 httpEncode64_2(encode, sizeof(encode), base64_tests[i][0], in main()
303 (int)strlen(base64_tests[i][0])); in main()
305 httpDecode64_2(decode, &decodelen, base64_tests[i][1]); in main()
307 if (strcmp(decode, base64_tests[i][0])) in main()
318 decode, base64_tests[i][0]); in main()
321 if (strcmp(encode, base64_tests[i][1])) in main()
332 encode, base64_tests[i][1]); in main()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Descaping_test.cc302 } const base64_tests[] = { variable
564 for (const auto& tc : base64_tests) { in TestEscapeAndUnescape()
/external/angle/third_party/abseil-cpp/absl/strings/
Descaping_test.cc302 } const base64_tests[] = { variable
564 for (const auto& tc : base64_tests) { in TestEscapeAndUnescape()
/external/abseil-cpp/absl/strings/
Descaping_test.cc302 } const base64_tests[] = { variable
564 for (const auto& tc : base64_tests) { in TestEscapeAndUnescape()
/external/openscreen/third_party/abseil/src/absl/strings/
Descaping_test.cc302 } const base64_tests[] = { variable
564 for (const auto& tc : base64_tests) { in TestEscapeAndUnescape()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Descaping_test.cc302 } const base64_tests[] = { variable
564 for (const auto& tc : base64_tests) { in TestEscapeAndUnescape()
/external/libtextclassifier/abseil-cpp/absl/strings/
Descaping_test.cc302 } const base64_tests[] = { variable
564 for (const auto& tc : base64_tests) { in TestEscapeAndUnescape()
/external/wpa_supplicant_8/src/utils/
Dutils_module_tests.c295 static int base64_tests(void) in base64_tests() function
1222 base64_tests() < 0 || in utils_module_tests()