/curl/tests/unit/ |
H A D | unit1396.c | 47 int outlen; member 87 int outlen; variable 90 &outlen); 93 fail_unless(outlen == list1[i].outlen, "wrong output length returned"); 94 fail_unless(!memcmp(out, list1[i].out, list1[i].outlen), 103 int outlen; variable 107 outlen = (int)strlen(out); 108 fail_unless(outlen == list2[i].outlen, "wrong output length returned"); 109 fail_unless(!memcmp(out, list2[i].out, list2[i].outlen),
|
/curl/tests/libtest/ |
H A D | lib1537.c | 35 int outlen = 0; in test() local 58 raw = curl_easy_unescape(NULL, ptr, (int)strlen(ptr), &outlen); in test() 59 printf("outlen == %d\n", outlen); in test() 61 memcmp(raw, a, outlen) ? "no" : "YES"); in test() 70 outlen = (int)strlen(raw); in test() 71 printf("[old] outlen == %d\n", outlen); in test() 73 memcmp(raw, a, outlen) ? "no" : "YES"); in test() 82 outlen = 2017; /* just a value */ in test() 83 ptr = curl_easy_unescape(NULL, (char *)"moahahaha", -1, &outlen); in test() 84 printf("unescape -1 length: %s %d\n", ptr, outlen); in test()
|
/curl/lib/ |
H A D | base64.c | 77 unsigned char **outptr, size_t *outlen) in Curl_base64_decode() argument 90 *outlen = 0; in Curl_base64_decode() 180 *outlen = rawlen; in Curl_base64_decode() 190 char **outptr, size_t *outlen) in base64_encode() argument 198 *outlen = 0; in base64_encode() 246 *outlen = (size_t)(output - base64data); in base64_encode() 267 char **outptr, size_t *outlen) in Curl_base64_encode() argument 269 return base64_encode(base64encdec, inputbuff, insize, outptr, outlen); in Curl_base64_encode() 288 char **outptr, size_t *outlen) in Curl_base64url_encode() argument 290 return base64_encode(base64url, inputbuff, insize, outptr, outlen); in Curl_base64url_encode()
|
H A D | curl_base64.h | 36 char **outptr, size_t *outlen); 38 char **outptr, size_t *outlen); 40 unsigned char **outptr, size_t *outlen);
|
H A D | mprintf.c | 232 size_t outlen = 0; in parsefmt() local 245 outlen = (size_t)(fmt - start - 1); in parsefmt() 249 if(outlen) { in parsefmt() 256 optr->outlen = outlen; in parsefmt() 572 optr->outlen = outlen; in parsefmt() 580 outlen = (size_t)(fmt - start); in parsefmt() 581 if(outlen) { in parsefmt() 588 optr->outlen = outlen; in parsefmt() 705 size_t outlen = optr->outlen; in formatf() local 708 if(outlen) { in formatf() [all …]
|
H A D | version.c | 178 size_t outlen; in curl_version() local 297 outlen = sizeof(out); in curl_version() 301 if(outlen <= (n + 2)) in curl_version() 306 outlen--; in curl_version() 310 outlen -= n; in curl_version()
|
H A D | idn.c | 62 char **out, size_t *outlen) in iconv_to_utf8() argument 66 size_t iconv_outlen = *outlen; in iconv_to_utf8() 71 *outlen -= iconv_outlen; in iconv_to_utf8()
|
H A D | ws.c | 1019 size_t outlen, n; in ws_flush() local 1021 while(Curl_bufq_peek(&ws->sendbuf, &out, &outlen)) { in ws_flush() 1023 result = ws_send_raw_blocking(data, ws, (char *)out, outlen); in ws_flush() 1024 n = result ? 0 : outlen; in ws_flush() 1027 result = Curl_senddata(data, out, outlen, &n); in ws_flush() 1029 result = Curl_xfer_send(data, out, outlen, FALSE, &n); in ws_flush() 1030 if(!result && !n && outlen) in ws_flush()
|
H A D | telnet.c | 1229 size_t i, outlen; in send_telnet_data() local 1253 outlen = Curl_dyn_len(&tn->out); in send_telnet_data() 1257 outlen = (size_t)nread; in send_telnet_data() 1260 while(!result && total_written < outlen) { in send_telnet_data() 1273 outlen - total_written, FALSE, &bytes_written); in send_telnet_data()
|
H A D | krb5.c | 345 size_t outlen; in krb5_auth() local 346 result = Curl_base64_decode(p + 5, &outptr, &outlen); in krb5_auth() 353 _gssresp.length = outlen; in krb5_auth()
|
H A D | cookie.c | 217 static const char *get_top_domain(const char * const domain, size_t *outlen) in get_top_domain() argument 232 if(outlen) in get_top_domain() 233 *outlen = len; in get_top_domain()
|
/curl/src/ |
H A D | tool_dirhie.c | 104 size_t outlen; in create_dir_hierarchy() local 106 outlen = strlen(outfile); in create_dir_hierarchy() 111 dirbuildup = malloc(outlen + 1); in create_dir_hierarchy() 130 msnprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy() 148 msnprintf(dirbuildup, outlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
|
/curl/tests/server/ |
H A D | getpart.c | 273 int getpart(char **outbuf, size_t *outlen, in getpart() argument 305 *outlen = 0; in getpart() 321 error = appenddata(outbuf, outlen, &outalloc, buffer, datalen, in getpart() 357 error = decodedata(outbuf, outlen); in getpart() 362 (*outlen)--; in getpart() 376 error = decodedata(outbuf, outlen); in getpart() 381 (*outlen)--; in getpart() 468 error = appenddata(outbuf, outlen, &outalloc, buffer, datalen, base64); in getpart() 483 *outlen = 0; in getpart()
|
H A D | getpart.h | 33 int getpart(char **outbuf, size_t *outlen,
|
/curl/lib/vauth/ |
H A D | gsasl.c | 105 size_t outlen; in Curl_auth_gsasl_token() local 109 &response, &outlen); in Curl_auth_gsasl_token() 115 Curl_bufref_set(out, response, outlen, gsasl_free); in Curl_auth_gsasl_token()
|
H A D | spnego_gssapi.c | 220 char **outptr, size_t *outlen) in Curl_auth_create_spnego_message() argument 228 outptr, outlen); in Curl_auth_create_spnego_message() 238 if(!*outptr || !*outlen) { in Curl_auth_create_spnego_message()
|
H A D | vauth.h | 116 char **outptr, size_t *outlen); 229 char **outptr, size_t *outlen);
|
H A D | spnego_sspi.c | 308 char **outptr, size_t *outlen) in Curl_auth_create_spnego_message() argument 313 outlen); in Curl_auth_create_spnego_message() 314 if(!result && (!*outptr || !*outlen)) { in Curl_auth_create_spnego_message()
|
H A D | digest.c | 687 char **outptr, size_t *outlen, in auth_create_digest_http_message() argument 946 *outlen = strlen(response); in auth_create_digest_http_message() 977 char **outptr, size_t *outlen) in Curl_auth_create_digest_http_message() argument 982 outptr, outlen, in Curl_auth_create_digest_http_message() 989 outptr, outlen, in Curl_auth_create_digest_http_message() 996 outptr, outlen, in Curl_auth_create_digest_http_message()
|
H A D | digest_sspi.c | 401 char **outptr, size_t *outlen) in Curl_auth_create_digest_http_message() argument 639 *outlen = output_token_len; in Curl_auth_create_digest_http_message()
|
/curl/tests/data/ |
H A D | test1537 | 36 outlen == 14 38 [old] outlen == 14
|
/curl/lib/vtls/ |
H A D | sectransp.c | 1393 static long pem_to_der(const char *in, unsigned char **out, size_t *outlen) argument 1432 err = Curl_base64_decode((const char *)b64, out, outlen); 1444 static int read_cert(const char *file, unsigned char **out, size_t *outlen) argument 1474 *outlen = Curl_dyn_len(&certs);
|