Home
last modified time | relevance | path

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

123456

/third_party/zlib/examples/
H A Dfitblk.c88 } while (def->avail_out != 0 && flush == Z_NO_FLUSH); in partcompress()
104 inf->avail_out = RAWLEN; in recompress()
113 def->avail_in = RAWLEN - inf->avail_out; in recompress()
115 if (inf->avail_out != 0) in recompress()
119 } while (ret != Z_STREAM_END && def->avail_out != 0); in recompress()
156 def.avail_out = size + EXCESS; in main()
163 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) { in main()
165 have = size + EXCESS - def.avail_out; in main()
195 def.avail_out = size + EXCESS; in main()
210 def.avail_out in main()
[all...]
H A Dzpipe.c65 strm.avail_out = CHUNK; in def()
69 have = CHUNK - strm.avail_out; in def()
74 } while (strm.avail_out == 0); in def()
123 strm.avail_out = CHUNK; in inf()
135 have = CHUNK - strm.avail_out; in inf()
140 } while (strm.avail_out == 0); in inf()
H A Dzran.c177 if (strm.avail_out == 0) { in deflate_index_build()
178 strm.avail_out = sizeof(win); in deflate_index_build()
189 unsigned before = strm.avail_out; in deflate_index_build()
191 totout += before - strm.avail_out; in deflate_index_build()
202 totout, strm.avail_out, win); in deflate_index_build()
324 strm->avail_out = 0; in inflatePreface()
380 strm.avail_out = offset < WINSIZE ? (unsigned)offset : WINSIZE; in deflate_index_extract()
385 strm.avail_out = left < UINT_MAX ? (unsigned)left : UINT_MAX; in deflate_index_extract()
399 unsigned got = strm.avail_out; in deflate_index_extract()
401 got -= strm.avail_out; in deflate_index_extract()
[all...]
/third_party/python/Modules/
H A Dzlibmodule.c23 Bytef **next_out, uint32_t *avail_out) in OutputBuffer_InitAndGrow()
29 *avail_out = (uint32_t) allocated; in OutputBuffer_InitAndGrow()
37 Bytef **next_out, uint32_t *avail_out) in OutputBuffer_Grow()
42 buffer, (void**) next_out, (Py_ssize_t) *avail_out); in OutputBuffer_Grow()
43 *avail_out = (uint32_t) allocated; in OutputBuffer_Grow()
48 OutputBuffer_GetDataSize(_BlocksOutputBuffer *buffer, uint32_t avail_out) in OutputBuffer_GetDataSize() argument
50 return _BlocksOutputBuffer_GetDataSize(buffer, (Py_ssize_t) avail_out); in OutputBuffer_GetDataSize()
54 OutputBuffer_Finish(_BlocksOutputBuffer *buffer, uint32_t avail_out) in OutputBuffer_Finish() argument
56 return _BlocksOutputBuffer_Finish(buffer, (Py_ssize_t) avail_out); in OutputBuffer_Finish()
92 Bytef **next_out, uint32_t *avail_out) in OutputBuffer_WindowInitWithSize()
22 OutputBuffer_InitAndGrow(_BlocksOutputBuffer *buffer, Py_ssize_t max_length, Bytef **next_out, uint32_t *avail_out) OutputBuffer_InitAndGrow() argument
36 OutputBuffer_Grow(_BlocksOutputBuffer *buffer, Bytef **next_out, uint32_t *avail_out) OutputBuffer_Grow() argument
90 OutputBuffer_WindowInitWithSize(_BlocksOutputBuffer *buffer, _Uint32Window *window, Py_ssize_t init_size, Bytef **next_out, uint32_t *avail_out) OutputBuffer_WindowInitWithSize() argument
113 OutputBuffer_WindowGrow(_BlocksOutputBuffer *buffer, _Uint32Window *window, Bytef **next_out, uint32_t *avail_out) OutputBuffer_WindowGrow() argument
152 OutputBuffer_WindowFinish(_BlocksOutputBuffer *buffer, _Uint32Window *window, uint32_t avail_out) OutputBuffer_WindowFinish() argument
[all...]
H A D_bz2module.c22 char **next_out, uint32_t *avail_out) in OutputBuffer_InitAndGrow()
28 *avail_out = (uint32_t) allocated; in OutputBuffer_InitAndGrow()
36 char **next_out, uint32_t *avail_out) in OutputBuffer_Grow()
41 buffer, (void**) next_out, (Py_ssize_t) *avail_out); in OutputBuffer_Grow()
42 *avail_out = (uint32_t) allocated; in OutputBuffer_Grow()
47 OutputBuffer_GetDataSize(_BlocksOutputBuffer *buffer, uint32_t avail_out) in OutputBuffer_GetDataSize() argument
49 return _BlocksOutputBuffer_GetDataSize(buffer, (Py_ssize_t) avail_out); in OutputBuffer_GetDataSize()
53 OutputBuffer_Finish(_BlocksOutputBuffer *buffer, uint32_t avail_out) in OutputBuffer_Finish() argument
55 return _BlocksOutputBuffer_Finish(buffer, (Py_ssize_t) avail_out); in OutputBuffer_Finish()
180 if (OutputBuffer_InitAndGrow(&buffer, -1, &c->bzs.next_out, &c->bzs.avail_out) < in compress()
21 OutputBuffer_InitAndGrow(_BlocksOutputBuffer *buffer, Py_ssize_t max_length, char **next_out, uint32_t *avail_out) OutputBuffer_InitAndGrow() argument
35 OutputBuffer_Grow(_BlocksOutputBuffer *buffer, char **next_out, uint32_t *avail_out) OutputBuffer_Grow() argument
[all...]
H A D_lzmamodule.c29 uint8_t **next_out, size_t *avail_out) in OutputBuffer_InitAndGrow()
35 *avail_out = (size_t) allocated; in OutputBuffer_InitAndGrow()
43 uint8_t **next_out, size_t *avail_out) in OutputBuffer_Grow()
48 buffer, (void**) next_out, (Py_ssize_t) *avail_out); in OutputBuffer_Grow()
49 *avail_out = (size_t) allocated; in OutputBuffer_Grow()
54 OutputBuffer_GetDataSize(_BlocksOutputBuffer *buffer, size_t avail_out) in OutputBuffer_GetDataSize() argument
56 return _BlocksOutputBuffer_GetDataSize(buffer, (Py_ssize_t) avail_out); in OutputBuffer_GetDataSize()
60 OutputBuffer_Finish(_BlocksOutputBuffer *buffer, size_t avail_out) in OutputBuffer_Finish() argument
62 return _BlocksOutputBuffer_Finish(buffer, (Py_ssize_t) avail_out); in OutputBuffer_Finish()
554 if (OutputBuffer_InitAndGrow(&buffer, -1, &c->lzs.next_out, &c->lzs.avail_out) < in compress()
28 OutputBuffer_InitAndGrow(_BlocksOutputBuffer *buffer, Py_ssize_t max_length, uint8_t **next_out, size_t *avail_out) OutputBuffer_InitAndGrow() argument
42 OutputBuffer_Grow(_BlocksOutputBuffer *buffer, uint8_t **next_out, size_t *avail_out) OutputBuffer_Grow() argument
[all...]
/third_party/python/Include/internal/
H A Dpycore_blocks_output_buffer.h4 API (bz2/lzma/zlib) that has stream->next_out and stream->avail_out:
7 stream->avail_out: the number of available bytes left in the buffer.
22 3, If (avail_out == 0), grow the buffer:
182 /* Grow the buffer. The avail_out must be 0, please check it before calling.
190 const Py_ssize_t avail_out) in _BlocksOutputBuffer_Grow()
197 if (avail_out != 0) { in _BlocksOutputBuffer_Grow()
199 "avail_out is non-zero in _BlocksOutputBuffer_Grow()."); in _BlocksOutputBuffer_Grow()
250 const Py_ssize_t avail_out) in _BlocksOutputBuffer_GetDataSize()
252 return buffer->allocated - avail_out; in _BlocksOutputBuffer_GetDataSize()
262 const Py_ssize_t avail_out) in _BlocksOutputBuffer_Finish()
188 _BlocksOutputBuffer_Grow(_BlocksOutputBuffer *buffer, void **next_out, const Py_ssize_t avail_out) _BlocksOutputBuffer_Grow() argument
249 _BlocksOutputBuffer_GetDataSize(_BlocksOutputBuffer *buffer, const Py_ssize_t avail_out) _BlocksOutputBuffer_GetDataSize() argument
261 _BlocksOutputBuffer_Finish(_BlocksOutputBuffer *buffer, const Py_ssize_t avail_out) _BlocksOutputBuffer_Finish() argument
[all...]
/third_party/skia/third_party/externals/freetype/src/gzip/
H A Dinfutil.c37 if (n > z->avail_out) n = z->avail_out; in inflate_flush()
41 z->avail_out -= n; in inflate_flush()
63 if (n > z->avail_out) n = z->avail_out; in inflate_flush()
67 z->avail_out -= n; in inflate_flush()
/third_party/zlib/contrib/delphi/
H A DZLib.pas29 avail_out: Integer; // remaining free space at next_out
301 strm.avail_out := OutBytes;
310 strm.avail_out := 256;
344 strm.avail_out := OutBytes;
353 strm.avail_out := BufInc;
377 strm.avail_out := BufSize;
414 FZRec.avail_out := sizeof(FBuffer);
425 and (FZRec.avail_out = 0) do
429 FZRec.avail_out := sizeof(FBuffer);
431 if FZRec.avail_out < sizeo
[all...]
/third_party/skia/tests/
H A DPDFDeflateWStreamTest.cpp46 flateData.avail_out = kBufferSize; in stream_inflate()
66 if (flateData.avail_out < kBufferSize) { in stream_inflate()
67 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
72 flateData.avail_out = kBufferSize; in stream_inflate()
89 if (flateData.avail_out < kBufferSize) { in stream_inflate()
90 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
95 flateData.avail_out = kBufferSize; in stream_inflate()
/third_party/node/deps/v8/third_party/zlib/
H A Duncompr.c59 stream.avail_out = 0;
62 if (stream.avail_out == 0) {
63 stream.avail_out = left > (uLong)max ? max : (uInt)left;
64 left -= stream.avail_out;
82 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR :
H A Dcompress.c45 stream.avail_out = 0;
50 if (stream.avail_out == 0) {
51 stream.avail_out = left > (uLong)max ? max : (uInt)left;
52 left -= stream.avail_out;
/third_party/node/deps/zlib/
H A Duncompr.c55 stream.avail_out = 0; in uncompress2()
58 if (stream.avail_out == 0) { in uncompress2()
59 stream.avail_out = left > (uLong)max ? max : (uInt)left; in uncompress2()
60 left -= stream.avail_out; in uncompress2()
78 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR : in uncompress2()
H A Dcompress.c40 stream.avail_out = 0; in compress2()
45 if (stream.avail_out == 0) { in compress2()
46 stream.avail_out = left > (uLong)max ? max : (uInt)left; in compress2()
47 left -= stream.avail_out; in compress2()
/third_party/skia/third_party/externals/zlib/
H A Duncompr.c59 stream.avail_out = 0;
62 if (stream.avail_out == 0) {
63 stream.avail_out = left > (uLong)max ? max : (uInt)left;
64 left -= stream.avail_out;
82 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR :
H A Dcompress.c45 stream.avail_out = 0;
50 if (stream.avail_out == 0) {
51 stream.avail_out = left > (uLong)max ? max : (uInt)left;
52 left -= stream.avail_out;
/third_party/zlib/
H A Duncompr.c55 stream.avail_out = 0; in uncompress2()
58 if (stream.avail_out == 0) { in uncompress2()
59 stream.avail_out = left > (uLong)max ? max : (uInt)left; in uncompress2()
60 left -= stream.avail_out; in uncompress2()
78 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR : in uncompress2()
H A Dcompress.c40 stream.avail_out = 0; in compress2()
45 if (stream.avail_out == 0) { in compress2()
46 stream.avail_out = left > (uLong)max ? max : (uInt)left; in compress2()
47 left -= stream.avail_out; in compress2()
/third_party/protobuf/src/google/protobuf/io/
H A Dgzip_stream.cc69 zcontext_.avail_out = output_buffer_length_; in GzipInputStream()
95 if ((zerror_ == Z_OK) && (zcontext_.avail_out == 0)) { in Inflate()
104 zcontext_.avail_out = 0; in Inflate()
117 zcontext_.avail_out = output_buffer_length_; in Inflate()
228 zcontext_.avail_out = 0; in Init()
254 if ((sub_data_ == NULL) || (zcontext_.avail_out == 0)) { in Deflate()
263 zcontext_.avail_out = sub_data_size_; in Deflate()
266 } while (error == Z_OK && zcontext_.avail_out == 0); in Deflate()
269 sub_stream_->BackUp(zcontext_.avail_out); in Deflate()
313 zcontext_.avail_out ! in Flush()
[all...]
/third_party/node/deps/openssl/openssl/crypto/comp/
H A Dc_zlib.c178 state->ostream.avail_out = olen; in zlib_stateful_compress_block()
183 return olen - state->ostream.avail_out; in zlib_stateful_compress_block()
199 state->istream.avail_out = olen; in zlib_stateful_expand_block()
204 return olen - state->istream.avail_out; in zlib_stateful_expand_block()
394 zin->avail_out = (unsigned int)outl; in bio_zlib_read()
405 if ((ret == Z_STREAM_END) || !zin->avail_out) in bio_zlib_read()
406 return outl - zin->avail_out; in bio_zlib_read()
416 int tot = outl - zin->avail_out; in bio_zlib_read()
456 zout->avail_out = ctx->obufsize; in bio_zlib_write()
486 zout->avail_out in bio_zlib_write()
[all...]
/third_party/openssl/crypto/comp/
H A Dc_zlib.c178 state->ostream.avail_out = olen; in zlib_stateful_compress_block()
183 return olen - state->ostream.avail_out; in zlib_stateful_compress_block()
199 state->istream.avail_out = olen; in zlib_stateful_expand_block()
204 return olen - state->istream.avail_out; in zlib_stateful_expand_block()
394 zin->avail_out = (unsigned int)outl; in bio_zlib_read()
405 if ((ret == Z_STREAM_END) || !zin->avail_out) in bio_zlib_read()
406 return outl - zin->avail_out; in bio_zlib_read()
416 int tot = outl - zin->avail_out; in bio_zlib_read()
456 zout->avail_out = ctx->obufsize; in bio_zlib_write()
486 zout->avail_out in bio_zlib_write()
[all...]
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/
H A Dstreaming_inflate_fuzzer.cc35 comp_strm.avail_out = comp_buf_cap; in LLVMFuzzerTestOneInput()
40 size_t comp_sz = comp_buf_cap - comp_strm.avail_out; in LLVMFuzzerTestOneInput()
55 decomp_strm.avail_out = sizeof(decomp_buf); in LLVMFuzzerTestOneInput()
60 size_t num_out = sizeof(decomp_buf) - decomp_strm.avail_out; in LLVMFuzzerTestOneInput()
H A Ddeflate_fuzzer.cc43 stream.avail_out = compressed.size(); in LLVMFuzzerTestOneInput()
54 compressed.resize(compressed.size() - stream.avail_out); in LLVMFuzzerTestOneInput()
65 stream.avail_out = decompressed.size(); in LLVMFuzzerTestOneInput()
68 decompressed.resize(decompressed.size() - stream.avail_out); in LLVMFuzzerTestOneInput()
/third_party/elfutils/libdwfl/
H A Dgzip.c239 size_t avail_out = 0; in unzip() local
262 if (avail_out == 0) in unzip()
271 avail_out = state.size - pos; in unzip()
275 ZSTD_outBuffer output = { next_out, avail_out, 0 }; in unzip()
282 avail_out -= output.pos; in unzip()
328 if (z.avail_out == 0) in unzip()
337 z.avail_out = state.size - pos; in unzip()
/third_party/zlib/contrib/pascal/
H A Dexample.pas204 c_stream.avail_out := 1; { force small buffers }
213 c_stream.avail_out := 1;
250 d_stream.avail_out := 1; (* force small buffers *)
285 c_stream.avail_out := Integer(comprLen);
344 d_stream.avail_out := Integer(uncomprLen);
385 c_stream.avail_out := Integer(comprLen);
425 d_stream.avail_out := Integer(uncomprLen);
466 c_stream.avail_out := Integer(comprLen);
502 d_stream.avail_out := Integer(uncomprLen);

Completed in 12 milliseconds

123456