Searched refs:vlen (Results 1 – 6 of 6) sorted by relevance
/curl/lib/ |
H A D | headers.c | 224 size_t vlen) /* length of the incoming header */ in unfold_value() argument 238 while(vlen && ISSPACE(value[vlen - 1])) in unfold_value() 239 vlen--; in unfold_value() 242 while((vlen > 1) && ISBLANK(value[0]) && ISBLANK(value[1])) { in unfold_value() 243 vlen--; in unfold_value() 253 newhs = Curl_saferealloc(hs, sizeof(*hs) + vlen + oalloc + 1); in unfold_value() 263 memcpy(&newhs->value[olen], value, vlen); in unfold_value() 264 newhs->value[olen + vlen] = 0; /* null-terminate at newline */ in unfold_value()
|
H A D | cookie.c | 493 size_t vlen; in parse_cookie_header() local 517 ptr = &valuep[vlen]; in parse_cookie_header() 520 while(vlen && ISBLANK(valuep[vlen-1])) in parse_cookie_header() 521 vlen--; in parse_cookie_header() 526 vlen--; in parse_cookie_header() 537 vlen = 0; in parse_cookie_header() 546 ((nlen + vlen) > MAX_NAME)) { in parse_cookie_header() 548 nlen, vlen); in parse_cookie_header() 588 else if(!vlen) { in parse_cookie_header() 635 vlen--; in parse_cookie_header() [all …]
|
H A D | c-hyper.c | 573 size_t vlen; in Curl_hyper_header() local 605 vlen = p - v; in Curl_hyper_header() 608 (uint8_t *)v, vlen)) { in Curl_hyper_header()
|
H A D | telnet.c | 980 size_t vlen = s - v->data; in suboption() local 983 (int)vlen, v->data, CURL_NEW_ENV_VALUE, ++s); in suboption()
|
/curl/src/ |
H A D | var.c | 286 size_t vlen = 0; in varexpand() local 291 vlen = v->clen; in varexpand() 300 ParameterError err = varfunc(global, value, vlen, funcp, flen, in varexpand() 305 vlen = curlx_dyn_len(&buf); in varexpand() 308 if(value && vlen > 0) { in varexpand() 311 char *nb = memchr(value, '\0', vlen); in varexpand() 318 result = curlx_dyn_addn(out, value, vlen); in varexpand()
|
H A D | tool_writeout.c | 563 size_t vlen; in ourWriteOut() local 573 vlen = end - ptr; in ourWriteOut() 576 if(!curlx_dyn_addn(&name, ptr, vlen)) { in ourWriteOut() 617 (int)vlen, ptr); in ourWriteOut() 627 vlen = end - ptr; in ourWriteOut() 628 if(vlen < sizeof(hname)) { in ourWriteOut() 629 memcpy(hname, ptr, vlen); in ourWriteOut() 630 hname[vlen] = 0; in ourWriteOut()
|
Completed in 19 milliseconds