Searched refs:nva (Results 1 – 7 of 7) sorted by relevance
/curl/lib/ |
H A D | dynhds.c | 376 nghttp2_nv *nva = calloc(1, sizeof(nghttp2_nv) * dynhds->hds_len); in Curl_dynhds_to_nva() local 380 if(!nva) in Curl_dynhds_to_nva() 386 nva[i].name = (unsigned char *)e->name; in Curl_dynhds_to_nva() 387 nva[i].namelen = e->namelen; in Curl_dynhds_to_nva() 388 nva[i].value = (unsigned char *)e->value; in Curl_dynhds_to_nva() 389 nva[i].valuelen = e->valuelen; in Curl_dynhds_to_nva() 390 nva[i].flags = NGHTTP2_NV_FLAG_NONE; in Curl_dynhds_to_nva() 393 return nva; in Curl_dynhds_to_nva()
|
H A D | http2.c | 2165 nghttp2_nv *nva = NULL; in h2_submit() local 2198 nva = Curl_dynhds_to_nva(&h2_headers, &nheader); in h2_submit() 2199 if(!nva) { in h2_submit() 2216 stream_id = nghttp2_submit_request(ctx->h2, &pri_spec, nva, nheader, in h2_submit() 2220 stream_id = nghttp2_submit_request(ctx->h2, &pri_spec, nva, nheader, in h2_submit() 2239 acc += nva[i].namelen + nva[i].valuelen; in h2_submit() 2242 (int)nva[i].namelen, nva[i].name, in h2_submit() 2243 (int)nva[i].valuelen, nva[i].value); in h2_submit() 2274 Curl_safefree(nva); in h2_submit()
|
H A D | cf-h2-proxy.c | 907 nghttp2_nv *nva = NULL; in proxy_h2_submit() local 918 nva = Curl_dynhds_to_nva(&h2_headers, &nheader); in proxy_h2_submit() 919 if(!nva) { in proxy_h2_submit() 929 stream_id = nghttp2_submit_request(h2, pri_spec, nva, nheader, in proxy_h2_submit() 933 stream_id = nghttp2_submit_request(h2, pri_spec, nva, nheader, in proxy_h2_submit() 946 free(nva); in proxy_h2_submit()
|
/curl/lib/vquic/ |
H A D | curl_msh3.c | 625 MSH3_HEADER *nva = NULL; in cf_msh3_send() local 656 nva = malloc(sizeof(MSH3_HEADER) * nheader); in cf_msh3_send() 657 if(!nva) { in cf_msh3_send() 665 nva[i].Name = e->name; in cf_msh3_send() 666 nva[i].NameLength = e->namelen; in cf_msh3_send() 667 nva[i].Value = e->value; in cf_msh3_send() 668 nva[i].ValueLength = e->valuelen; in cf_msh3_send() 673 nva, nheader, in cf_msh3_send() 706 free(nva); in cf_msh3_send()
|
H A D | curl_quiche.c | 982 quiche_h3_header *nva = NULL; in h3_open_stream() local 1015 nva = malloc(sizeof(quiche_h3_header) * nheader); in h3_open_stream() 1016 if(!nva) { in h3_open_stream() 1024 nva[i].name = (unsigned char *)e->name; in h3_open_stream() 1025 nva[i].name_len = e->namelen; in h3_open_stream() 1026 nva[i].value = (unsigned char *)e->value; in h3_open_stream() 1027 nva[i].value_len = e->valuelen; in h3_open_stream() 1033 stream3_id = quiche_h3_send_request(ctx->h3c, ctx->qconn, nva, nheader, in h3_open_stream() 1066 (int)nva[i].name_len, nva[i].name, in h3_open_stream() 1067 (int)nva[i].value_len, nva[i].value); in h3_open_stream() [all …]
|
H A D | curl_ngtcp2.c | 1397 nghttp3_nv *nva = NULL; in h3_stream_open() local 1434 nva = malloc(sizeof(nghttp3_nv) * nheader); in h3_stream_open() 1435 if(!nva) { in h3_stream_open() 1443 nva[i].name = (unsigned char *)e->name; in h3_stream_open() 1444 nva[i].namelen = e->namelen; in h3_stream_open() 1445 nva[i].value = (unsigned char *)e->value; in h3_stream_open() 1446 nva[i].valuelen = e->valuelen; in h3_stream_open() 1447 nva[i].flags = NGHTTP3_NV_FLAG_NONE; in h3_stream_open() 1507 (int)nva[i].namelen, nva[i].name, in h3_stream_open() 1508 (int)nva[i].valuelen, nva[i].value); in h3_stream_open() [all …]
|
H A D | curl_osslq.c | 1796 nghttp3_nv *nva = NULL; in h3_stream_open() local 1833 nva = malloc(sizeof(nghttp3_nv) * nheader); in h3_stream_open() 1834 if(!nva) { in h3_stream_open() 1842 nva[i].name = (unsigned char *)e->name; in h3_stream_open() 1843 nva[i].namelen = e->namelen; in h3_stream_open() 1844 nva[i].value = (unsigned char *)e->value; in h3_stream_open() 1845 nva[i].valuelen = e->valuelen; in h3_stream_open() 1846 nva[i].flags = NGHTTP3_NV_FLAG_NONE; in h3_stream_open() 1906 (int)nva[i].namelen, nva[i].name, in h3_stream_open() 1907 (int)nva[i].valuelen, nva[i].value); in h3_stream_open() [all …]
|
Completed in 38 milliseconds