Home
last modified time | relevance | path

Searched refs:nva (Results 1 – 7 of 7) sorted by relevance

/curl/lib/
H A Ddynhds.c376 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 Dhttp2.c2149 nghttp2_nv *nva = NULL; in h2_submit() local
2182 nva = Curl_dynhds_to_nva(&h2_headers, &nheader); in h2_submit()
2183 if(!nva) { in h2_submit()
2200 stream_id = nghttp2_submit_request(ctx->h2, &pri_spec, nva, nheader, in h2_submit()
2204 stream_id = nghttp2_submit_request(ctx->h2, &pri_spec, nva, nheader, in h2_submit()
2223 acc += nva[i].namelen + nva[i].valuelen; in h2_submit()
2226 (int)nva[i].namelen, nva[i].name, in h2_submit()
2227 (int)nva[i].valuelen, nva[i].value); in h2_submit()
2258 Curl_safefree(nva); in h2_submit()
H A Dcf-h2-proxy.c909 nghttp2_nv *nva = NULL; in proxy_h2_submit() local
920 nva = Curl_dynhds_to_nva(&h2_headers, &nheader); in proxy_h2_submit()
921 if(!nva) { in proxy_h2_submit()
931 stream_id = nghttp2_submit_request(h2, pri_spec, nva, nheader, in proxy_h2_submit()
935 stream_id = nghttp2_submit_request(h2, pri_spec, nva, nheader, in proxy_h2_submit()
948 free(nva); in proxy_h2_submit()
/curl/lib/vquic/
H A Dcurl_msh3.c633 MSH3_HEADER *nva = NULL; in cf_msh3_send() local
664 nva = malloc(sizeof(MSH3_HEADER) * nheader); in cf_msh3_send()
665 if(!nva) { in cf_msh3_send()
673 nva[i].Name = e->name; in cf_msh3_send()
674 nva[i].NameLength = e->namelen; in cf_msh3_send()
675 nva[i].Value = e->value; in cf_msh3_send()
676 nva[i].ValueLength = e->valuelen; in cf_msh3_send()
681 nva, nheader, in cf_msh3_send()
714 free(nva); in cf_msh3_send()
H A Dcurl_quiche.c982 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 Dcurl_osslq.c1852 nghttp3_nv *nva = NULL; in h3_stream_open() local
1889 nva = malloc(sizeof(nghttp3_nv) * nheader); in h3_stream_open()
1890 if(!nva) { in h3_stream_open()
1898 nva[i].name = (unsigned char *)e->name; in h3_stream_open()
1899 nva[i].namelen = e->namelen; in h3_stream_open()
1900 nva[i].value = (unsigned char *)e->value; in h3_stream_open()
1901 nva[i].valuelen = e->valuelen; in h3_stream_open()
1902 nva[i].flags = NGHTTP3_NV_FLAG_NONE; in h3_stream_open()
1962 (int)nva[i].namelen, nva[i].name, in h3_stream_open()
1963 (int)nva[i].valuelen, nva[i].value); in h3_stream_open()
[all …]
H A Dcurl_ngtcp2.c1451 nghttp3_nv *nva = NULL; in h3_stream_open() local
1488 nva = malloc(sizeof(nghttp3_nv) * nheader); in h3_stream_open()
1489 if(!nva) { in h3_stream_open()
1497 nva[i].name = (unsigned char *)e->name; in h3_stream_open()
1498 nva[i].namelen = e->namelen; in h3_stream_open()
1499 nva[i].value = (unsigned char *)e->value; in h3_stream_open()
1500 nva[i].valuelen = e->valuelen; in h3_stream_open()
1501 nva[i].flags = NGHTTP3_NV_FLAG_NONE; in h3_stream_open()
1561 (int)nva[i].namelen, nva[i].name, in h3_stream_open()
1562 (int)nva[i].valuelen, nva[i].value); in h3_stream_open()
[all …]

Completed in 92 milliseconds