/curl/lib/vauth/ |
H A D | cleartext.c | 70 size_t clen; in Curl_auth_create_plain_message() local 74 clen = strlen(authcid); in Curl_auth_create_plain_message() 78 if((zlen > SIZE_T_MAX/4) || (clen > SIZE_T_MAX/4) || in Curl_auth_create_plain_message() 81 plainlen = zlen + clen + plen + 2; in Curl_auth_create_plain_message() 91 memcpy(plainauth + zlen + 1, authcid, clen); in Curl_auth_create_plain_message() 92 plainauth[zlen + clen + 1] = '\0'; in Curl_auth_create_plain_message() 93 memcpy(plainauth + zlen + clen + 2, passwd, plen); in Curl_auth_create_plain_message()
|
/curl/src/ |
H A D | var.c | 116 size_t len = clen; in varfunc() 118 if(clen) { in varfunc() 137 if(clen) { in varfunc() 147 if(clen) { in varfunc() 165 if(clen) { in varfunc() 192 clen = curlx_dyn_len(out); in varfunc() 291 vlen = v->clen; in varexpand() 366 p->clen = clen; in addvariable() 383 size_t clen = 0; in setvariable() local 421 clen = strlen(ge); in setvariable() [all …]
|
H A D | var.h | 33 size_t clen; /* content length */ member
|
/curl/tests/libtest/ |
H A D | lib1485.c | 49 curl_off_t clen; in header_callback() local 63 &clen); in header_callback() 65 (long)clen, result); in header_callback() 70 if(clen < 0) { in header_callback() 72 "got: %ld\n", (long)clen); in header_callback()
|
/curl/lib/ |
H A D | formdata.c | 623 size_t clen = (size_t) form->contentslength; in FormAdd() local 624 if(!clen) in FormAdd() 625 clen = strlen(form->value) + 1; in FormAdd() 627 form->value = Curl_memdup(form->value, clen); in FormAdd() 879 curl_off_t clen = post->contentslength; in Curl_getformdata() local 882 clen = post->contentlen; in Curl_getformdata() 907 if(!clen) in Curl_getformdata() 908 clen = -1; in Curl_getformdata() 909 result = curl_mime_data_cb(part, clen, in Curl_getformdata() 914 if(!clen) in Curl_getformdata() [all …]
|
H A D | rand.c | 170 size_t clen = sizeof(seed); in randit() local 171 size_t min = elen < clen ? elen : clen; in randit()
|
H A D | urlapi.c | 881 UNITTEST int dedotdotify(const char *input, size_t clen, char **outp); 882 UNITTEST int dedotdotify(const char *input, size_t clen, char **outp) in dedotdotify() argument 885 const char *endp = &input[clen]; in dedotdotify() 890 if((clen < 2) || !memchr(input, '.', clen)) in dedotdotify() 893 out = malloc(clen + 1); in dedotdotify() 908 clen -= 2; in dedotdotify() 912 clen -= 3; in dedotdotify() 931 clen -= 2; in dedotdotify() 946 clen -= 3; in dedotdotify() 980 clen--; in dedotdotify()
|
H A D | doh.c | 1050 unsigned char clen = 0; /* chunk len */ in doh_decode_rdata_name() local 1063 clen = *cp++; in doh_decode_rdata_name() 1064 if(clen == 0) { in doh_decode_rdata_name() 1069 while(clen) { in doh_decode_rdata_name() 1070 if(clen >= rem) { in doh_decode_rdata_name() 1074 if(Curl_dyn_addn(&thename, cp, clen) || in doh_decode_rdata_name() 1078 cp += clen; in doh_decode_rdata_name() 1079 rem -= (clen + 1); in doh_decode_rdata_name() 1084 clen = *cp++; in doh_decode_rdata_name()
|
H A D | bufq.c | 552 size_t clen; in Curl_bufq_peek_at() local 555 clen = chunk_len(c); in Curl_bufq_peek_at() 556 if(!clen) in Curl_bufq_peek_at() 558 if(offset >= clen) { in Curl_bufq_peek_at() 559 offset -= clen; in Curl_bufq_peek_at()
|
H A D | http.h | 68 const size_t clen); /* len of the content in bytes */
|
H A D | mqtt.c | 263 const size_t clen = strlen("curl"); in mqtt_connect() local 300 result = Curl_rand_alnum(data, (unsigned char *)&client_id[clen], in mqtt_connect() 301 MQTT_CLIENTID_LEN - clen + 1); in mqtt_connect()
|
H A D | altsvc.c | 428 size_t clen = strlen(check); in hostcompare() local 432 if(hlen != clen) in hostcompare()
|
H A D | cookie.c | 951 size_t clen = strlen(co->domain); in is_public_suffix() local 952 if((dlen < sizeof(lcase)) && (clen < sizeof(lcookie))) { in is_public_suffix() 957 Curl_strntolower(lcookie, co->domain, clen + 1); in is_public_suffix()
|
H A D | sendf.c | 1099 curl_off_t clen; in do_init_reader_stack() local 1107 clen = r->crt->total_length(data, r); in do_init_reader_stack() 1110 if(clen && (data->set.crlf in do_init_reader_stack()
|
H A D | http.c | 1081 const size_t clen) /* len of the content in bytes */ in Curl_compareheader() argument 1092 DEBUGASSERT(clen); in Curl_compareheader() 1120 for(; len >= clen; len--, start++) { in Curl_compareheader() 1121 if(strncasecompare(start, content, clen)) in Curl_compareheader() 2270 size_t clen = 8; /* hold the size of the generated Cookie: header */ in Curl_http_cookies() local 2283 if(clen + add >= MAX_COOKIE_HEADER_LEN) { in Curl_http_cookies() 2293 clen += add + (count ? 2 : 0); in Curl_http_cookies()
|
/curl/.github/scripts/ |
H A D | codespell-ignore.txt | 4 clen
|
/curl/tests/unit/ |
H A D | unit1395.c | 27 extern int dedotdotify(const char *input, size_t clen, char **out);
|
/curl/lib/vtls/ |
H A D | x509asn1.c | 1081 size_t clen; in Curl_extract_certinfo() local 1215 &certptr, &clen); in Curl_extract_certinfo() 1235 while(!result && (j < clen)) { in Curl_extract_certinfo() 1236 size_t chunksize = (clen - j) > 64 ? 64 : (clen - j); in Curl_extract_certinfo()
|
/curl/tests/server/ |
H A D | rtspd.c | 474 unsigned long clen = 0; in ProcessRequest() local 479 clen = strtoul(ptr, &endptr, 10); in ProcessRequest() 486 req->cl = clen - req->skip; in ProcessRequest() 488 logmsg("Found Content-Length: %lu in the request", clen); in ProcessRequest()
|
H A D | sws.c | 629 unsigned long clen = 0; in ProcessRequest() local 634 clen = strtoul(ptr, &endptr, 10); in ProcessRequest() 644 req->cl = clen - req->skip; in ProcessRequest() 646 logmsg("Found Content-Length: %lu in the request", clen); in ProcessRequest()
|