/third_party/node/deps/nghttp2/lib/ |
D | nghttp2_submit.c | 70 nghttp2_nv *nva_copy, size_t nvlen, in submit_headers_shared() argument 118 pri_spec, nva_copy, nvlen); in submit_headers_shared() 145 const nghttp2_nv *nva, size_t nvlen, in submit_headers_shared_nva() argument 162 rv = nghttp2_nv_array_copy(&nva_copy, nva, nvlen, mem); in submit_headers_shared_nva() 168 nva_copy, nvlen, data_prd, stream_user_data); in submit_headers_shared_nva() 172 const nghttp2_nv *nva, size_t nvlen) { in nghttp2_submit_trailer() argument 178 stream_id, NULL, nva, nvlen, NULL, in nghttp2_submit_trailer() 185 const nghttp2_nv *nva, size_t nvlen, in nghttp2_submit_headers() argument 211 nvlen, NULL, stream_user_data); in nghttp2_submit_headers() 312 size_t nvlen, in nghttp2_submit_push_promise() argument [all …]
|
D | nghttp2_frame.c | 65 nghttp2_nv *nva, size_t nvlen) { in nghttp2_frame_headers_init() argument 69 frame->nvlen = nvlen; in nghttp2_frame_headers_init() 116 nghttp2_nv *nva, size_t nvlen) { in nghttp2_frame_push_promise_init() argument 120 frame->nvlen = nvlen; in nghttp2_frame_push_promise_init() 352 rv = nghttp2_hd_deflate_hd_bufs(deflater, bufs, frame->nva, frame->nvlen); in nghttp2_frame_pack_headers() 405 frame->nvlen = 0; in nghttp2_frame_unpack_headers_payload() 550 rv = nghttp2_hd_deflate_hd_bufs(deflater, bufs, frame->nva, frame->nvlen); in nghttp2_frame_pack_push_promise() 575 frame->nvlen = 0; in nghttp2_frame_unpack_push_promise_payload() 972 void nghttp2_nv_array_sort(nghttp2_nv *nva, size_t nvlen) { in nghttp2_nv_array_sort() argument 973 qsort(nva, nvlen, sizeof(nghttp2_nv), nv_compar); in nghttp2_nv_array_sort() [all …]
|
D | nghttp2_http.c | 497 size_t nvlen; in nghttp2_http_record_request_method() local 503 nvlen = frame->headers.nvlen; in nghttp2_http_record_request_method() 507 nvlen = frame->push_promise.nvlen; in nghttp2_http_record_request_method() 514 for (i = 0; i < nvlen; ++i) { in nghttp2_http_record_request_method()
|
D | nghttp2_frame.h | 434 nghttp2_nv *nva, size_t nvlen); 455 nghttp2_nv *nva, size_t nvlen); 566 void nghttp2_nv_array_sort(nghttp2_nv *nva, size_t nvlen); 584 size_t nvlen, nghttp2_mem *mem);
|
D | nghttp2_hd.c | 1436 size_t nvlen) { in nghttp2_hd_deflate_hd_bufs() argument 1468 for (i = 0; i < nvlen; ++i) { in nghttp2_hd_deflate_hd_bufs() 1487 size_t nvlen) { in nghttp2_hd_deflate_hd() argument 1500 rv = nghttp2_hd_deflate_hd_bufs(deflater, &bufs, nv, nvlen); in nghttp2_hd_deflate_hd() 1519 const nghttp2_nv *nv, size_t nvlen) { in nghttp2_hd_deflate_hd_vec() argument 1533 rv = nghttp2_hd_deflate_hd_bufs(deflater, &bufs, nv, nvlen); in nghttp2_hd_deflate_hd_vec() 1551 const nghttp2_nv *nva, size_t nvlen) { in nghttp2_hd_deflate_bound() argument 1568 n += 6 * 2 * nvlen; in nghttp2_hd_deflate_bound() 1570 for (i = 0; i < nvlen; ++i) { in nghttp2_hd_deflate_bound()
|
/third_party/nghttp2/lib/ |
D | nghttp2_submit.c | 70 nghttp2_nv *nva_copy, size_t nvlen, in submit_headers_shared() argument 118 pri_spec, nva_copy, nvlen); in submit_headers_shared() 145 const nghttp2_nv *nva, size_t nvlen, in submit_headers_shared_nva() argument 162 rv = nghttp2_nv_array_copy(&nva_copy, nva, nvlen, mem); in submit_headers_shared_nva() 168 nva_copy, nvlen, data_prd, stream_user_data); in submit_headers_shared_nva() 172 const nghttp2_nv *nva, size_t nvlen) { in nghttp2_submit_trailer() argument 178 stream_id, NULL, nva, nvlen, NULL, in nghttp2_submit_trailer() 185 const nghttp2_nv *nva, size_t nvlen, in nghttp2_submit_headers() argument 211 nvlen, NULL, stream_user_data); in nghttp2_submit_headers() 312 size_t nvlen, in nghttp2_submit_push_promise() argument [all …]
|
D | nghttp2_frame.c | 65 nghttp2_nv *nva, size_t nvlen) { in nghttp2_frame_headers_init() argument 69 frame->nvlen = nvlen; in nghttp2_frame_headers_init() 116 nghttp2_nv *nva, size_t nvlen) { in nghttp2_frame_push_promise_init() argument 120 frame->nvlen = nvlen; in nghttp2_frame_push_promise_init() 352 rv = nghttp2_hd_deflate_hd_bufs(deflater, bufs, frame->nva, frame->nvlen); in nghttp2_frame_pack_headers() 405 frame->nvlen = 0; in nghttp2_frame_unpack_headers_payload() 550 rv = nghttp2_hd_deflate_hd_bufs(deflater, bufs, frame->nva, frame->nvlen); in nghttp2_frame_pack_push_promise() 575 frame->nvlen = 0; in nghttp2_frame_unpack_push_promise_payload() 972 void nghttp2_nv_array_sort(nghttp2_nv *nva, size_t nvlen) { in nghttp2_nv_array_sort() argument 973 qsort(nva, nvlen, sizeof(nghttp2_nv), nv_compar); in nghttp2_nv_array_sort() [all …]
|
D | nghttp2_http.c | 497 size_t nvlen; in nghttp2_http_record_request_method() local 503 nvlen = frame->headers.nvlen; in nghttp2_http_record_request_method() 507 nvlen = frame->push_promise.nvlen; in nghttp2_http_record_request_method() 514 for (i = 0; i < nvlen; ++i) { in nghttp2_http_record_request_method()
|
D | nghttp2_frame.h | 434 nghttp2_nv *nva, size_t nvlen); 455 nghttp2_nv *nva, size_t nvlen); 566 void nghttp2_nv_array_sort(nghttp2_nv *nva, size_t nvlen); 584 size_t nvlen, nghttp2_mem *mem);
|
D | nghttp2_hd.c | 1436 size_t nvlen) { in nghttp2_hd_deflate_hd_bufs() argument 1468 for (i = 0; i < nvlen; ++i) { in nghttp2_hd_deflate_hd_bufs() 1487 size_t nvlen) { in nghttp2_hd_deflate_hd() argument 1500 rv = nghttp2_hd_deflate_hd_bufs(deflater, &bufs, nv, nvlen); in nghttp2_hd_deflate_hd() 1519 const nghttp2_nv *nv, size_t nvlen) { in nghttp2_hd_deflate_hd_vec() argument 1533 rv = nghttp2_hd_deflate_hd_bufs(deflater, &bufs, nv, nvlen); in nghttp2_hd_deflate_hd_vec() 1551 const nghttp2_nv *nva, size_t nvlen) { in nghttp2_hd_deflate_bound() argument 1568 n += 6 * 2 * nvlen; in nghttp2_hd_deflate_bound() 1570 for (i = 0; i < nvlen; ++i) { in nghttp2_hd_deflate_bound()
|
/third_party/nghttp2/examples/ |
D | deflate.c | 42 size_t nvlen); 95 size_t nvlen) { in deflate() argument 105 for (i = 0; i < nvlen; ++i) { in deflate() 111 for (i = 0; i < nvlen; ++i) { in deflate() 118 buflen = nghttp2_hd_deflate_bound(deflater, nva, nvlen); in deflate() 121 rv = nghttp2_hd_deflate_hd(deflater, buf, buflen, nva, nvlen); in deflate()
|
/third_party/nghttp2/tests/ |
D | nghttp2_test_helper.c | 119 out->nvlen = 0; in nva_out_init() 124 for (i = 0; i < out->nvlen; ++i) { in nva_out_reset() 129 out->nvlen = 0; in nva_out_reset() 133 nghttp2_nv *onv = &out->nva[out->nvlen]; in add_out() 151 ++out->nvlen; in add_out() 214 size_t nvlen, nghttp2_mem *mem) { in pack_headers() argument 219 nghttp2_nv_array_copy(&dnva, nva, nvlen, mem); in pack_headers() 222 NGHTTP2_HCAT_HEADERS, NULL, dnva, nvlen); in pack_headers() 233 size_t nvlen, nghttp2_mem *mem) { in pack_push_promise() argument 238 nghttp2_nv_array_copy(&dnva, nva, nvlen, mem); in pack_push_promise() [all …]
|
D | failmalloc_test.c | 290 size_t nvlen; in run_nghttp2_session_recv() local 340 nvlen = ARRLEN(nv); in run_nghttp2_session_recv() 341 nghttp2_nv_array_copy(&nva, nv, nvlen, nghttp2_mem_fm()); in run_nghttp2_session_recv() 343 NGHTTP2_HCAT_REQUEST, NULL, nva, nvlen); in run_nghttp2_session_recv() 403 size_t nvlen; in run_nghttp2_frame_pack_headers() local 419 nvlen = ARRLEN(nv); in run_nghttp2_frame_pack_headers() 420 rv = nghttp2_nv_array_copy(&nva, nv, nvlen, nghttp2_mem_fm()); in run_nghttp2_frame_pack_headers() 425 NGHTTP2_HCAT_REQUEST, NULL, nva, nvlen); in run_nghttp2_frame_pack_headers() 502 nghttp2_nv *nva, size_t nvlen, nghttp2_mem *mem) { in deflate_inflate() argument 505 rv = nghttp2_hd_deflate_hd_bufs(deflater, bufs, nva, nvlen); in deflate_inflate()
|
D | nghttp2_hd_test.c | 69 CU_ASSERT(3 == out.nvlen); in test_nghttp2_hd_deflate() 83 CU_ASSERT(2 == out.nvlen); in test_nghttp2_hd_deflate() 98 CU_ASSERT(3 == out.nvlen); in test_nghttp2_hd_deflate() 112 CU_ASSERT(3 == out.nvlen); in test_nghttp2_hd_deflate() 126 CU_ASSERT(2 == out.nvlen); in test_nghttp2_hd_deflate() 165 CU_ASSERT(2 == out.nvlen); in test_nghttp2_hd_deflate_same_indexed_repr() 179 CU_ASSERT(3 == out.nvlen); in test_nghttp2_hd_deflate_same_indexed_repr() 212 CU_ASSERT(1 == out.nvlen); in test_nghttp2_hd_inflate_indexed() 259 CU_ASSERT(1 == out.nvlen); in test_nghttp2_hd_inflate_indname_noinc() 294 CU_ASSERT(1 == out.nvlen); in test_nghttp2_hd_inflate_indname_inc() [all …]
|
D | nghttp2_frame_test.c | 78 size_t nvlen; in test_nghttp2_frame_pack_headers() local 92 nvlen = HEADERS_LENGTH; in test_nghttp2_frame_pack_headers() 98 NGHTTP2_HCAT_REQUEST, &pri_spec, nva, nvlen); in test_nghttp2_frame_pack_headers() 118 CU_ASSERT(7 == out.nvlen); in test_nghttp2_frame_pack_headers() 155 nghttp2_nv_array_sort(out.nva, out.nvlen); in test_nghttp2_frame_pack_headers() 320 size_t nvlen; in test_nghttp2_frame_pack_push_promise() local 334 nvlen = HEADERS_LENGTH; in test_nghttp2_frame_pack_push_promise() 336 (1U << 31) - 1, nva, nvlen); in test_nghttp2_frame_pack_push_promise() 352 CU_ASSERT(7 == out.nvlen); in test_nghttp2_frame_pack_push_promise()
|
D | nghttp2_test_helper.h | 73 size_t nvlen; member 86 size_t nvlen, nghttp2_mem *mem); 91 size_t nvlen, nghttp2_mem *mem);
|
D | nghttp2_session_test.c | 671 size_t nvlen; in test_nghttp2_session_recv() local 690 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv() 691 nghttp2_nv_array_copy(&nva, reqnv, nvlen, mem); in test_nghttp2_session_recv() 693 NGHTTP2_HCAT_HEADERS, NULL, nva, nvlen); in test_nghttp2_session_recv() 792 size_t nvlen; in test_nghttp2_session_recv_invalid_stream_id() local 806 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv_invalid_stream_id() 807 nghttp2_nv_array_copy(&nva, reqnv, nvlen, mem); in test_nghttp2_session_recv_invalid_stream_id() 809 NGHTTP2_HCAT_HEADERS, NULL, nva, nvlen); in test_nghttp2_session_recv_invalid_stream_id() 834 size_t nvlen; in test_nghttp2_session_recv_invalid_frame() local 851 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv_invalid_frame() [all …]
|
/third_party/nghttp2/python/ |
D | cnghttp2.pxd | 100 size_t nvlen 112 size_t nvlen 255 const nghttp2_nv *nva, size_t nvlen, 261 const nghttp2_nv *nva, size_t nvlen, 266 const nghttp2_nv *nva, size_t nvlen, 305 const nghttp2_nv *nva, size_t nvlen) 308 const nghttp2_nv *nva, size_t nvlen)
|
D | nghttp2.pyx | 330 cdef size_t nvlen 332 nvlen = len(headers) 333 nva = <cnghttp2.nghttp2_nv*>malloc(sizeof(cnghttp2.nghttp2_nv) * nvlen) 343 return nvlen 870 cdef size_t nvlen 876 nvlen = _make_nva(&nva, handler.response_headers) 886 nva, nvlen, prd_ptr) 900 cdef size_t nvlen 906 nvlen = _make_nva(&nva, promised_handler.headers) 912 nva, nvlen, [all …]
|
/third_party/node/deps/nghttp2/lib/includes/nghttp2/ |
D | nghttp2.h | 1043 size_t nvlen; member 1140 size_t nvlen; member 3863 const nghttp2_nv *nva, size_t nvlen, const nghttp2_data_provider *data_prd, 3932 const nghttp2_nv *nva, size_t nvlen, 3988 const nghttp2_nv *nva, size_t nvlen); 4080 const nghttp2_priority_spec *pri_spec, const nghttp2_nv *nva, size_t nvlen, 4291 const nghttp2_nv *nva, size_t nvlen, void *promised_stream_user_data); 4925 size_t nvlen); 4958 size_t nvlen); 4968 size_t nvlen);
|
/third_party/nghttp2/lib/includes/nghttp2/ |
D | nghttp2.h | 1047 size_t nvlen; member 1144 size_t nvlen; member 3901 const nghttp2_nv *nva, size_t nvlen, const nghttp2_data_provider *data_prd, 3970 const nghttp2_nv *nva, size_t nvlen, 4026 const nghttp2_nv *nva, size_t nvlen); 4118 const nghttp2_priority_spec *pri_spec, const nghttp2_nv *nva, size_t nvlen, 4332 const nghttp2_nv *nva, size_t nvlen, void *promised_stream_user_data); 4967 size_t nvlen); 5001 size_t nvlen); 5011 size_t nvlen);
|
/third_party/nghttp2/src/ |
D | app_helper.cc | 154 void print_nv(nghttp2_nv *nva, size_t nvlen) { in print_nv() argument 155 auto end = nva + nvlen; in print_nv() 294 print_nv(frame->headers.nva, frame->headers.nvlen); in print_frame() 325 print_nv(frame->push_promise.nva, frame->push_promise.nvlen); in print_frame()
|
D | comp_helper.c | 112 json_t *dump_headers(const nghttp2_nv *nva, size_t nvlen) { in dump_headers() argument 117 for (i = 0; i < nvlen; ++i) { in dump_headers()
|
D | comp_helper.h | 47 json_t *dump_headers(const nghttp2_nv *nva, size_t nvlen);
|
/third_party/nghttp2/doc/sources/ |
D | tutorial-hpack.rst | 31 const nghttp2_nv *nva, size_t nvlen); 37 :type:`nghttp2_nv`. *nvlen* is the number of header fields which 55 const nghttp2_nv *nva, size_t nvlen); 58 *nvlen*) which will be passed to `nghttp2_hd_deflate_hd()`.
|