Lines Matching refs:hlen
188 static CURLcode namevalue(char *header, size_t hlen, unsigned int type, in namevalue() argument
191 char *end = header + hlen - 1; /* point to the last byte */ in namevalue()
192 DEBUGASSERT(hlen); in namevalue()
283 size_t hlen; /* length of the incoming header */ in Curl_headers_push() local
298 hlen = end - header; in Curl_headers_push()
303 return unfold_value(data, header, hlen); in Curl_headers_push()
307 while(hlen && ISBLANK(*header)) { in Curl_headers_push()
309 hlen--; in Curl_headers_push()
311 if(!hlen) in Curl_headers_push()
316 hs = calloc(1, sizeof(*hs) + hlen); in Curl_headers_push()
319 memcpy(hs->buffer, header, hlen); in Curl_headers_push()
320 hs->buffer[hlen] = 0; /* nul terminate */ in Curl_headers_push()
322 result = namevalue(hs->buffer, hlen, type, &name, &value); in Curl_headers_push()