Home
last modified time | relevance | path

Searched refs:decoded_len (Results 1 – 9 of 9) sorted by relevance

/third_party/glib/glib/tests/
Dbase64.c15 gsize len, decoded_len, max, input_len, block_size; in test_incremental() local
45 decoded_len = 0; in test_incremental()
52 decoded_len += g_base64_decode_step (p, in test_incremental()
54 data2 + decoded_len, in test_incremental()
60 g_assert_cmpmem (data, length, data2, decoded_len); in test_incremental()
436 gsize decoded_len; in test_base64_decode_empty() local
440 decoded = g_base64_decode ("", &decoded_len); in test_base64_decode_empty()
442 g_assert_cmpuint (decoded_len, ==, 0); in test_base64_decode_empty()
473 gsize decoded_len; in test_base64_encode_decode_rfc4648() local
480 decoded = g_base64_decode (encoded, &decoded_len); in test_base64_encode_decode_rfc4648()
[all …]
/third_party/openssl/crypto/evp/
Dencode.c306 int seof = 0, eof = 0, rv = -1, ret = 0, i, v, tmp, n, decoded_len; in EVP_DecodeUpdate() local
372 decoded_len = evp_decodeblock_int(ctx, out, d, n); in EVP_DecodeUpdate()
374 if (decoded_len < 0 || eof > decoded_len) { in EVP_DecodeUpdate()
378 ret += decoded_len - eof; in EVP_DecodeUpdate()
379 out += decoded_len - eof; in EVP_DecodeUpdate()
391 decoded_len = evp_decodeblock_int(ctx, out, d, n); in EVP_DecodeUpdate()
393 if (decoded_len < 0 || eof > decoded_len) { in EVP_DecodeUpdate()
397 ret += (decoded_len - eof); in EVP_DecodeUpdate()
/third_party/curl/lib/
Dkrb5.c682 int decoded_len; in Curl_sec_read_msg() local
704 decoded_len = curlx_uztosi(decoded_sz); in Curl_sec_read_msg()
706 decoded_len = conn->mech->decode(conn->app_data, buf, decoded_len, in Curl_sec_read_msg()
708 if(decoded_len <= 0) { in Curl_sec_read_msg()
714 buf[decoded_len] = '\n'; in Curl_sec_read_msg()
715 Curl_debug(data, CURLINFO_HEADER_IN, buf, decoded_len + 1); in Curl_sec_read_msg()
718 buf[decoded_len] = '\0'; in Curl_sec_read_msg()
719 if(decoded_len <= 3) in Curl_sec_read_msg()
727 if(buf[decoded_len - 1] == '\n') in Curl_sec_read_msg()
728 buf[decoded_len - 1] = '\0'; in Curl_sec_read_msg()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Dtncs.c666 static unsigned char * tncs_get_base64(char *start, size_t *decoded_len) in tncs_get_base64() argument
681 decoded = base64_decode(pos, os_strlen(pos), decoded_len); in tncs_get_base64()
783 size_t decoded_len; in tncs_process_if_tnccs() local
860 decoded = tncs_get_base64(start, &decoded_len); in tncs_process_if_tnccs()
867 tncs_send_to_imvs(tncs, type, decoded, decoded_len); in tncs_process_if_tnccs()
922 decoded = tncs_get_base64(start, &decoded_len); in tncs_process_if_tnccs()
933 decoded, decoded_len); in tncs_process_if_tnccs()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Dtncs.c666 static unsigned char * tncs_get_base64(char *start, size_t *decoded_len) in tncs_get_base64() argument
682 decoded_len); in tncs_get_base64()
784 size_t decoded_len; in tncs_process_if_tnccs() local
861 decoded = tncs_get_base64(start, &decoded_len); in tncs_process_if_tnccs()
868 tncs_send_to_imvs(tncs, type, decoded, decoded_len); in tncs_process_if_tnccs()
923 decoded = tncs_get_base64(start, &decoded_len); in tncs_process_if_tnccs()
934 decoded, decoded_len); in tncs_process_if_tnccs()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Dtncc.c617 static unsigned char * tncc_get_base64(char *start, size_t *decoded_len) in tncc_get_base64() argument
632 decoded = base64_decode(pos, os_strlen(pos), decoded_len); in tncc_get_base64()
691 size_t decoded_len; in tncc_process_if_tnccs() local
772 decoded = tncc_get_base64(start, &decoded_len); in tncc_process_if_tnccs()
779 tncc_send_to_imcs(tncc, type, decoded, decoded_len); in tncc_process_if_tnccs()
834 decoded = tncc_get_base64(start, &decoded_len); in tncc_process_if_tnccs()
845 decoded, decoded_len); in tncc_process_if_tnccs()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Dtncc.c617 static unsigned char * tncc_get_base64(char *start, size_t *decoded_len) in tncc_get_base64() argument
633 decoded_len); in tncc_get_base64()
692 size_t decoded_len; in tncc_process_if_tnccs() local
773 decoded = tncc_get_base64(start, &decoded_len); in tncc_process_if_tnccs()
780 tncc_send_to_imcs(tncc, type, decoded, decoded_len); in tncc_process_if_tnccs()
835 decoded = tncc_get_base64(start, &decoded_len); in tncc_process_if_tnccs()
846 decoded, decoded_len); in tncc_process_if_tnccs()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dgstvorbistag.c368 gsize decoded_len; in gst_vorbis_tag_add_metadata_block_picture() local
374 g_base64_decode_inplace (value, &decoded_len); in gst_vorbis_tag_add_metadata_block_picture()
375 if (decoded_len == 0) in gst_vorbis_tag_add_metadata_block_picture()
378 gst_byte_reader_init (&reader, (guint8 *) value, decoded_len); in gst_vorbis_tag_add_metadata_block_picture()
/third_party/glib/glib/
Dguri.c2588 gssize decoded_len; in g_uri_unescape_segment() local
2598 decoded_len = uri_decoder (&unescaped, in g_uri_unescape_segment()
2604 if (decoded_len < 0) in g_uri_unescape_segment()
2607 if (memchr (unescaped, '\0', decoded_len)) in g_uri_unescape_segment()