Searched refs:base64_tests (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil_unittest.cc | 87 } 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/webrtc/base/ |
D | base64_unittest.cc | 27 } base64_tests[] = { variable 361 for( i = 0; i < sizeof(base64_tests) / sizeof(base64_tests[0]); ++i ) { in TEST() 368 LOG(LS_VERBOSE) << "B64: " << base64_tests[i].cyphertext; in TEST() 371 reinterpret_cast<const unsigned char*>(base64_tests[i].plaintext); in TEST() 373 cypher_length = strlen(base64_tests[i].cyphertext); in TEST() 378 base64_tests[i].plain_length, in TEST() 385 EXPECT_STREQ(encode_buffer, base64_tests[i].cyphertext); in TEST() 390 base64_tests[i].plain_length, in TEST() 397 EXPECT_STREQ(encode_buffer, base64_tests[i].cyphertext); in TEST() 407 EXPECT_EQ(decode_length, base64_tests[i].plain_length); in TEST() [all …]
|
/external/libcups/cups/ |
D | testhttp.c | 199 static const char * const base64_tests[][2] = variable 305 for (i = 0, j = 0; i < (int)(sizeof(base64_tests) / sizeof(base64_tests[0])); i ++) in main() 307 httpEncode64_2(encode, sizeof(encode), base64_tests[i][0], in main() 308 (int)strlen(base64_tests[i][0])); in main() 310 httpDecode64_2(decode, &decodelen, base64_tests[i][1]); in main() 312 if (strcmp(decode, base64_tests[i][0])) in main() 323 decode, base64_tests[i][0]); in main() 326 if (strcmp(encode, base64_tests[i][1])) in main() 337 encode, base64_tests[i][1]); in main()
|
/external/wpa_supplicant_8/src/utils/ |
D | utils_module_tests.c | 294 static int base64_tests(void) in base64_tests() function 932 base64_tests() < 0 || in utils_module_tests()
|