Home
last modified time | relevance | path

Searched refs:base64_decode (Results 1 – 25 of 35) sorted by relevance

12

/third_party/grpc/test/core/transport/chttp2/
Dbin_decoder_test.cc57 static grpc_slice base64_decode(const char* s) { in base64_decode() function
113 EXPECT_SLICE_EQ("", base64_decode("")); in main()
115 EXPECT_SLICE_EQ("f", base64_decode("Zg==")); in main()
117 EXPECT_SLICE_EQ("fo", base64_decode("Zm8=")); in main()
119 EXPECT_SLICE_EQ("foo", base64_decode("Zm9v")); in main()
121 EXPECT_SLICE_EQ("foob", base64_decode("Zm9vYg==")); in main()
123 EXPECT_SLICE_EQ("fooba", base64_decode("Zm9vYmE=")); in main()
125 EXPECT_SLICE_EQ("foobar", base64_decode("Zm9vYmFy")); in main()
127 EXPECT_SLICE_EQ("\xc0\xc1\xc2\xc3\xc4\xc5", base64_decode("wMHCw8TF")); in main()
130 EXPECT_SLICE_EQ("", base64_decode("a")); in main()
[all …]
/third_party/python/Lib/encodings/
Dbase64_codec.py17 def base64_decode(input, errors='strict'): function
25 return base64_decode(input, errors)
49 decode=base64_decode,
/third_party/boost/libs/beast/test/beast/core/
D_detail_base64.cpp42 base64_decode(string_view data) in base64_decode() function in boost::beast::detail::base64_test
57 BEAST_EXPECT(base64_decode (encoded) == in); in check()
/third_party/node/test/cctest/
Dtest_base64.cc8 using node::base64_decode;
66 base64_decode(buffer, len, base64_string, strlen(base64_string)); in TEST()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dbase64.h14 unsigned char * base64_decode(const unsigned char *src, size_t len,
Dutils_module_tests.c321 res = base64_decode((const unsigned char *) "", 0, &res_len); in base64_tests()
327 res = base64_decode((const unsigned char *) "a", 1, &res_len); in base64_tests()
333 res = base64_decode((const unsigned char *) "====", 4, &res_len); in base64_tests()
339 res = base64_decode((const unsigned char *) "PQ==", 4, &res_len); in base64_tests()
344 res = base64_decode((const unsigned char *) "P.Q-=!=*", 8, &res_len); in base64_tests()
Dbase64.c192 unsigned char * base64_decode(const unsigned char *src, size_t len, in base64_decode() function
Dxml_libxml2.c412 ret = base64_decode((unsigned char *) txt, strlen(txt), &len); in xml_node_get_base64_text()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dbase64.h14 unsigned char * base64_decode(const char *src, size_t len, size_t *out_len);
Dutils_module_tests.c322 res = base64_decode("", 0, &res_len); in base64_tests()
328 res = base64_decode("a", 1, &res_len); in base64_tests()
334 res = base64_decode("====", 4, &res_len); in base64_tests()
340 res = base64_decode("PQ==", 4, &res_len); in base64_tests()
345 res = base64_decode("P.Q-=!=*", 8, &res_len); in base64_tests()
Dbase64.c199 unsigned char * base64_decode(const char *src, size_t len, size_t *out_len) in base64_decode() function
Dxml_libxml2.c412 ret = base64_decode(txt, strlen(txt), &len); in xml_node_get_base64_text()
Djson.c542 buf = base64_decode(token->string, os_strlen(token->string), &buflen); in json_get_member_base64()
/third_party/node/src/
Dbase64.h56 size_t base64_decode(char* const dst, const size_t dstlen,
Dbase64-inl.h116 size_t base64_decode(char* const dst, const size_t dstlen, in base64_decode() function
Dstring_bytes.cc366 nbytes = base64_decode(buf, buflen, ext->data(), ext->length()); in Write()
369 nbytes = base64_decode(buf, buflen, *value, value.length()); in Write()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dupnp_xml.c238 decoded = base64_decode(msg, os_strlen(msg), &len); in xml_get_base64_item()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dupnp_xml.c238 decoded = base64_decode((unsigned char *) msg, os_strlen(msg), &len); in xml_get_base64_item()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_cred.c133 der = base64_decode((const char *) pos, end - pos, &der_len); in tlsv1_add_cert()
296 der = base64_decode((const char *) pos, end - pos, &der_len); in tlsv1_set_key_pem()
324 der = base64_decode((const char *) pos, end - pos, &der_len); in tlsv1_set_key_enc_pem()
1161 der = base64_decode((const char *) pos, end - pos, &der_len); in tlsv1_set_dhparams_blob()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/
Dest.c161 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); in est_load_cacerts()
642 attrs = base64_decode((unsigned char *) resp, resp_len, in est_build_csr()
737 pkcs7 = base64_decode((unsigned char *) resp, resp_len, &pkcs7_len); in est_simple_enroll()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/
Dest.c161 pkcs7 = base64_decode(resp, resp_len, &pkcs7_len); in est_load_cacerts()
642 attrs = base64_decode(resp, resp_len, &attrs_len); in est_build_csr()
736 pkcs7 = base64_decode(resp, resp_len, &pkcs7_len); in est_simple_enroll()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_cred.c133 der = base64_decode(pos, end - pos, &der_len); in tlsv1_add_cert()
296 der = base64_decode(pos, end - pos, &der_len); in tlsv1_set_key_pem()
324 der = base64_decode(pos, end - pos, &der_len); in tlsv1_set_key_enc_pem()
1228 der = base64_decode(pos, end - pos, &der_len); in tlsv1_set_dhparams_blob()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dsae_pk.c491 der = base64_decode(pos, b_len, &der_len); in sae_parse_pk()
508 der = base64_decode(pos2, os_strlen(pos2), &der_len); in sae_parse_pk()
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DMessage.php901 $proto_value = base64_decode($value, true);
1168 $this->setValue(base64_decode($array));
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Dtncs.c681 decoded = base64_decode(pos, os_strlen(pos), decoded_len); in tncs_get_base64()

12