Lines Matching refs:valuelen

41           const char *value, size_t valuelen, int opts)  in entry_new()  argument
48 e = calloc(1, sizeof(*e) + namelen + valuelen + 2); in entry_new()
55 memcpy(p, value, valuelen); in entry_new()
56 e->valuelen = valuelen; in entry_new()
64 const char *value, size_t valuelen) in entry_append() argument
67 size_t valuelen2 = e->valuelen + 1 + valuelen; in entry_append()
78 memcpy(p, e->value, e->valuelen); in entry_append()
79 p += e->valuelen; in entry_append()
81 memcpy(p + 1, value, valuelen); in entry_append()
82 e2->valuelen = valuelen2; in entry_append()
167 const char *value, size_t valuelen) in Curl_dynhds_add() argument
175 if(dynhds->strs_len + namelen + valuelen > dynhds->max_strs_size) in Curl_dynhds_add()
178 entry = entry_new(name, namelen, value, valuelen, dynhds->opts); in Curl_dynhds_add()
202 dynhds->strs_len += namelen + valuelen; in Curl_dynhds_add()
224 size_t valuelen, i; in Curl_dynhds_h1_add_line() local
261 valuelen = line_len - i; in Curl_dynhds_h1_add_line()
263 p = memchr(value, '\r', valuelen); in Curl_dynhds_h1_add_line()
265 p = memchr(value, '\n', valuelen); in Curl_dynhds_h1_add_line()
267 valuelen = (size_t)(p - value); in Curl_dynhds_h1_add_line()
269 return Curl_dynhds_add(dynhds, name, namelen, value, valuelen); in Curl_dynhds_h1_add_line()
314 const char *value, size_t valuelen) in Curl_dynhds_set() argument
317 return Curl_dynhds_add(dynhds, name, namelen, value, valuelen); in Curl_dynhds_set()
332 dynhds->hds[i]->valuelen); in Curl_dynhds_remove()
364 (int)dynhds->hds[i]->valuelen, dynhds->hds[i]->value); in Curl_dynhds_h1_dprint()
389 nva[i].valuelen = e->valuelen; in Curl_dynhds_to_nva()