Home
last modified time | relevance | path

Searched refs:deflater (Results 1 - 25 of 25) sorted by relevance

/third_party/nghttp2/tests/
H A Dnghttp2_hd_test.c37 nghttp2_hd_deflater deflater; in test_nghttp2_hd_deflate() local
59 CU_ASSERT(0 == nghttp2_hd_deflate_init(&deflater, mem)); in test_nghttp2_hd_deflate()
62 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()
135 nghttp2_hd_deflate_free(&deflater); in test_nghttp2_hd_deflate()
139 nghttp2_hd_deflater deflater; in test_nghttp2_hd_deflate_same_indexed_repr() local
154 CU_ASSERT(0 == nghttp2_hd_deflate_init(&deflater, me in test_nghttp2_hd_deflate_same_indexed_repr()
661 nghttp2_hd_deflater deflater; test_nghttp2_hd_ringbuf_reserve() local
713 nghttp2_hd_deflater deflater; test_nghttp2_hd_change_table_size() local
975 check_deflate_inflate(nghttp2_hd_deflater *deflater, nghttp2_hd_inflater *inflater, nghttp2_nv *nva, size_t nvlen, nghttp2_mem *mem) check_deflate_inflate() argument
1003 nghttp2_hd_deflater deflater; test_nghttp2_hd_deflate_inflate() local
1161 nghttp2_hd_deflater deflater; test_nghttp2_hd_no_index() local
1212 nghttp2_hd_deflater deflater; test_nghttp2_hd_deflate_bound() local
1242 nghttp2_hd_deflater *deflater; test_nghttp2_hd_public_api() local
1284 nghttp2_hd_deflater *deflater; test_nghttp2_hd_deflate_hd_vec() local
[all...]
H A Dfailmalloc_test.c276 nghttp2_hd_deflater deflater; in run_nghttp2_session_recv() local
303 nghttp2_hd_deflate_init(&deflater, nghttp2_mem_fm()); in run_nghttp2_session_recv()
344 nghttp2_frame_pack_headers(&bufs, &frame.headers, &deflater); in run_nghttp2_session_recv()
387 nghttp2_hd_deflate_free(&deflater); in run_nghttp2_session_recv()
395 nghttp2_hd_deflater deflater; in run_nghttp2_frame_pack_headers() local
411 rv = nghttp2_hd_deflate_init(&deflater, nghttp2_mem_fm()); in run_nghttp2_frame_pack_headers()
426 rv = nghttp2_frame_pack_headers(&bufs, &frame.headers, &deflater); in run_nghttp2_frame_pack_headers()
441 nghttp2_hd_deflate_free(&deflater); in run_nghttp2_frame_pack_headers()
500 static int deflate_inflate(nghttp2_hd_deflater *deflater, in deflate_inflate() argument
505 rv = nghttp2_hd_deflate_hd_bufs(deflater, buf in deflate_inflate()
523 nghttp2_hd_deflater deflater; run_nghttp2_hd() local
[all...]
H A Dnghttp2_session_test.c681 nghttp2_hd_deflater deflater; in test_nghttp2_session_recv() local
697 nghttp2_hd_deflate_init(&deflater, mem); in test_nghttp2_session_recv()
703 rv = nghttp2_frame_pack_headers(&bufs, &frame.headers, &deflater); in test_nghttp2_session_recv()
747 nghttp2_hd_deflate_free(&deflater); in test_nghttp2_session_recv()
793 nghttp2_hd_deflater deflater; in test_nghttp2_session_recv_invalid_stream_id() local
809 nghttp2_hd_deflate_init(&deflater, mem); in test_nghttp2_session_recv_invalid_stream_id()
815 rv = nghttp2_frame_pack_headers(&bufs, &frame.headers, &deflater); in test_nghttp2_session_recv_invalid_stream_id()
827 nghttp2_hd_deflate_free(&deflater); in test_nghttp2_session_recv_invalid_stream_id()
840 nghttp2_hd_deflater deflater; in test_nghttp2_session_recv_invalid_frame() local
855 nghttp2_hd_deflate_init(&deflater, me in test_nghttp2_session_recv_invalid_frame()
1244 nghttp2_hd_deflater deflater; test_nghttp2_session_recv_continuation() local
1439 nghttp2_hd_deflater deflater; test_nghttp2_session_recv_headers_with_priority() local
1693 nghttp2_hd_deflater deflater; test_nghttp2_session_recv_headers_early_response() local
1760 nghttp2_hd_deflater deflater; test_nghttp2_session_recv_headers_for_closed_stream() local
1844 nghttp2_hd_deflater deflater; test_nghttp2_session_recv_headers_with_extpri() local
1945 nghttp2_hd_deflater deflater; test_nghttp2_session_server_recv_push_response() local
1994 nghttp2_hd_deflater deflater; test_nghttp2_session_recv_premature_headers() local
2786 nghttp2_hd_deflater deflater; test_nghttp2_session_recv_priority_update() local
2997 nghttp2_hd_deflater deflater; test_nghttp2_session_continue() local
4951 nghttp2_hd_deflater deflater; test_nghttp2_session_upgrade2() local
8004 nghttp2_hd_deflater *deflater; test_nghttp2_session_set_option() local
9519 nghttp2_hd_deflater deflater; test_nghttp2_session_stream_get_state() local
10094 nghttp2_hd_deflater deflater; test_nghttp2_session_on_header_temporal_failure() local
10307 nghttp2_hd_deflater deflater; test_nghttp2_session_cancel_reserved_remote() local
10483 nghttp2_hd_deflater deflater; test_nghttp2_session_on_begin_headers_temporal_failure() local
11409 prepare_session_removed_closed_stream(nghttp2_session *session, nghttp2_hd_deflater *deflater) prepare_session_removed_closed_stream() argument
11513 nghttp2_hd_deflater deflater; test_nghttp2_session_removed_closed_stream() local
11793 nghttp2_hd_deflater deflater; test_nghttp2_session_server_fallback_rfc7540_priorities() local
11980 nghttp2_hd_deflater deflater; test_nghttp2_session_stream_reset_ratelim() local
12074 check_nghttp2_http_recv_headers_fail( nghttp2_session *session, nghttp2_hd_deflater *deflater, int32_t stream_id, int stream_state, const nghttp2_nv *nva, size_t nvlen) check_nghttp2_http_recv_headers_fail() argument
12117 check_nghttp2_http_recv_headers_ok( nghttp2_session *session, nghttp2_hd_deflater *deflater, int32_t stream_id, int stream_state, const nghttp2_nv *nva, size_t nvlen) check_nghttp2_http_recv_headers_ok() argument
12157 nghttp2_hd_deflater deflater; test_nghttp2_http_mandatory_headers() local
12453 nghttp2_hd_deflater deflater; test_nghttp2_http_content_length() local
12525 nghttp2_hd_deflater deflater; test_nghttp2_http_content_length_mismatch() local
12708 nghttp2_hd_deflater deflater; test_nghttp2_http_non_final_response() local
12854 nghttp2_hd_deflater deflater; test_nghttp2_http_trailer_headers() local
12967 nghttp2_hd_deflater deflater; test_nghttp2_http_ignore_regular_header() local
13090 nghttp2_hd_deflater deflater; test_nghttp2_http_ignore_content_length() local
13188 nghttp2_hd_deflater deflater; test_nghttp2_http_record_request_method() local
13236 nghttp2_hd_deflater deflater; test_nghttp2_http_push_promise() local
13318 nghttp2_hd_deflater deflater; test_nghttp2_http_head_method_upgrade_workaround() local
13357 nghttp2_hd_deflater deflater; test_nghttp2_http_no_rfc9113_leading_and_trailing_ws_validation() local
[all...]
H A Dnghttp2_frame_test.c72 nghttp2_hd_deflater deflater; in test_nghttp2_frame_pack_headers() local
88 nghttp2_hd_deflate_init(&deflater, mem); in test_nghttp2_frame_pack_headers()
99 rv = nghttp2_frame_pack_headers(&bufs, &frame, &deflater); in test_nghttp2_frame_pack_headers()
131 rv = nghttp2_frame_pack_headers(&bufs, &frame, &deflater); in test_nghttp2_frame_pack_headers()
165 nghttp2_hd_deflate_free(&deflater); in test_nghttp2_frame_pack_headers()
169 nghttp2_hd_deflater deflater; in test_nghttp2_frame_pack_headers_frame_too_large() local
194 nghttp2_hd_deflate_init(&deflater, mem); in test_nghttp2_frame_pack_headers_frame_too_large()
198 rv = nghttp2_frame_pack_headers(&bufs, &frame, &deflater); in test_nghttp2_frame_pack_headers_frame_too_large()
206 nghttp2_hd_deflate_free(&deflater); in test_nghttp2_frame_pack_headers_frame_too_large()
310 nghttp2_hd_deflater deflater; in test_nghttp2_frame_pack_push_promise() local
[all...]
H A Dnghttp2_test_helper.h84 int pack_headers(nghttp2_bufs *bufs, nghttp2_hd_deflater *deflater,
88 int pack_push_promise(nghttp2_bufs *bufs, nghttp2_hd_deflater *deflater,
H A Dnghttp2_test_helper.c216 int pack_headers(nghttp2_bufs *bufs, nghttp2_hd_deflater *deflater, in pack_headers() argument
227 rv = nghttp2_frame_pack_headers(bufs, &frame.headers, deflater); in pack_headers()
234 int pack_push_promise(nghttp2_bufs *bufs, nghttp2_hd_deflater *deflater, in pack_push_promise() argument
246 rv = nghttp2_frame_pack_push_promise(bufs, &frame.push_promise, deflater); in pack_push_promise()
/third_party/node/test/parallel/
H A Dtest-zlib-flush-drain.js13 const deflater = zlib.createDeflate(opts);
15 // Shim deflater.flush so we can count times executed
19 const flush = deflater.flush;
20 deflater.flush = function(kind, callback) {
25 deflater.write(bigData);
27 const ws = deflater._writableState;
31 deflater.on('data', () => {
34 deflater.flush(function(err) {
38 deflater.on('drain', function() {
H A Dtest-zlib-params.js10 const deflater = zlib.createDeflate(opts);
21 while ((buf = deflater.read()) !== null) {
26 deflater.write(chunk1, function() {
27 deflater.params(0, zlib.constants.Z_DEFAULT_STRATEGY, function() {
28 while (deflater.read());
30 deflater.on('readable', read);
32 deflater.end(chunk2);
34 while (deflater.read());
H A Dtest-zlib-flush.js10 const deflater = zlib.createDeflate(opts);
20 deflater.write(chunk, function() {
21 deflater.flush(zlib.constants.Z_NO_FLUSH, function() {
22 actualNone = deflater.read();
23 deflater.flush(function() {
26 while ((buf = deflater.read()) !== null)
/third_party/nghttp2/src/
H A Ddeflatehd.cc79 static void output_to_json(nghttp2_hd_deflater *deflater, const uint8_t *buf, in output_to_json() argument
106 dump_deflate_header_table(deflater)); in output_to_json()
113 static void deflate_hd(nghttp2_hd_deflater *deflater, in deflate_hd() argument
119 rv = nghttp2_hd_deflate_hd(deflater, buf.data(), buf.size(), in deflate_hd()
129 output_to_json(deflater, buf.data(), rv, inputlen, nva, seq); in deflate_hd()
132 static int deflate_hd_json(json_t *obj, nghttp2_hd_deflater *deflater, in deflate_hd_json() argument
177 deflate_hd(deflater, nva, inputlen, seq); in deflate_hd_json()
183 nghttp2_hd_deflater *deflater; in init_deflater() local
184 nghttp2_hd_deflate_new(&deflater, config.deflate_table_size); in init_deflater()
186 nghttp2_hd_deflate_change_table_size(deflater, confi in init_deflater()
191 deinit_deflater(nghttp2_hd_deflater *deflater) deinit_deflater() argument
217 auto deflater = init_deflater(); perform() local
244 auto deflater = init_deflater(); perform_from_http1text() local
[all...]
H A Dcomp_helper.c34 json_t *dump_deflate_header_table(nghttp2_hd_deflater *deflater) { in dump_deflate_header_table() argument
37 size_t len = nghttp2_hd_deflate_get_num_table_entries(deflater); in dump_deflate_header_table()
43 const nghttp2_nv *nv = nghttp2_hd_deflate_get_table_entry(deflater, i); in dump_deflate_header_table()
57 (json_int_t)nghttp2_hd_deflate_get_dynamic_table_size(deflater))); in dump_deflate_header_table()
61 (json_int_t)nghttp2_hd_deflate_get_max_dynamic_table_size(deflater))); in dump_deflate_header_table()
H A Dcomp_helper.h40 json_t *dump_deflate_header_table(nghttp2_hd_deflater *deflater);
/third_party/nghttp2/lib/
H A Dnghttp2_hd.c696 int nghttp2_hd_deflate_init(nghttp2_hd_deflater *deflater, nghttp2_mem *mem) { in nghttp2_hd_deflate_init() argument
698 deflater, NGHTTP2_HD_DEFAULT_MAX_DEFLATE_BUFFER_SIZE, mem); in nghttp2_hd_deflate_init()
701 int nghttp2_hd_deflate_init2(nghttp2_hd_deflater *deflater, in nghttp2_hd_deflate_init2() argument
705 rv = hd_context_init(&deflater->ctx, mem); in nghttp2_hd_deflate_init2()
710 hd_map_init(&deflater->map); in nghttp2_hd_deflate_init2()
713 deflater->notify_table_size_change = 1; in nghttp2_hd_deflate_init2()
714 deflater->ctx.hd_table_bufsize_max = max_deflate_dynamic_table_size; in nghttp2_hd_deflate_init2()
716 deflater->notify_table_size_change = 0; in nghttp2_hd_deflate_init2()
719 deflater->deflate_hd_table_bufsize_max = max_deflate_dynamic_table_size; in nghttp2_hd_deflate_init2()
720 deflater in nghttp2_hd_deflate_init2()
769 nghttp2_hd_deflate_free(nghttp2_hd_deflater *deflater) nghttp2_hd_deflate_free() argument
1245 nghttp2_hd_deflate_change_table_size( nghttp2_hd_deflater *deflater, size_t settings_max_dynamic_table_size) nghttp2_hd_deflate_change_table_size() argument
1327 hd_deflate_decide_indexing(nghttp2_hd_deflater *deflater, const nghttp2_nv *nv, int32_t token) hd_deflate_decide_indexing() argument
1342 deflate_nv(nghttp2_hd_deflater *deflater, nghttp2_bufs *bufs, const nghttp2_nv *nv) deflate_nv() argument
1440 nghttp2_hd_deflate_hd_bufs(nghttp2_hd_deflater *deflater, nghttp2_bufs *bufs, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd_bufs() argument
1491 nghttp2_hd_deflate_hd(nghttp2_hd_deflater *deflater, uint8_t *buf, size_t buflen, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd() argument
1523 nghttp2_hd_deflate_hd_vec(nghttp2_hd_deflater *deflater, const nghttp2_vec *vec, size_t veclen, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd_vec() argument
1556 nghttp2_hd_deflate_bound(nghttp2_hd_deflater *deflater, const nghttp2_nv *nva, size_t nvlen) nghttp2_hd_deflate_bound() argument
1593 nghttp2_hd_deflater *deflater; nghttp2_hd_deflate_new2() local
1618 nghttp2_hd_deflate_del(nghttp2_hd_deflater *deflater) nghttp2_hd_deflate_del() argument
2321 nghttp2_hd_deflate_get_num_table_entries(nghttp2_hd_deflater *deflater) nghttp2_hd_deflate_get_num_table_entries() argument
2326 nghttp2_hd_deflate_get_table_entry(nghttp2_hd_deflater *deflater, size_t idx) nghttp2_hd_deflate_get_table_entry() argument
2331 nghttp2_hd_deflate_get_dynamic_table_size(nghttp2_hd_deflater *deflater) nghttp2_hd_deflate_get_dynamic_table_size() argument
2336 nghttp2_hd_deflate_get_max_dynamic_table_size(nghttp2_hd_deflater *deflater) nghttp2_hd_deflate_get_max_dynamic_table_size() argument
[all...]
H A Dnghttp2_hd.h223 /* The upper limit of the header table size the deflater accepts. */
257 /* nonzero if deflater requires that current entry is indexed */
259 /* nonzero if deflater requires that current entry must not be
277 * Initializes |deflater| for deflating name/values pairs.
290 int nghttp2_hd_deflate_init(nghttp2_hd_deflater *deflater, nghttp2_mem *mem);
293 * Initializes |deflater| for deflating name/values pairs.
305 int nghttp2_hd_deflate_init2(nghttp2_hd_deflater *deflater,
310 * Deallocates any resources allocated for |deflater|.
312 void nghttp2_hd_deflate_free(nghttp2_hd_deflater *deflater);
334 int nghttp2_hd_deflate_hd_bufs(nghttp2_hd_deflater *deflater,
[all...]
H A Dnghttp2_frame.h140 nghttp2_hd_deflater *deflater);
256 nghttp2_hd_deflater *deflater);
H A Dnghttp2_frame.c362 nghttp2_hd_deflater *deflater) { in nghttp2_frame_pack_headers()
377 rv = nghttp2_hd_deflate_hd_bufs(deflater, bufs, frame->nva, frame->nvlen); in nghttp2_frame_pack_headers()
556 nghttp2_hd_deflater *deflater) { in nghttp2_frame_pack_push_promise()
569 rv = nghttp2_hd_deflate_hd_bufs(deflater, bufs, frame->nva, frame->nvlen); in nghttp2_frame_pack_push_promise()
361 nghttp2_frame_pack_headers(nghttp2_bufs *bufs, nghttp2_headers *frame, nghttp2_hd_deflater *deflater) nghttp2_frame_pack_headers() argument
554 nghttp2_frame_pack_push_promise(nghttp2_bufs *bufs, nghttp2_push_promise *frame, nghttp2_hd_deflater *deflater) nghttp2_frame_pack_push_promise() argument
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_hd.c696 int nghttp2_hd_deflate_init(nghttp2_hd_deflater *deflater, nghttp2_mem *mem) { in nghttp2_hd_deflate_init() argument
698 deflater, NGHTTP2_HD_DEFAULT_MAX_DEFLATE_BUFFER_SIZE, mem); in nghttp2_hd_deflate_init()
701 int nghttp2_hd_deflate_init2(nghttp2_hd_deflater *deflater, in nghttp2_hd_deflate_init2() argument
705 rv = hd_context_init(&deflater->ctx, mem); in nghttp2_hd_deflate_init2()
710 hd_map_init(&deflater->map); in nghttp2_hd_deflate_init2()
713 deflater->notify_table_size_change = 1; in nghttp2_hd_deflate_init2()
714 deflater->ctx.hd_table_bufsize_max = max_deflate_dynamic_table_size; in nghttp2_hd_deflate_init2()
716 deflater->notify_table_size_change = 0; in nghttp2_hd_deflate_init2()
719 deflater->deflate_hd_table_bufsize_max = max_deflate_dynamic_table_size; in nghttp2_hd_deflate_init2()
720 deflater in nghttp2_hd_deflate_init2()
769 nghttp2_hd_deflate_free(nghttp2_hd_deflater *deflater) nghttp2_hd_deflate_free() argument
1245 nghttp2_hd_deflate_change_table_size( nghttp2_hd_deflater *deflater, size_t settings_max_dynamic_table_size) nghttp2_hd_deflate_change_table_size() argument
1327 hd_deflate_decide_indexing(nghttp2_hd_deflater *deflater, const nghttp2_nv *nv, int32_t token) hd_deflate_decide_indexing() argument
1342 deflate_nv(nghttp2_hd_deflater *deflater, nghttp2_bufs *bufs, const nghttp2_nv *nv) deflate_nv() argument
1440 nghttp2_hd_deflate_hd_bufs(nghttp2_hd_deflater *deflater, nghttp2_bufs *bufs, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd_bufs() argument
1491 nghttp2_hd_deflate_hd(nghttp2_hd_deflater *deflater, uint8_t *buf, size_t buflen, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd() argument
1523 nghttp2_hd_deflate_hd_vec(nghttp2_hd_deflater *deflater, const nghttp2_vec *vec, size_t veclen, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd_vec() argument
1556 nghttp2_hd_deflate_bound(nghttp2_hd_deflater *deflater, const nghttp2_nv *nva, size_t nvlen) nghttp2_hd_deflate_bound() argument
1593 nghttp2_hd_deflater *deflater; nghttp2_hd_deflate_new2() local
1618 nghttp2_hd_deflate_del(nghttp2_hd_deflater *deflater) nghttp2_hd_deflate_del() argument
2321 nghttp2_hd_deflate_get_num_table_entries(nghttp2_hd_deflater *deflater) nghttp2_hd_deflate_get_num_table_entries() argument
2326 nghttp2_hd_deflate_get_table_entry(nghttp2_hd_deflater *deflater, size_t idx) nghttp2_hd_deflate_get_table_entry() argument
2331 nghttp2_hd_deflate_get_dynamic_table_size(nghttp2_hd_deflater *deflater) nghttp2_hd_deflate_get_dynamic_table_size() argument
2336 nghttp2_hd_deflate_get_max_dynamic_table_size(nghttp2_hd_deflater *deflater) nghttp2_hd_deflate_get_max_dynamic_table_size() argument
[all...]
H A Dnghttp2_hd.h223 /* The upper limit of the header table size the deflater accepts. */
257 /* nonzero if deflater requires that current entry is indexed */
259 /* nonzero if deflater requires that current entry must not be
277 * Initializes |deflater| for deflating name/values pairs.
290 int nghttp2_hd_deflate_init(nghttp2_hd_deflater *deflater, nghttp2_mem *mem);
293 * Initializes |deflater| for deflating name/values pairs.
305 int nghttp2_hd_deflate_init2(nghttp2_hd_deflater *deflater,
310 * Deallocates any resources allocated for |deflater|.
312 void nghttp2_hd_deflate_free(nghttp2_hd_deflater *deflater);
334 int nghttp2_hd_deflate_hd_bufs(nghttp2_hd_deflater *deflater,
[all...]
H A Dnghttp2_frame.h140 nghttp2_hd_deflater *deflater);
256 nghttp2_hd_deflater *deflater);
H A Dnghttp2_frame.c362 nghttp2_hd_deflater *deflater) { in nghttp2_frame_pack_headers()
377 rv = nghttp2_hd_deflate_hd_bufs(deflater, bufs, frame->nva, frame->nvlen); in nghttp2_frame_pack_headers()
556 nghttp2_hd_deflater *deflater) { in nghttp2_frame_pack_push_promise()
569 rv = nghttp2_hd_deflate_hd_bufs(deflater, bufs, frame->nva, frame->nvlen); in nghttp2_frame_pack_push_promise()
361 nghttp2_frame_pack_headers(nghttp2_bufs *bufs, nghttp2_headers *frame, nghttp2_hd_deflater *deflater) nghttp2_frame_pack_headers() argument
554 nghttp2_frame_pack_push_promise(nghttp2_bufs *bufs, nghttp2_push_promise *frame, nghttp2_hd_deflater *deflater) nghttp2_frame_pack_push_promise() argument
/third_party/nghttp2/examples/
H A Ddeflate.c40 static void deflate(nghttp2_hd_deflater *deflater,
49 nghttp2_hd_deflater *deflater; in main() local
64 rv = nghttp2_hd_deflate_new(&deflater, 4096); in main()
81 deflate(deflater, inflater, nva1, sizeof(nva1) / sizeof(nva1[0])); in main()
85 deflate(deflater, inflater, nva2, sizeof(nva2) / sizeof(nva2[0])); in main()
88 nghttp2_hd_deflate_del(deflater); in main()
93 static void deflate(nghttp2_hd_deflater *deflater, in deflate() argument
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/node/benchmark/zlib/
H A Ddeflate.js20 const deflater = zlib.createDeflate();
21 deflater.resume();
22 deflater.on('finish', () => {
29 return deflater.end();
30 deflater.write(chunk, next);
/third_party/nghttp2/fuzz/
H A Dfuzz_frames.cc36 nghttp2_hd_deflater deflater; in check_frame_pack_headers() local
52 nghttp2_hd_deflate_init(&deflater, mem); in check_frame_pack_headers()
69 rv = nghttp2_frame_pack_headers(&bufs, &frame, &deflater); in check_frame_pack_headers()
92 nghttp2_hd_deflate_free(&deflater); in check_frame_pack_headers()
96 nghttp2_hd_deflater deflater; in check_frame_push_promise() local
112 nghttp2_hd_deflate_init(&deflater, mem); in check_frame_push_promise()
128 rv = nghttp2_frame_pack_push_promise(&bufs, &frame, &deflater); in check_frame_push_promise()
149 nghttp2_hd_deflate_free(&deflater); in check_frame_push_promise()
/third_party/nghttp2/lib/includes/nghttp2/
H A Dnghttp2.h3424 * Returns the current dynamic table size of HPACK deflater including
5149 * HPACK deflater object.
5159 * table size the deflater will use.
5196 * Deallocates any resources allocated for |deflater|.
5198 NGHTTP2_EXTERN void nghttp2_hd_deflate_del(nghttp2_hd_deflater *deflater);
5203 * Changes header table size of the |deflater| to
5210 * The deflater never uses more memory than
5224 nghttp2_hd_deflate_change_table_size(nghttp2_hd_deflater *deflater,
5254 NGHTTP2_EXTERN ssize_t nghttp2_hd_deflate_hd(nghttp2_hd_deflater *deflater,
5287 NGHTTP2_EXTERN ssize_t nghttp2_hd_deflate_hd_vec(nghttp2_hd_deflater *deflater,
[all...]
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
H A Dnghttp2.h3408 * Returns the current dynamic table size of HPACK deflater including
5133 * HPACK deflater object.
5143 * table size the deflater will use.
5180 * Deallocates any resources allocated for |deflater|.
5182 NGHTTP2_EXTERN void nghttp2_hd_deflate_del(nghttp2_hd_deflater *deflater);
5187 * Changes header table size of the |deflater| to
5194 * The deflater never uses more memory than
5208 nghttp2_hd_deflate_change_table_size(nghttp2_hd_deflater *deflater,
5238 NGHTTP2_EXTERN ssize_t nghttp2_hd_deflate_hd(nghttp2_hd_deflater *deflater,
5271 NGHTTP2_EXTERN ssize_t nghttp2_hd_deflate_hd_vec(nghttp2_hd_deflater *deflater,
[all...]

Completed in 33 milliseconds