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.c2142 nghttp2_nv *nva = NULL; in h2_submit() local
2175 nva = Curl_dynhds_to_nva(&h2_headers, &nheader); in h2_submit()
2176 if(!nva) { in h2_submit()
2193 stream_id = nghttp2_submit_request(ctx->h2, &pri_spec, nva, nheader, in h2_submit()
2197 stream_id = nghttp2_submit_request(ctx->h2, &pri_spec, nva, nheader, in h2_submit()
2216 acc += nva[i].namelen + nva[i].valuelen; in h2_submit()
2219 (int)nva[i].namelen, nva[i].name, in h2_submit()
2220 (int)nva[i].valuelen, nva[i].value); in h2_submit()
2251 Curl_safefree(nva); in h2_submit()
H A Dcf-h2-proxy.c905 nghttp2_nv *nva = NULL; in proxy_h2_submit() local
916 nva = Curl_dynhds_to_nva(&h2_headers, &nheader); in proxy_h2_submit()
917 if(!nva) { in proxy_h2_submit()
927 stream_id = nghttp2_submit_request(h2, pri_spec, nva, nheader, in proxy_h2_submit()
931 stream_id = nghttp2_submit_request(h2, pri_spec, nva, nheader, in proxy_h2_submit()
944 free(nva); in proxy_h2_submit()
/curl/lib/vquic/
H A Dcurl_msh3.c625 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 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_ngtcp2.c1398 nghttp3_nv *nva = NULL; in h3_stream_open() local
1435 nva = malloc(sizeof(nghttp3_nv) * nheader); in h3_stream_open()
1436 if(!nva) { in h3_stream_open()
1444 nva[i].name = (unsigned char *)e->name; in h3_stream_open()
1445 nva[i].namelen = e->namelen; in h3_stream_open()
1446 nva[i].value = (unsigned char *)e->value; in h3_stream_open()
1447 nva[i].valuelen = e->valuelen; in h3_stream_open()
1448 nva[i].flags = NGHTTP3_NV_FLAG_NONE; in h3_stream_open()
1508 (int)nva[i].namelen, nva[i].name, in h3_stream_open()
1509 (int)nva[i].valuelen, nva[i].value); in h3_stream_open()
[all …]
H A Dcurl_osslq.c1788 nghttp3_nv *nva = NULL; in h3_stream_open() local
1825 nva = malloc(sizeof(nghttp3_nv) * nheader); in h3_stream_open()
1826 if(!nva) { in h3_stream_open()
1834 nva[i].name = (unsigned char *)e->name; in h3_stream_open()
1835 nva[i].namelen = e->namelen; in h3_stream_open()
1836 nva[i].value = (unsigned char *)e->value; in h3_stream_open()
1837 nva[i].valuelen = e->valuelen; in h3_stream_open()
1838 nva[i].flags = NGHTTP3_NV_FLAG_NONE; in h3_stream_open()
1898 (int)nva[i].namelen, nva[i].name, in h3_stream_open()
1899 (int)nva[i].valuelen, nva[i].value); in h3_stream_open()
[all …]

Completed in 67 milliseconds