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.c2041 nghttp2_nv *nva = NULL; in h2_submit() local
2076 nva = Curl_dynhds_to_nva(&h2_headers, &nheader); in h2_submit()
2077 if(!nva) { in h2_submit()
2100 stream_id = nghttp2_submit_request(ctx->h2, &pri_spec, nva, nheader, in h2_submit()
2105 stream_id = nghttp2_submit_request(ctx->h2, &pri_spec, nva, nheader, in h2_submit()
2124 acc += nva[i].namelen + nva[i].valuelen; in h2_submit()
2127 (int)nva[i].namelen, nva[i].name, in h2_submit()
2128 (int)nva[i].valuelen, nva[i].value); in h2_submit()
2170 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.c602 MSH3_HEADER *nva = NULL; in cf_msh3_send() local
634 nva = malloc(sizeof(MSH3_HEADER) * nheader); in cf_msh3_send()
635 if(!nva) { in cf_msh3_send()
643 nva[i].Name = e->name; in cf_msh3_send()
644 nva[i].NameLength = e->namelen; in cf_msh3_send()
645 nva[i].Value = e->value; in cf_msh3_send()
646 nva[i].ValueLength = e->valuelen; in cf_msh3_send()
666 nva, nheader, in cf_msh3_send()
699 free(nva); in cf_msh3_send()
H A Dcurl_quiche.c908 quiche_h3_header *nva = NULL; in h3_open_stream() local
941 nva = malloc(sizeof(quiche_h3_header) * nheader); in h3_open_stream()
942 if(!nva) { in h3_open_stream()
950 nva[i].name = (unsigned char *)e->name; in h3_open_stream()
951 nva[i].name_len = e->namelen; in h3_open_stream()
952 nva[i].value = (unsigned char *)e->value; in h3_open_stream()
953 nva[i].value_len = e->valuelen; in h3_open_stream()
975 stream3_id = quiche_h3_send_request(ctx->h3c, ctx->qconn, nva, nheader, in h3_open_stream()
1008 (int)nva[i].name_len, nva[i].name, in h3_open_stream()
1009 (int)nva[i].value_len, nva[i].value); in h3_open_stream()
[all …]
H A Dcurl_osslq.c1781 nghttp3_nv *nva = NULL; in h3_stream_open() local
1818 nva = malloc(sizeof(nghttp3_nv) * nheader); in h3_stream_open()
1819 if(!nva) { in h3_stream_open()
1827 nva[i].name = (unsigned char *)e->name; in h3_stream_open()
1828 nva[i].namelen = e->namelen; in h3_stream_open()
1829 nva[i].value = (unsigned char *)e->value; in h3_stream_open()
1830 nva[i].valuelen = e->valuelen; in h3_stream_open()
1831 nva[i].flags = NGHTTP3_NV_FLAG_NONE; in h3_stream_open()
1891 (int)nva[i].namelen, nva[i].name, in h3_stream_open()
1892 (int)nva[i].valuelen, nva[i].value); in h3_stream_open()
[all …]
H A Dcurl_ngtcp2.c1366 nghttp3_nv *nva = NULL; in h3_stream_open() local
1403 nva = malloc(sizeof(nghttp3_nv) * nheader); in h3_stream_open()
1404 if(!nva) { in h3_stream_open()
1412 nva[i].name = (unsigned char *)e->name; in h3_stream_open()
1413 nva[i].namelen = e->namelen; in h3_stream_open()
1414 nva[i].value = (unsigned char *)e->value; in h3_stream_open()
1415 nva[i].valuelen = e->valuelen; in h3_stream_open()
1416 nva[i].flags = NGHTTP3_NV_FLAG_NONE; in h3_stream_open()
1476 (int)nva[i].namelen, nva[i].name, in h3_stream_open()
1477 (int)nva[i].valuelen, nva[i].value); in h3_stream_open()
[all …]

Completed in 51 milliseconds