Home
last modified time | relevance | path

Searched refs:ARRLEN (Results 1 – 9 of 9) sorted by relevance

/third_party/nghttp2/tests/
Dnghttp2_hd_test.c62 rv = nghttp2_hd_deflate_hd_bufs(&deflater, &bufs, nva1, ARRLEN(nva1)); in test_nghttp2_hd_deflate()
76 rv = nghttp2_hd_deflate_hd_bufs(&deflater, &bufs, nva2, ARRLEN(nva2)); in test_nghttp2_hd_deflate()
91 rv = nghttp2_hd_deflate_hd_bufs(&deflater, &bufs, nva3, ARRLEN(nva3)); in test_nghttp2_hd_deflate()
105 rv = nghttp2_hd_deflate_hd_bufs(&deflater, &bufs, nva4, ARRLEN(nva4)); in test_nghttp2_hd_deflate()
119 rv = nghttp2_hd_deflate_hd_bufs(&deflater, &bufs, nva5, ARRLEN(nva5)); in test_nghttp2_hd_deflate()
158 rv = nghttp2_hd_deflate_hd_bufs(&deflater, &bufs, nva1, ARRLEN(nva1)); in test_nghttp2_hd_deflate_same_indexed_repr()
172 rv = nghttp2_hd_deflate_hd_bufs(&deflater, &bufs, nva2, ARRLEN(nva2)); in test_nghttp2_hd_deflate_same_indexed_repr()
250 for (i = 0; i < ARRLEN(nv); ++i) { in test_nghttp2_hd_inflate_indname_noinc()
382 for (i = 0; i < ARRLEN(nv); ++i) { in test_nghttp2_hd_inflate_newname_noinc()
1145 check_deflate_inflate(&deflater, &inflater, nv1, ARRLEN(nv1), mem); in test_nghttp2_hd_deflate_inflate()
[all …]
Dnghttp2_session_test.c690 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv()
806 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv_invalid_stream_id()
851 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv_invalid_frame()
1259 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv_continuation()
1321 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv_continuation()
1379 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv_continuation()
1454 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv_headers_with_priority()
1489 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv_headers_with_priority()
1536 nvlen = ARRLEN(reqnv); in test_nghttp2_session_recv_headers_with_priority()
1676 rv = nghttp2_submit_response(session, hd->stream_id, resnv, ARRLEN(resnv), in response_on_begin_frame_callback()
[all …]
Dfailmalloc_test.c152 rv = nghttp2_submit_request(session, NULL, nv, ARRLEN(nv), &data_prd, NULL); in run_nghttp2_session_send()
157 ARRLEN(nv), NULL); in run_nghttp2_session_send()
168 ARRLEN(nv), NULL); in run_nghttp2_session_send()
340 nvlen = ARRLEN(nv); in run_nghttp2_session_recv()
419 nvlen = ARRLEN(nv); in run_nghttp2_frame_pack_headers()
554 rv = deflate_inflate(&deflater, &inflater, &bufs, nva1, ARRLEN(nva1), in run_nghttp2_hd()
561 rv = deflate_inflate(&deflater, &inflater, &bufs, nva2, ARRLEN(nva2), in run_nghttp2_hd()
Dnghttp2_test_helper.h41 #define ARRLEN(ARR) (sizeof(ARR) / sizeof(ARR[0])) macro
Dnghttp2_frame_test.c175 size_t big_hdslen = ARRLEN(big_hds); in test_nghttp2_frame_pack_headers_frame_too_large()
624 rv = nghttp2_nv_array_copy(&nva, emptynv, ARRLEN(emptynv), mem); in test_nghttp2_nv_array_copy()
633 rv = nghttp2_nv_array_copy(&nva, nv, ARRLEN(nv), mem); in test_nghttp2_nv_array_copy()
/third_party/nghttp2/examples/
Dlibevent-client.c70 #define ARRLEN(x) (sizeof(x) / sizeof(x[0])) macro
396 ARRLEN(iv)); in send_client_connection_header()
427 print_headers(stderr, hdrs, ARRLEN(hdrs)); in submit_request()
429 ARRLEN(hdrs), NULL, stream_data); in submit_request()
Dlibevent-server.c78 #define ARRLEN(x) (sizeof(x) / sizeof(x[0])) macro
463 if (send_response(session, stream_data->stream_id, hdrs, ARRLEN(hdrs), in error_reply()
560 if (send_response(session, stream_data->stream_id, hdrs, ARRLEN(hdrs), fd) != in on_request_recv()
640 ARRLEN(iv)); in send_server_connection_header()
/third_party/nghttp2/doc/sources/
Dtutorial-client.rst252 ARRLEN(iv));
282 print_headers(stderr, hdrs, ARRLEN(hdrs));
284 ARRLEN(hdrs), NULL, stream_data);
Dtutorial-server.rst304 ARRLEN(iv));