/external/zstd/zlibWrapper/examples/ |
D | fitblk.c | 91 …t=%d total_out=%d\n", (int)def->avail_in, (int)def->total_in, (int)def->avail_out, (int)def->total… in partcompress() 93 …total_out=%d\n", ret, (int)def->avail_in, (int)def->total_in, (int)def->avail_out, (int)def->total… in partcompress() 95 } while (def->avail_out != 0 && flush == Z_SYNC_FLUSH); in partcompress() 112 inf->avail_out = RAWLEN; in recompress() 114 …t=%d total_out=%d\n", (int)inf->avail_in, (int)inf->total_in, (int)inf->avail_out, (int)inf->total… in recompress() 116 …t=%d total_out=%d\n", (int)inf->avail_in, (int)inf->total_in, (int)inf->avail_out, (int)inf->total… in recompress() 123 def->avail_in = RAWLEN - inf->avail_out; in recompress() 125 if (inf->avail_out != 0) in recompress() 127 …t=%d total_out=%d\n", (int)def->avail_in, (int)def->total_in, (int)def->avail_out, (int)def->total… in recompress() 129 …total_out=%d\n", ret, (int)def->avail_in, (int)def->total_in, (int)def->avail_out, (int)def->total… in recompress() [all …]
|
D | fitblk_original.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 …]
|
/external/rust/crates/libz-sys/src/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 | 169 strm.avail_out = 0; in build_index() 186 if (strm.avail_out == 0) { in build_index() 187 strm.avail_out = WINSIZE; in build_index() 194 totout += strm.avail_out; in build_index() 197 totout -= strm.avail_out; in build_index() 217 totout, strm.avail_out, window); in build_index() 297 strm.avail_out = len; in extract() 302 strm.avail_out = WINSIZE; in extract() 307 strm.avail_out = (unsigned)offset; in extract() 333 } while (strm.avail_out != 0); in 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()
|
/external/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 …]
|
/external/bsdiff/ |
D | brotli_compressor.cc | 51 size_t avail_out = kBufferSize; in Write() local 55 &next_in, &avail_out, &next_out, nullptr)) { in Write() 61 uint64_t output_bytes = comp_buffer_.buffer_size() - avail_out; in Write() 76 size_t avail_out = kBufferSize; in Finish() local 80 &avail_out, &next_out, nullptr)) { in Finish() 85 uint64_t output_bytes = comp_buffer_.buffer_size() - avail_out; in Finish()
|
D | bz2_compressor.cc | 52 bz_strm_.avail_out = comp_buffer_.buffer_size(); in Write() 59 uint64_t output_bytes = comp_buffer_.buffer_size() - bz_strm_.avail_out; in Write() 76 bz_strm_.avail_out = comp_buffer_.buffer_size(); in Finish() 79 uint64_t output_bytes = comp_buffer_.buffer_size() - bz_strm_.avail_out; in Finish()
|
/external/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()
|
/external/grpc-grpc/src/core/lib/compression/ |
D | stream_compression_gzip.cc | 53 ctx->zs.avail_out = static_cast<uInt>(slice_size); in gzip_flate() 55 while (ctx->zs.avail_out > 0 && in->length > 0 && !eoc) { in gzip_flate() 76 if (flush != 0 && ctx->zs.avail_out > 0 && !eoc) { in gzip_flate() 83 if (ctx->zs.avail_out > 0) { in gzip_flate() 102 GPR_ASSERT(ctx->zs.avail_out == 0); in gzip_flate() 116 if (ctx->zs.avail_out == 0) { in gzip_flate() 118 } else if (ctx->zs.avail_out < slice_size) { in gzip_flate() 120 GRPC_SLICE_SET_LENGTH(slice_out, len - ctx->zs.avail_out); in gzip_flate() 125 max_output_size -= (slice_size - ctx->zs.avail_out); in gzip_flate()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/compression/ |
D | stream_compression_gzip.cc | 53 ctx->zs.avail_out = static_cast<uInt>(slice_size); in gzip_flate() 55 while (ctx->zs.avail_out > 0 && in->length > 0 && !eoc) { in gzip_flate() 76 if (flush != 0 && ctx->zs.avail_out > 0 && !eoc) { in gzip_flate() 83 if (ctx->zs.avail_out > 0) { in gzip_flate() 102 GPR_ASSERT(ctx->zs.avail_out == 0); in gzip_flate() 116 if (ctx->zs.avail_out == 0) { in gzip_flate() 118 } else if (ctx->zs.avail_out < slice_size) { in gzip_flate() 120 GRPC_SLICE_SET_LENGTH(slice_out, len - ctx->zs.avail_out); in gzip_flate() 125 max_output_size -= (slice_size - ctx->zs.avail_out); in gzip_flate()
|
/external/rust/crates/libz-sys/src/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 …]
|
/external/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()
|
/external/rust/crates/libz-sys/src/zlib-ng/ |
D | uncompr.c | 56 stream.avail_out = 0; in PREFIX() 59 if (stream.avail_out == 0) { in PREFIX() 60 stream.avail_out = left > (unsigned long)max ? max : (unsigned int)left; in PREFIX() 61 left -= stream.avail_out; in PREFIX() 79 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR : in PREFIX()
|
D | compress.c | 44 stream.avail_out = 0; in PREFIX() 49 if (stream.avail_out == 0) { in PREFIX() 50 stream.avail_out = left > (unsigned long)max ? max : (unsigned int)left; in PREFIX() 51 left -= stream.avail_out; in PREFIX()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | zlib_outputbuffer.cc | 67 z_stream_->avail_out = output_buffer_capacity_; in Init() 119 if (z_stream_->avail_out == 0 || in DeflateBuffered() 120 (IsSyncOrFullFlush(flush_mode) && z_stream_->avail_out < 6)) { in DeflateBuffered() 124 } while (z_stream_->avail_out == 0); in DeflateBuffered() 132 uint32 bytes_to_write = output_buffer_capacity_ - z_stream_->avail_out; in FlushOutputBufferToFile() 138 z_stream_->avail_out = output_buffer_capacity_; in FlushOutputBufferToFile() 177 if (z_stream_->avail_out == 0) { in Append() 183 } while (z_stream_->avail_out == 0); in Append()
|
/external/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 :
|
/external/angle/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 :
|
/external/rust/crates/libz-sys/src/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 :
|
/external/python/cpython2/Modules/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 :
|
/external/skqp/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()
|
/external/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()
|
/external/libcups/examples/ |
D | ppdx.c | 87 decomp.avail_out = 256; in ppdxReadData() 127 if (decomp.avail_out == 0) in ppdxReadData() 143 decomp.avail_out = temp_size - alloc_size; in ppdxReadData() 227 comp.avail_out = sizeof(buffer); in ppdxWriteData() 239 len = sizeof(buffer) - comp.avail_out; in ppdxWriteData() 266 while (comp.avail_out == 0); in ppdxWriteData()
|
/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/ |
D | dfltcc_deflate.c | 65 size_t avail_out = strm->avail_out; in dfltcc_cmpr() local 69 param, &strm->next_out, &avail_out, in dfltcc_cmpr() 72 strm->total_out += (strm->avail_out - avail_out); in dfltcc_cmpr() 74 strm->avail_out = avail_out; in dfltcc_cmpr() 172 if (strm->avail_out == 0) { in dfltcc_deflate() 280 if (strm->avail_in != 0 && strm->avail_out != 0) in dfltcc_deflate() 327 if (flush == Z_FULL_FLUSH && strm->avail_out == 0) in dfltcc_deflate_done()
|
/external/pdfium/third_party/libtiff/ |
D | tif_zip.c | 157 assert(sizeof(sp->stream.avail_out)==4); /* if this assert gets raised, in ZIPDecode() 166 sp->stream.avail_out = avail_out_before; in ZIPDecode() 169 occ -= (avail_out_before - sp->stream.avail_out); in ZIPDecode() 231 assert(sizeof(sp->stream.avail_out)==4); /* if this assert gets raised, in ZIPPreEncode() 235 …sp->stream.avail_out = (uint64)tif->tif_rawdatasize <= 0xFFFFFFFFU ? (uInt)tif->tif_rawdatasize : … in ZIPPreEncode() 266 if (sp->stream.avail_out == 0) { in ZIPEncode() 270 …sp->stream.avail_out = (uint64)tif->tif_rawdatasize <= 0xFFFFFFFFU ? (uInt)tif->tif_rawdatasize : … in ZIPEncode() 294 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in ZIPPostEncode() 296 tif->tif_rawcc = tif->tif_rawdatasize - sp->stream.avail_out; in ZIPPostEncode() 299 …sp->stream.avail_out = (uint64)tif->tif_rawdatasize <= 0xFFFFFFFFU ? (uInt)tif->tif_rawdatasize : … in ZIPPostEncode()
|