/third_party/python/Modules/ |
D | zlibmodule.c | 23 Bytef **next_out, uint32_t *avail_out) in OutputBuffer_InitAndGrow() argument 29 *avail_out = (uint32_t) allocated; in OutputBuffer_InitAndGrow() 37 Bytef **next_out, uint32_t *avail_out) in OutputBuffer_Grow() argument 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() argument [all …]
|
D | _bz2module.c | 22 char **next_out, uint32_t *avail_out) in OutputBuffer_InitAndGrow() argument 28 *avail_out = (uint32_t) allocated; in OutputBuffer_InitAndGrow() 36 char **next_out, uint32_t *avail_out) in OutputBuffer_Grow() argument 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) < 0) { in compress() [all …]
|
D | _lzmamodule.c | 29 uint8_t **next_out, size_t *avail_out) in OutputBuffer_InitAndGrow() argument 35 *avail_out = (size_t) allocated; in OutputBuffer_InitAndGrow() 43 uint8_t **next_out, size_t *avail_out) in OutputBuffer_Grow() argument 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() 553 if (OutputBuffer_InitAndGrow(&buffer, -1, &c->lzs.next_out, &c->lzs.avail_out) < 0) { in compress() [all …]
|
/third_party/skia/third_party/externals/zlib/contrib/tests/ |
D | utils_unittest.cc | 112 comp_strm.avail_out = sizeof(comp_buf); in TEST() 117 size_t comp_sz = sizeof(comp_buf) - comp_strm.avail_out; in TEST() 130 decomp_strm.avail_out = sizeof(decomp_buf); in TEST() 135 size_t num_out = sizeof(decomp_buf) - decomp_strm.avail_out; in TEST() 191 stream.avail_out = compressed.size(); in TEST() 196 compressed.resize(compressed.size() - stream.avail_out); in TEST() 205 stream.avail_out = decompressed.size(); in TEST() 208 EXPECT_EQ(0U, stream.avail_out); in TEST() 260 stream.avail_out = compressed.size(); in TEST() 265 compressed.resize(compressed.size() - stream.avail_out); in TEST() [all …]
|
/third_party/zlib/examples/ |
D | fitblk.c | 88 } 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 = size; in main() [all …]
|
D | zran.c | 161 strm.avail_out = 0; in deflate_index_build() 183 if (strm.avail_out == 0) { in deflate_index_build() 184 strm.avail_out = WINSIZE; in deflate_index_build() 191 totout += strm.avail_out; in deflate_index_build() 194 totout -= strm.avail_out; in deflate_index_build() 222 totout, strm.avail_out, window); in deflate_index_build() 296 strm.avail_out = WINSIZE; in deflate_index_extract() 301 strm.avail_out = (unsigned)offset; in deflate_index_extract() 306 strm.avail_out = len; in deflate_index_extract() 382 } while (strm.avail_out != 0); in deflate_index_extract() [all …]
|
D | zpipe.c | 65 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()
|
/third_party/python/Include/internal/ |
D | pycore_blocks_output_buffer.h | 190 const Py_ssize_t avail_out) in _BlocksOutputBuffer_Grow() argument 197 if (avail_out != 0) { in _BlocksOutputBuffer_Grow() 250 const Py_ssize_t avail_out) in _BlocksOutputBuffer_GetDataSize() argument 252 return buffer->allocated - avail_out; in _BlocksOutputBuffer_GetDataSize() 262 const Py_ssize_t avail_out) in _BlocksOutputBuffer_Finish() argument 268 if ((list_len == 1 && avail_out == 0) || in _BlocksOutputBuffer_Finish() 269 (list_len == 2 && Py_SIZE(PyList_GET_ITEM(buffer->list, 1)) == avail_out)) in _BlocksOutputBuffer_Finish() 279 result = PyBytes_FromStringAndSize(NULL, buffer->allocated - avail_out); in _BlocksOutputBuffer_Finish() 298 memcpy(posi, PyBytes_AS_STRING(block), Py_SIZE(block) - avail_out); in _BlocksOutputBuffer_Finish()
|
/third_party/zlib/contrib/delphi/ |
D | ZLib.pas | 29 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 < sizeof(FBuffer) then [all …]
|
/third_party/skia/third_party/externals/freetype/src/gzip/ |
D | infutil.c | 37 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/protobuf/src/google/protobuf/io/ |
D | gzip_stream.cc | 69 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 != 0); in Flush()
|
/third_party/node/deps/zlib/ |
D | uncompr.c | 55 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()
|
D | compress.c | 40 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/node/deps/v8/third_party/zlib/ |
D | uncompr.c | 59 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 :
|
D | compress.c | 45 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/ |
D | uncompr.c | 59 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 :
|
D | compress.c | 45 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/skia/third_party/externals/zlib/ |
D | uncompr.c | 59 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 :
|
D | compress.c | 45 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/skia/tests/ |
D | PDFDeflateWStreamTest.cpp | 46 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/skia/third_party/externals/microhttpd/src/microspdy/ |
D | compression.c | 289 strm->avail_out = SPDYF_ZLIB_CHUNK; in SPDYF_zlib_deflate() 295 have = SPDYF_ZLIB_CHUNK - strm->avail_out; in SPDYF_zlib_deflate() 308 while(strm->avail_out == 0); in SPDYF_zlib_deflate() 385 strm->avail_out = SPDYF_ZLIB_CHUNK; in SPDYF_zlib_inflate() 424 have = SPDYF_ZLIB_CHUNK - strm->avail_out; in SPDYF_zlib_inflate() 436 while (0 == strm->avail_out); in SPDYF_zlib_inflate()
|
/third_party/node/deps/openssl/openssl/crypto/comp/ |
D | c_zlib.c | 178 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 = ctx->obufsize; in bio_zlib_write() [all …]
|
/third_party/openssl/crypto/comp/ |
D | c_zlib.c | 178 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 = ctx->obufsize; in bio_zlib_write() [all …]
|
/third_party/skia/third_party/externals/zlib/contrib/tests/fuzzers/ |
D | streaming_inflate_fuzzer.cc | 35 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()
|
D | deflate_fuzzer.cc | 43 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()
|