Home
last modified time | relevance | path

Searched refs:inflater (Results 1 – 25 of 46) sorted by relevance

12

/third_party/nghttp2/lib/
Dnghttp2_hd.c725 int nghttp2_hd_inflate_init(nghttp2_hd_inflater *inflater, nghttp2_mem *mem) { in nghttp2_hd_inflate_init() argument
728 rv = hd_context_init(&inflater->ctx, mem); in nghttp2_hd_inflate_init()
733 inflater->settings_hd_table_bufsize_max = NGHTTP2_HD_DEFAULT_MAX_BUFFER_SIZE; in nghttp2_hd_inflate_init()
734 inflater->min_hd_table_bufsize_max = UINT32_MAX; in nghttp2_hd_inflate_init()
736 inflater->nv_name_keep = NULL; in nghttp2_hd_inflate_init()
737 inflater->nv_value_keep = NULL; in nghttp2_hd_inflate_init()
739 inflater->opcode = NGHTTP2_HD_OPCODE_NONE; in nghttp2_hd_inflate_init()
740 inflater->state = NGHTTP2_HD_STATE_INFLATE_START; in nghttp2_hd_inflate_init()
742 nghttp2_buf_init(&inflater->namebuf); in nghttp2_hd_inflate_init()
743 nghttp2_buf_init(&inflater->valuebuf); in nghttp2_hd_inflate_init()
[all …]
Dnghttp2_hd.h347 int nghttp2_hd_inflate_init(nghttp2_hd_inflater *inflater, nghttp2_mem *mem);
352 void nghttp2_hd_inflate_free(nghttp2_hd_inflater *inflater);
360 ssize_t nghttp2_hd_inflate_hd_nv(nghttp2_hd_inflater *inflater,
/third_party/node/deps/nghttp2/lib/
Dnghttp2_hd.c720 int nghttp2_hd_inflate_init(nghttp2_hd_inflater *inflater, nghttp2_mem *mem) { in nghttp2_hd_inflate_init() argument
723 rv = hd_context_init(&inflater->ctx, mem); in nghttp2_hd_inflate_init()
728 inflater->settings_hd_table_bufsize_max = NGHTTP2_HD_DEFAULT_MAX_BUFFER_SIZE; in nghttp2_hd_inflate_init()
729 inflater->min_hd_table_bufsize_max = UINT32_MAX; in nghttp2_hd_inflate_init()
731 inflater->nv_name_keep = NULL; in nghttp2_hd_inflate_init()
732 inflater->nv_value_keep = NULL; in nghttp2_hd_inflate_init()
734 inflater->opcode = NGHTTP2_HD_OPCODE_NONE; in nghttp2_hd_inflate_init()
735 inflater->state = NGHTTP2_HD_STATE_INFLATE_START; in nghttp2_hd_inflate_init()
737 nghttp2_buf_init(&inflater->namebuf); in nghttp2_hd_inflate_init()
738 nghttp2_buf_init(&inflater->valuebuf); in nghttp2_hd_inflate_init()
[all …]
Dnghttp2_hd.h346 int nghttp2_hd_inflate_init(nghttp2_hd_inflater *inflater, nghttp2_mem *mem);
351 void nghttp2_hd_inflate_free(nghttp2_hd_inflater *inflater);
359 ssize_t nghttp2_hd_inflate_hd_nv(nghttp2_hd_inflater *inflater,
/third_party/nghttp2/tests/
Dnghttp2_hd_test.c38 nghttp2_hd_inflater inflater; in test_nghttp2_hd_deflate() local
60 CU_ASSERT(0 == nghttp2_hd_inflate_init(&inflater, mem)); in test_nghttp2_hd_deflate()
67 CU_ASSERT(blocklen == inflate_hd(&inflater, &out, &bufs, 0, mem)); in test_nghttp2_hd_deflate()
81 CU_ASSERT(blocklen == inflate_hd(&inflater, &out, &bufs, 0, mem)); in test_nghttp2_hd_deflate()
96 CU_ASSERT(blocklen == inflate_hd(&inflater, &out, &bufs, 0, mem)); in test_nghttp2_hd_deflate()
110 CU_ASSERT(blocklen == inflate_hd(&inflater, &out, &bufs, 0, mem)); in test_nghttp2_hd_deflate()
124 CU_ASSERT(blocklen == inflate_hd(&inflater, &out, &bufs, 0, mem)); in test_nghttp2_hd_deflate()
134 nghttp2_hd_inflate_free(&inflater); in test_nghttp2_hd_deflate()
140 nghttp2_hd_inflater inflater; in test_nghttp2_hd_deflate_same_indexed_repr() local
155 CU_ASSERT(0 == nghttp2_hd_inflate_init(&inflater, mem)); in test_nghttp2_hd_deflate_same_indexed_repr()
[all …]
Dfailmalloc_test.c396 nghttp2_hd_inflater inflater; in run_nghttp2_frame_pack_headers() local
415 rv = nghttp2_hd_inflate_init(&inflater, nghttp2_mem_fm()); in run_nghttp2_frame_pack_headers()
439 nghttp2_hd_inflate_free(&inflater); in run_nghttp2_frame_pack_headers()
501 nghttp2_hd_inflater *inflater, nghttp2_bufs *bufs, in deflate_inflate() argument
511 rv = (int)inflate_hd(inflater, NULL, bufs, 0, mem); in deflate_inflate()
524 nghttp2_hd_inflater inflater; in run_nghttp2_hd() local
548 rv = nghttp2_hd_inflate_init(&inflater, nghttp2_mem_fm()); in run_nghttp2_hd()
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()
569 nghttp2_hd_inflate_free(&inflater); in run_nghttp2_hd()
Dnghttp2_frame_test.c73 nghttp2_hd_inflater inflater; in test_nghttp2_frame_pack_headers() local
89 nghttp2_hd_inflate_init(&inflater, mem); in test_nghttp2_frame_pack_headers()
116 inflate_hd(&inflater, &out, &bufs, NGHTTP2_FRAME_HDLEN, mem)); in test_nghttp2_frame_pack_headers()
150 inflate_hd(&inflater, &out, &bufs, in test_nghttp2_frame_pack_headers()
164 nghttp2_hd_inflate_free(&inflater); in test_nghttp2_frame_pack_headers()
316 nghttp2_hd_inflater inflater; in test_nghttp2_frame_pack_push_promise() local
331 nghttp2_hd_inflate_init(&inflater, mem); in test_nghttp2_frame_pack_push_promise()
350 inflate_hd(&inflater, &out, &bufs, NGHTTP2_FRAME_HDLEN + 4, mem)); in test_nghttp2_frame_pack_push_promise()
360 nghttp2_hd_inflate_free(&inflater); in test_nghttp2_frame_pack_push_promise()
/third_party/nghttp2/src/
Dnghttp2_gzip.c49 void nghttp2_gzip_inflate_del(nghttp2_gzip *inflater) { in nghttp2_gzip_inflate_del() argument
50 if (inflater != NULL) { in nghttp2_gzip_inflate_del()
51 inflateEnd(&inflater->zst); in nghttp2_gzip_inflate_del()
52 free(inflater); in nghttp2_gzip_inflate_del()
56 int nghttp2_gzip_inflate(nghttp2_gzip *inflater, uint8_t *out, in nghttp2_gzip_inflate() argument
60 if (inflater->finished) { in nghttp2_gzip_inflate()
63 inflater->zst.avail_in = (unsigned int)*inlen_ptr; in nghttp2_gzip_inflate()
64 inflater->zst.next_in = (unsigned char *)in; in nghttp2_gzip_inflate()
65 inflater->zst.avail_out = (unsigned int)*outlen_ptr; in nghttp2_gzip_inflate()
66 inflater->zst.next_out = out; in nghttp2_gzip_inflate()
[all …]
Dinflatehd.cc74 static void to_json(nghttp2_hd_inflater *inflater, json_t *headers, in to_json() argument
81 nghttp2_hd_inflate_get_max_dynamic_table_size(inflater); in to_json()
88 dump_inflate_header_table(inflater)); in to_json()
95 static int inflate_hd(json_t *obj, nghttp2_hd_inflater *inflater, int seq) { in inflate_hd() argument
100 nghttp2_hd_inflate_get_max_dynamic_table_size(inflater); in inflate_hd()
123 rv = nghttp2_hd_inflate_change_table_size(inflater, in inflate_hd()
150 rv = nghttp2_hd_inflate_hd(inflater, &nv, &inflate_flags, p, buflen, 1); in inflate_hd()
166 nghttp2_hd_inflate_end_headers(inflater); in inflate_hd()
167 to_json(inflater, headers, wire, seq, old_settings_table_size); in inflate_hd()
174 nghttp2_hd_inflater *inflater = nullptr; in perform() local
[all …]
Dnghttp2_gzip_test.c70 nghttp2_gzip *inflater; in test_nghttp2_gzip_inflate() local
78 CU_ASSERT(0 == nghttp2_gzip_inflate_new(&inflater)); in test_nghttp2_gzip_inflate()
84 0 == nghttp2_gzip_inflate(inflater, out, &outproclen, inptr, &inproclen)); in test_nghttp2_gzip_inflate()
95 0 == nghttp2_gzip_inflate(inflater, out, &outproclen, inptr, &inproclen)); in test_nghttp2_gzip_inflate()
106 0 == nghttp2_gzip_inflate(inflater, out, &outproclen, inptr, &inproclen)); in test_nghttp2_gzip_inflate()
114 nghttp2_gzip_inflate_del(inflater); in test_nghttp2_gzip_inflate()
Dcomp_helper.c66 json_t *dump_inflate_header_table(nghttp2_hd_inflater *inflater) { in dump_inflate_header_table() argument
69 size_t len = nghttp2_hd_inflate_get_num_table_entries(inflater); in dump_inflate_header_table()
75 const nghttp2_nv *nv = nghttp2_hd_inflate_get_table_entry(inflater, i); in dump_inflate_header_table()
89 (json_int_t)nghttp2_hd_inflate_get_dynamic_table_size(inflater))); in dump_inflate_header_table()
93 (json_int_t)nghttp2_hd_inflate_get_max_dynamic_table_size(inflater))); in dump_inflate_header_table()
Dnghttp2_gzip.h63 void nghttp2_gzip_inflate_del(nghttp2_gzip *inflater);
105 int nghttp2_gzip_inflate(nghttp2_gzip *inflater, uint8_t *out,
116 int nghttp2_gzip_inflate_finished(nghttp2_gzip *inflater);
/third_party/nghttp2/examples/
Ddeflate.c41 nghttp2_hd_inflater *inflater, const nghttp2_nv *const nva,
44 static int inflate_header_block(nghttp2_hd_inflater *inflater, uint8_t *in,
50 nghttp2_hd_inflater *inflater; in main() local
72 rv = nghttp2_hd_inflate_new(&inflater); 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()
87 nghttp2_hd_inflate_del(inflater); in main()
94 nghttp2_hd_inflater *inflater, const nghttp2_nv *const nva, in deflate() argument
153 rv = inflate_header_block(inflater, buf, outlen, 1); in deflate()
167 int inflate_header_block(nghttp2_hd_inflater *inflater, uint8_t *in, in inflate_header_block() argument
[all …]
/third_party/node/benchmark/zlib/
DcreateInflate.js18 const inflater = zlib.createInflate();
19 inflater.resume();
20 inflater.on('finish', () => {
28 return inflater.end();
29 inflater.write(input.slice(p, p += chunkLen), nextChunk);
/third_party/nghttp2/fuzz/
Dfuzz_frames.cc37 nghttp2_hd_inflater inflater; in check_frame_pack_headers() local
53 nghttp2_hd_inflate_init(&inflater, mem); in check_frame_pack_headers()
73 inflate_hd(&inflater, &out, &bufs, NGHTTP2_FRAME_HDLEN, mem); in check_frame_pack_headers()
91 nghttp2_hd_inflate_free(&inflater); in check_frame_pack_headers()
97 nghttp2_hd_inflater inflater; in check_frame_push_promise() local
113 nghttp2_hd_inflate_init(&inflater, mem); in check_frame_push_promise()
148 nghttp2_hd_inflate_free(&inflater); in check_frame_push_promise()
/third_party/vk-gl-cts/framework/common/
DtcuTestHierarchyUtil.cpp127 DefaultHierarchyInflater inflater (testCtx); in writeXmlCaselistsToFiles() local
130 TestHierarchyIterator iter (root, inflater, *caseListFilter); in writeXmlCaselistsToFiles()
185 DefaultHierarchyInflater inflater (testCtx); in writeTxtCaselistsToFiles() local
188 TestHierarchyIterator iter (root, inflater, *caseListFilter); in writeTxtCaselistsToFiles()
DtcuApp.cpp52 DefaultHierarchyInflater inflater (testCtx); in writeCaselistsToStdout() local
54 TestHierarchyIterator iter (root, inflater, *caseListFilter); in writeCaselistsToStdout()
80 DefaultHierarchyInflater inflater(testCtx); in verifyAmberCapabilityCoherency() local
82 TestHierarchyIterator iter(root, inflater, *caseListFilter); in verifyAmberCapabilityCoherency()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DInputMarginView.java60 LayoutInflater inflater = (LayoutInflater) context in initializeViews() local
62 inflater.inflate(R.layout.input_margin_view, this); in initializeViews()
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
Dnghttp2.h5059 NGHTTP2_EXTERN void nghttp2_hd_inflate_del(nghttp2_hd_inflater *inflater);
5088 nghttp2_hd_inflate_change_table_size(nghttp2_hd_inflater *inflater,
5192 NGHTTP2_EXTERN ssize_t nghttp2_hd_inflate_hd(nghttp2_hd_inflater *inflater,
5278 NGHTTP2_EXTERN ssize_t nghttp2_hd_inflate_hd2(nghttp2_hd_inflater *inflater,
5293 nghttp2_hd_inflate_end_headers(nghttp2_hd_inflater *inflater);
5303 size_t nghttp2_hd_inflate_get_num_table_entries(nghttp2_hd_inflater *inflater);
5317 nghttp2_hd_inflate_get_table_entry(nghttp2_hd_inflater *inflater, size_t idx);
5326 size_t nghttp2_hd_inflate_get_dynamic_table_size(nghttp2_hd_inflater *inflater);
5335 nghttp2_hd_inflate_get_max_dynamic_table_size(nghttp2_hd_inflater *inflater);
/third_party/skia/third_party/externals/oboe/samples/audio-device/src/main/java/com/google/oboe/samples/audio_device/
DAudioDeviceAdapter.java46 LayoutInflater inflater = LayoutInflater.from(parent.getContext()); in getDropDownView() local
47 rowView = inflater.inflate(R.layout.audio_devices, parent, false); in getDropDownView()
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
Dtest_new_connection.c130 spdylay_gzip *inflater; member
205 if(req->inflater) { in check_gzip()
208 rv = spdylay_gzip_inflate_new(&req->inflater); in check_gzip()
413 if(req->inflater) { in on_data_chunk_recv_callback()
419 rv = spdylay_gzip_inflate(req->inflater, out, &outlen, data, &tlen); in on_data_chunk_recv_callback()
639 req->inflater = NULL; in request_init()
647 spdylay_gzip_inflate_del(req->inflater); in request_free()
Dtest_notls.c109 spdylay_gzip *inflater; member
184 if(req->inflater) { in check_gzip()
187 rv = spdylay_gzip_inflate_new(&req->inflater); in check_gzip()
411 if(req->inflater) { in on_data_chunk_recv_callback()
417 rv = spdylay_gzip_inflate(req->inflater, out, &outlen, data, &tlen); in on_data_chunk_recv_callback()
591 req->inflater = NULL; in request_init()
599 spdylay_gzip_inflate_del(req->inflater); in request_free()
Dtest_request_response.c112 spdylay_gzip *inflater; member
187 if(req->inflater) { in check_gzip()
190 rv = spdylay_gzip_inflate_new(&req->inflater); in check_gzip()
396 if(req->inflater) { in on_data_chunk_recv_callback()
402 rv = spdylay_gzip_inflate(req->inflater, out, &outlen, data, &tlen); in on_data_chunk_recv_callback()
627 req->inflater = NULL; in request_init()
635 spdylay_gzip_inflate_del(req->inflater); in request_free()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/audio_device/
DAudioDeviceAdapter.java48 LayoutInflater inflater = LayoutInflater.from(parent.getContext()); in getDropDownView() local
49 rowView = inflater.inflate(R.layout.audio_devices, parent, false); in getDropDownView()
/third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DHelloArActivity.java180 MenuInflater inflater = getMenuInflater(); in onCreateContextMenu() local
181 inflater.inflate(R.menu.draw_menu, menu); in onCreateContextMenu()
212 MenuInflater inflater = getMenuInflater(); in onCreateOptionsMenu() local
213 inflater.inflate(R.menu.rotation_mode, menu); in onCreateOptionsMenu()

12