Home
last modified time | relevance | path

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

123456

/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_strm.c38 void ngtcp2_strm_init(ngtcp2_strm *strm, int64_t stream_id, uint32_t flags, in ngtcp2_strm_init() argument
42 strm->frc_objalloc = frc_objalloc; in ngtcp2_strm_init()
43 strm->cycle = 0; in ngtcp2_strm_init()
44 strm->tx.acked_offset = NULL; in ngtcp2_strm_init()
45 strm->tx.cont_acked_offset = 0; in ngtcp2_strm_init()
46 strm->tx.streamfrq = NULL; in ngtcp2_strm_init()
47 strm->tx.offset = 0; in ngtcp2_strm_init()
48 strm->tx.max_offset = max_tx_offset; in ngtcp2_strm_init()
49 strm->tx.last_max_stream_data_ts = UINT64_MAX; in ngtcp2_strm_init()
50 strm in ngtcp2_strm_init()
65 ngtcp2_strm_free(ngtcp2_strm *strm) ngtcp2_strm_free() argument
94 strm_rob_init(ngtcp2_strm *strm) strm_rob_init() argument
113 ngtcp2_strm_rx_offset(ngtcp2_strm *strm) ngtcp2_strm_rx_offset() argument
126 ngtcp2_strm_recv_reordering(ngtcp2_strm *strm, const uint8_t *data, size_t datalen, uint64_t offset) ngtcp2_strm_recv_reordering() argument
151 ngtcp2_strm_update_rx_offset(ngtcp2_strm *strm, uint64_t offset) ngtcp2_strm_update_rx_offset() argument
160 ngtcp2_strm_shutdown(ngtcp2_strm *strm, uint32_t flags) ngtcp2_strm_shutdown() argument
164 strm_streamfrq_init(ngtcp2_strm *strm) strm_streamfrq_init() argument
177 ngtcp2_strm_streamfrq_push(ngtcp2_strm *strm, ngtcp2_frame_chain *frc) ngtcp2_strm_streamfrq_push() argument
194 strm_streamfrq_unacked_pop(ngtcp2_strm *strm, ngtcp2_frame_chain **pfrc) strm_streamfrq_unacked_pop() argument
353 ngtcp2_strm_streamfrq_pop(ngtcp2_strm *strm, ngtcp2_frame_chain **pfrc, size_t left) ngtcp2_strm_streamfrq_pop() argument
546 ngtcp2_strm_streamfrq_unacked_offset(ngtcp2_strm *strm) ngtcp2_strm_streamfrq_unacked_offset() argument
580 ngtcp2_strm_streamfrq_top(ngtcp2_strm *strm) ngtcp2_strm_streamfrq_top() argument
590 ngtcp2_strm_streamfrq_empty(ngtcp2_strm *strm) ngtcp2_strm_streamfrq_empty() argument
594 ngtcp2_strm_streamfrq_clear(ngtcp2_strm *strm) ngtcp2_strm_streamfrq_clear() argument
610 ngtcp2_strm_is_tx_queued(ngtcp2_strm *strm) ngtcp2_strm_is_tx_queued() argument
614 ngtcp2_strm_is_all_tx_data_acked(ngtcp2_strm *strm) ngtcp2_strm_is_all_tx_data_acked() argument
623 ngtcp2_strm_is_all_tx_data_fin_acked(ngtcp2_strm *strm) ngtcp2_strm_is_all_tx_data_fin_acked() argument
628 ngtcp2_strm_get_unacked_range_after(ngtcp2_strm *strm, uint64_t offset) ngtcp2_strm_get_unacked_range_after() argument
641 ngtcp2_strm_get_acked_offset(ngtcp2_strm *strm) ngtcp2_strm_get_acked_offset() argument
649 strm_acked_offset_init(ngtcp2_strm *strm) strm_acked_offset_init() argument
664 ngtcp2_strm_ack_data(ngtcp2_strm *strm, uint64_t offset, uint64_t len) ngtcp2_strm_ack_data() argument
688 ngtcp2_strm_set_app_error_code(ngtcp2_strm *strm, uint64_t app_error_code) ngtcp2_strm_set_app_error_code() argument
[all...]
/third_party/skia/third_party/externals/zlib/contrib/tests/
H A Dinfcover.cc47 z_stream strm;
48 mem_setup(&strm) initializes the memory tracking and sets the
49 zalloc, zfree, and opaque members of strm to use
50 memory tracking for all zlib operations on strm
51 mem_limit(&strm, limit) sets a limit on the total bytes requested -- a
56 mem_used(&strm, "msg") prints to stderr "msg" and the total bytes used
57 mem_high(&strm, "msg") prints to stderr "msg" and the high water mark
58 mem_done(&strm, "msg") ends memory tracking, releases all allocations
65 strm members to Z_NULL to use the default memory
67 using strm
173 mem_setup(z_stream *strm) mem_setup() argument
191 mem_limit(z_stream *strm, size_t limit) mem_limit() argument
199 mem_used(z_stream *strm, const char *prefix) mem_used() argument
207 mem_high(z_stream *strm, const char *prefix) mem_high() argument
215 mem_done(z_stream *strm, const char *prefix) mem_done() argument
312 z_stream strm, copy; inf() local
375 z_stream strm; cover_support() local
413 z_stream strm, copy; cover_wrap() local
495 z_stream strm; cover_back() local
535 z_stream strm; global() local
[all...]
/third_party/zlib/test/
H A Dinfcover.c32 z_stream strm;
33 mem_setup(&strm) initializes the memory tracking and sets the
34 zalloc, zfree, and opaque members of strm to use
35 memory tracking for all zlib operations on strm
36 mem_limit(&strm, limit) sets a limit on the total bytes requested -- a
41 mem_used(&strm, "msg") prints to stderr "msg" and the total bytes used
42 mem_high(&strm, "msg") prints to stderr "msg" and the high water mark
43 mem_done(&strm, "msg") ends memory tracking, releases all allocations
50 strm members to Z_NULL to use the default memory
52 using strm
158 mem_setup(z_stream *strm) mem_setup() argument
176 mem_limit(z_stream *strm, size_t limit) mem_limit() argument
184 mem_used(z_stream *strm, char *prefix) mem_used() argument
192 mem_high(z_stream *strm, char *prefix) mem_high() argument
200 mem_done(z_stream *strm, char *prefix) mem_done() argument
290 z_stream strm, copy; inf() local
353 z_stream strm; cover_support() local
391 z_stream strm, copy; cover_wrap() local
474 z_stream strm; cover_back() local
514 z_stream strm; try() local
[all...]
/third_party/mesa3d/src/util/
H A Dcompress.c88 z_stream strm; in util_compress_deflate()
89 strm.zalloc = Z_NULL; in util_compress_deflate()
90 strm.zfree = Z_NULL; in util_compress_deflate()
91 strm.opaque = Z_NULL; in util_compress_deflate()
92 strm.next_in = in_data; in util_compress_deflate()
93 strm.next_out = out_data; in util_compress_deflate()
94 strm.avail_in = in_data_size; in util_compress_deflate()
95 strm.avail_out = out_buff_size; in util_compress_deflate()
97 int ret = deflateInit(&strm, Z_BEST_COMPRESSION); in util_compress_deflate()
99 (void) deflateEnd(&strm); in util_compress_deflate()
[all...]
/third_party/zlib/examples/
H A Dzpipe.c40 z_stream strm; in def() local
45 strm.zalloc = Z_NULL; in def()
46 strm.zfree = Z_NULL; in def()
47 strm.opaque = Z_NULL; in def()
48 ret = deflateInit(&strm, level); in def()
54 strm.avail_in = fread(in, 1, CHUNK, source); in def()
56 (void)deflateEnd(&strm); in def()
60 strm.next_in = in; in def()
65 strm.avail_out = CHUNK; in def()
66 strm in def()
96 z_stream strm; inf() local
[all...]
H A Dzran.c137 z_stream strm = {0}; // inflate engine (gets fired up later) in deflate_index_build() local
150 if (strm.avail_in == 0) { in deflate_index_build()
151 strm.avail_in = fread(buf, 1, sizeof(buf), in); in deflate_index_build()
152 totin += strm.avail_in; in deflate_index_build()
153 strm.next_in = buf; in deflate_index_build()
154 if (strm.avail_in < sizeof(buf) && ferror(in)) { in deflate_index_build()
165 mode = strm.avail_in == 0 ? RAW : // empty -- will fail in deflate_index_build()
166 (strm.next_in[0] & 0xf) == 8 ? ZLIB : in deflate_index_build()
167 strm.next_in[0] == 0x1f ? GZIP : in deflate_index_build()
169 ret = inflateInit2(&strm, mod in deflate_index_build()
279 inflatePreface(z_stream *strm, int bits, int value) inflatePreface() argument
[all...]
H A Dgznorm.c60 inflateEnd(&strm); \
88 z_stream strm; in gzip_normalize() local
89 strm.zalloc = Z_NULL; in gzip_normalize()
90 strm.zfree = Z_NULL; in gzip_normalize()
91 strm.opaque = Z_NULL; in gzip_normalize()
92 strm.avail_in = 0; in gzip_normalize()
93 strm.next_in = Z_NULL; in gzip_normalize()
94 if (inflateInit2(&strm, 15 + 16) != Z_OK) in gzip_normalize()
128 strm.avail_in = fread(dat, 1, CHUNK, in); in gzip_normalize()
129 if (strm in gzip_normalize()
[all...]
H A Dgzappend.c255 /* decompress gzip file "name", return strm with a deflate stream ready to
259 local int gzscan(char *name, z_stream *strm, int level) in gzscan() argument
283 strm->zalloc = Z_NULL; in gzscan()
284 strm->zfree = Z_NULL; in gzscan()
285 strm->opaque = Z_NULL; in gzscan()
286 ret = inflateInit2(strm, -15); in gzscan()
293 strm->avail_in = gz.left; in gzscan()
294 strm->next_in = gz.next; in gzscan()
299 if (strm->avail_in == 0) { in gzscan()
301 strm in gzscan()
388 gztack(char *name, int gd, z_stream *strm, int last) gztack() argument
469 z_stream strm; main() local
[all...]
/third_party/libwebsockets/win32port/zlib/
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
59 * input in strm.
96 local int updatewindow OF((z_streamp strm, unsigned out));
103 int ZEXPORT inflateReset(strm) in inflateReset()
104 z_streamp strm; in inflateReset()
108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
109 state = (struct inflate_state FAR *)strm->state;
110 strm
[all...]
H A Dgzwrite.c19 z_streamp strm = &(state->strm); local
34 strm->zalloc = Z_NULL;
35 strm->zfree = Z_NULL;
36 strm->opaque = Z_NULL;
37 ret = deflateInit2(strm, state->level, Z_DEFLATED,
49 strm->avail_out = state->size;
50 strm->next_out = state->out;
51 state->next = strm->next_out;
65 z_streamp strm local
117 z_streamp strm = &(state->strm); global() local
151 z_streamp strm; global() local
227 z_streamp strm; global() local
285 z_streamp strm; gzprintf() local
361 z_streamp strm; global() local
464 z_streamp strm; global() local
[all...]
H A Dgzread.c49 gz_avail() assumes that strm->avail_in == 0. */
53 z_streamp strm = &(state->strm); local
59 (unsigned *)&(strm->avail_in)) == -1)
61 strm->next_in = state->in;
67 #define NEXT() ((strm->avail_in == 0 && gz_avail(state) == -1) ? -1 : \
68 (strm->avail_in == 0 ? -1 : \
69 (strm->avail_in--, *(strm->next_in)++)))
79 z_streamp strm local
107 z_streamp strm = &(state->strm); global() local
239 z_streamp strm = &(state->strm); global() local
307 z_streamp strm = &(state->strm); global() local
369 z_streamp strm; global() local
[all...]
H A Ddeflate.c86 local void flush_pending OF((z_streamp strm));
87 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
198 int ZEXPORT deflateInit_(strm, level, version, stream_size) in deflateInit_()
199 z_streamp strm; in deflateInit_()
204 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL,
206 /* To do: ignore strm->next_in if we use it as window */
210 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_()
212 z_streamp strm; in deflateInit2_()
229 if (strm == Z_NULL) return Z_STREAM_ERROR;
231 strm
[all...]
/third_party/node/deps/zlib/
H A Dgzwrite.c13 z_streamp strm = &(state->strm); in gz_init() local
33 strm->zalloc = Z_NULL; in gz_init()
34 strm->zfree = Z_NULL; in gz_init()
35 strm->opaque = Z_NULL; in gz_init()
36 ret = deflateInit2(strm, state->level, Z_DEFLATED, in gz_init()
44 strm->next_in = NULL; in gz_init()
52 strm->avail_out = state->size; in gz_init()
53 strm->next_out = state->out; in gz_init()
54 state->x.next = strm in gz_init()
68 z_streamp strm = &(state->strm); gz_comp() local
146 z_streamp strm = &(state->strm); gz_zero() local
291 z_streamp strm; gzputc() local
364 z_streamp strm; gzvprintf() local
450 z_streamp strm; gzprintf() local
559 z_streamp strm; gzsetparams() local
[all...]
H A Ddeflate.c97 extern void ZLIB_INTERNAL copy_with_crc(z_streamp strm, Bytef *dst, long size);
209 * allocating a large strm->next_in buffer and copying from it.
212 local unsigned read_buf(z_streamp strm, Bytef *buf, unsigned size) { in read_buf() argument
213 unsigned len = strm->avail_in; in read_buf()
218 strm->avail_in -= len; in read_buf()
224 if (strm->state->wrap == 2) in read_buf()
225 copy_with_crc(strm, buf, len); in read_buf()
229 zmemcpy(buf, strm->next_in, len); in read_buf()
230 if (strm->state->wrap == 1) in read_buf()
231 strm in read_buf()
383 deflateInit_(z_streamp strm, int level, const char *version, int stream_size) deflateInit_() argument
391 deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) deflateInit2_() argument
571 deflateStateCheck(z_streamp strm) deflateStateCheck() argument
592 deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength) deflateSetDictionary() argument
654 deflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength) deflateGetDictionary() argument
673 deflateResetKeep(z_streamp strm) deflateResetKeep() argument
733 deflateReset(z_streamp strm) deflateReset() argument
743 deflateSetHeader(z_streamp strm, gz_headerp head) deflateSetHeader() argument
751 deflatePending(z_streamp strm, unsigned *pending, int *bits) deflatePending() argument
761 deflatePrime(z_streamp strm, int bits, int value) deflatePrime() argument
790 deflateParams(z_streamp strm, int level, int strategy) deflateParams() argument
835 deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain) deflateTune() argument
872 deflateBound(z_streamp strm, uLong sourceLen) deflateBound() argument
953 flush_pending(z_streamp strm) flush_pending() argument
984 deflate(z_streamp strm, int flush) deflate() argument
1297 deflateEnd(z_streamp strm) deflateEnd() argument
[all...]
/third_party/zlib/
H A Dgzwrite.c16 z_streamp strm = &(state->strm); in gz_init() local
36 strm->zalloc = Z_NULL; in gz_init()
37 strm->zfree = Z_NULL; in gz_init()
38 strm->opaque = Z_NULL; in gz_init()
39 ret = deflateInit2(strm, state->level, Z_DEFLATED, in gz_init()
47 strm->next_in = NULL; in gz_init()
55 strm->avail_out = state->size; in gz_init()
56 strm->next_out = state->out; in gz_init()
57 state->x.next = strm in gz_init()
72 z_streamp strm = &(state->strm); gz_comp() local
151 z_streamp strm = &(state->strm); gz_zero() local
298 z_streamp strm; gzputc() local
371 z_streamp strm; gzvprintf() local
457 z_streamp strm; gzprintf() local
566 z_streamp strm; gzsetparams() local
[all...]
H A Ddeflate.c216 * allocating a large strm->next_in buffer and copying from it.
219 local unsigned read_buf(z_streamp strm, Bytef *buf, unsigned size) in read_buf() argument
221 unsigned len = strm->avail_in; in read_buf()
226 strm->avail_in -= len; in read_buf()
228 zmemcpy(buf, strm->next_in, len); in read_buf()
229 if (strm->state->wrap == 1) { in read_buf()
230 strm->adler = adler32(strm->adler, buf, len); in read_buf()
233 else if (strm->state->wrap == 2) { in read_buf()
234 strm in read_buf()
374 deflateInit_(z_streamp strm, int level, const char *version, int stream_size) deflateInit_() argument
382 deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size) deflateInit2_() argument
532 deflateStateCheck(z_streamp strm) deflateStateCheck() argument
554 deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength) deflateSetDictionary() argument
620 deflateGetDictionary(z_streamp strm, Bytef *dictionary, uInt *dictLength) deflateGetDictionary() argument
639 deflateResetKeep(z_streamp strm) deflateResetKeep() argument
700 deflateReset(z_streamp strm) deflateReset() argument
710 deflateSetHeader(z_streamp strm, gz_headerp head) deflateSetHeader() argument
718 deflatePending(z_streamp strm, unsigned *pending, int *bits) deflatePending() argument
728 deflatePrime(z_streamp strm, int bits, int value) deflatePrime() argument
757 deflateParams(z_streamp strm, int level, int strategy) deflateParams() argument
802 deflateTune(z_streamp strm, int good_length, int max_lazy, int nice_length, int max_chain) deflateTune() argument
839 deflateBound(z_streamp strm, uLong sourceLen) deflateBound() argument
922 flush_pending(z_streamp strm) flush_pending() argument
954 deflate(z_streamp strm, int flush) deflate() argument
1266 deflateEnd(z_streamp strm) deflateEnd() argument
[all...]
/third_party/node/deps/v8/third_party/zlib/
H A Dgzwrite.c21 z_streamp strm = &(state->strm); local
41 strm->zalloc = Z_NULL;
42 strm->zfree = Z_NULL;
43 strm->opaque = Z_NULL;
44 ret = deflateInit2(strm, state->level, Z_DEFLATED,
52 strm->next_in = NULL;
60 strm->avail_out = state->size;
61 strm->next_out = state->out;
62 state->x.next = strm
79 z_streamp strm = &(state->strm); global() local
151 z_streamp strm = &(state->strm); global() local
311 z_streamp strm; global() local
388 z_streamp strm; gzvprintf() local
478 z_streamp strm; global() local
594 z_streamp strm; global() local
[all...]
H A Ddeflate.c90 local int deflateStateCheck OF((z_streamp strm));
102 local void flush_pending OF((z_streamp strm));
103 unsigned ZLIB_INTERNAL deflate_read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
120 extern void ZLIB_INTERNAL copy_with_crc(z_streamp strm, Bytef *dst, long size);
225 int ZEXPORT deflateInit_(strm, level, version, stream_size) in deflateInit_()
226 z_streamp strm; in deflateInit_()
231 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL,
233 /* To do: ignore strm->next_in if we use it as window */
237 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_()
239 z_streamp strm; in deflateInit2_()
[all...]
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
59 * input in strm.
95 local int inflateStateCheck OF((z_streamp strm));
97 local int updatewindow OF((z_streamp strm, const unsigned char FAR *end,
105 local int inflateStateCheck(strm) in inflateStateCheck()
106 z_streamp strm; in inflateStateCheck()
109 if (strm == Z_NULL ||
110 strm->zalloc == (alloc_func)0 || strm
[all...]
/third_party/skia/third_party/externals/zlib/
H A Dgzwrite.c21 z_streamp strm = &(state->strm); local
41 strm->zalloc = Z_NULL;
42 strm->zfree = Z_NULL;
43 strm->opaque = Z_NULL;
44 ret = deflateInit2(strm, state->level, Z_DEFLATED,
52 strm->next_in = NULL;
60 strm->avail_out = state->size;
61 strm->next_out = state->out;
62 state->x.next = strm
79 z_streamp strm = &(state->strm); global() local
151 z_streamp strm = &(state->strm); global() local
311 z_streamp strm; global() local
385 z_streamp strm; gzvprintf() local
475 z_streamp strm; global() local
591 z_streamp strm; global() local
[all...]
H A Ddeflate.c90 local int deflateStateCheck OF((z_streamp strm));
102 local void flush_pending OF((z_streamp strm));
103 unsigned ZLIB_INTERNAL deflate_read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
120 extern void ZLIB_INTERNAL copy_with_crc(z_streamp strm, Bytef *dst, long size);
220 int ZEXPORT deflateInit_(strm, level, version, stream_size) in deflateInit_()
221 z_streamp strm; in deflateInit_()
226 return deflateInit2_(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL,
228 /* To do: ignore strm->next_in if we use it as window */
232 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_()
234 z_streamp strm; in deflateInit2_()
[all...]
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
59 * input in strm.
95 local int inflateStateCheck OF((z_streamp strm));
97 local int updatewindow OF((z_streamp strm, const unsigned char FAR *end,
105 local int inflateStateCheck(strm) in inflateStateCheck()
106 z_streamp strm; in inflateStateCheck()
109 if (strm == Z_NULL ||
110 strm->zalloc == (alloc_func)0 || strm
[all...]
/third_party/zlib/contrib/delphi/
H A DZLib.pas241 function deflateInit_(var strm: TZStreamRec; level: Integer; version: PChar; in deflateInit_()
243 function deflate(var strm: TZStreamRec; flush: Integer): Integer; external; in deflate()
244 function deflateEnd(var strm: TZStreamRec): Integer; external; in deflateEnd()
247 function inflateInit_(var strm: TZStreamRec; version: PChar; in inflateInit_()
249 function inflate(var strm: TZStreamRec; flush: Integer): Integer; external; in inflate()
250 function inflateEnd(var strm: TZStreamRec): Integer; external; in inflateEnd()
251 function inflateReset(var strm: TZStreamRec): Integer; external; in inflateReset()
289 strm: TZStreamRec;
292 FillChar(strm, sizeof(strm),
[all...]
/third_party/node/deps/v8/third_party/zlib/contrib/optimizations/
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
59 * input in strm.
96 local int inflateStateCheck OF((z_streamp strm));
98 local int updatewindow OF((z_streamp strm, const unsigned char FAR *end,
106 local int inflateStateCheck(strm) in inflateStateCheck()
107 z_streamp strm; in inflateStateCheck()
110 if (strm == Z_NULL ||
111 strm->zalloc == (alloc_func)0 || strm
[all...]
/third_party/skia/third_party/externals/zlib/contrib/optimizations/
H A Dinflate.c26 * - Change strm->next_out[-state->offset] to *(strm->next_out - state->offset)
59 * input in strm.
96 local int inflateStateCheck OF((z_streamp strm));
98 local int updatewindow OF((z_streamp strm, const unsigned char FAR *end,
106 local int inflateStateCheck(strm) in inflateStateCheck()
107 z_streamp strm; in inflateStateCheck()
110 if (strm == Z_NULL ||
111 strm->zalloc == (alloc_func)0 || strm
[all...]

Completed in 17 milliseconds

123456