/external/zlib/src/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 | 164 strm.avail_out = 0; in build_index() 181 if (strm.avail_out == 0) { in build_index() 182 strm.avail_out = WINSIZE; in build_index() 189 totout += strm.avail_out; in build_index() 192 totout -= strm.avail_out; in build_index() 212 totout, strm.avail_out, window); in build_index() 292 strm.avail_out = len; in extract() 297 strm.avail_out = WINSIZE; in extract() 302 strm.avail_out = (unsigned)offset; in extract() 328 } 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()
|
D | gzappend.c | 304 strm->avail_out = DSIZE - have; in gzscan() 315 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out); in gzscan() 316 if (strm->avail_out) in gzscan() 317 have = DSIZE - strm->avail_out; in gzscan() 422 strm->avail_out = CHUNK; in gztack() 425 left = CHUNK - strm->avail_out; in gztack() 427 len = write(gd, out + CHUNK - strm->avail_out - left, left); in gztack() 431 } while (strm->avail_out == 0 && ret != Z_STREAM_END); in gztack()
|
/external/openssl/crypto/comp/ |
D | c_zlib.c | 154 state->istream.avail_out = 0; in zlib_stateful_init() 166 state->ostream.avail_out = 0; in zlib_stateful_init() 205 state->ostream.avail_out = olen; in zlib_stateful_compress_block() 212 ilen,olen - state->ostream.avail_out, in zlib_stateful_compress_block() 213 (ilen != olen - state->ostream.avail_out)?"zlib":"clear"); in zlib_stateful_compress_block() 215 return olen - state->ostream.avail_out; in zlib_stateful_compress_block() 233 state->istream.avail_out = olen; in zlib_stateful_expand_block() 240 ilen,olen - state->istream.avail_out, in zlib_stateful_expand_block() 241 (ilen != olen - state->istream.avail_out)?"zlib":"clear"); in zlib_stateful_expand_block() 243 return olen - state->istream.avail_out; in zlib_stateful_expand_block() [all …]
|
/external/skia/legacy/src/core/ |
D | SkFlate.cpp | 43 flateData.avail_out = kBufferSize; in doFlate() 65 if (flateData.avail_out < kBufferSize) { in doFlate() 66 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in doFlate() 71 flateData.avail_out = kBufferSize; in doFlate() 94 if (flateData.avail_out < kBufferSize) { in doFlate() 95 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) in doFlate() 98 flateData.avail_out = kBufferSize; in doFlate()
|
/external/skia/src/core/ |
D | SkFlate.cpp | 47 flateData.avail_out = kBufferSize; in doFlate() 69 if (flateData.avail_out < kBufferSize) { in doFlate() 70 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in doFlate() 75 flateData.avail_out = kBufferSize; in doFlate() 98 if (flateData.avail_out < kBufferSize) { in doFlate() 99 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) in doFlate() 102 flateData.avail_out = kBufferSize; in doFlate()
|
/external/zlib/src/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/libppp/src/ |
D | deflate.c | 105 state->cx.avail_out = DEFLATE_CHUNK_LEN - 2; in DeflateOutput() 123 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0) in DeflateOutput() 134 if (state->cx.avail_out == 0) { in DeflateOutput() 140 state->cx.avail_out = DEFLATE_CHUNK_LEN; in DeflateOutput() 144 olen += (mo->m_len = DEFLATE_CHUNK_LEN - state->cx.avail_out); in DeflateOutput() 249 state->cx.avail_out = 1; in DeflateInput() 268 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0) in DeflateInput() 279 if (state->cx.avail_out == 0) { in DeflateInput() 286 state->cx.avail_out = DEFLATE_CHUNK_LEN-1; in DeflateInput() 288 state->cx.avail_out = DEFLATE_CHUNK_LEN-2; in DeflateInput() [all …]
|
/external/protobuf/src/google/protobuf/io/ |
D | gzip_stream.cc | 68 zcontext_.avail_out = output_buffer_length_; in GzipInputStream() 77 if ((zerror_ == Z_OK) && (zcontext_.avail_out == 0)) { in Inflate() 86 zcontext_.avail_out = 0; in Inflate() 106 zcontext_.avail_out = output_buffer_length_; in Inflate() 210 zcontext_.avail_out = 0; in Init() 241 if ((sub_data_ == NULL) || (zcontext_.avail_out == 0)) { in Deflate() 250 zcontext_.avail_out = sub_data_size_; in Deflate() 253 } while (error == Z_OK && zcontext_.avail_out == 0); in Deflate() 255 && (zcontext_.avail_out != sub_data_size_)) { in Deflate() 257 sub_stream_->BackUp(zcontext_.avail_out); in Deflate()
|
/external/openssh/ |
D | compress.c | 107 outgoing_stream.avail_out = sizeof(buf); in buffer_compress() 115 sizeof(buf) - outgoing_stream.avail_out); in buffer_compress() 122 } while (outgoing_stream.avail_out == 0); in buffer_compress() 146 incoming_stream.avail_out = sizeof(buf); in buffer_uncompress() 152 sizeof(buf) - incoming_stream.avail_out); in buffer_uncompress()
|
/external/qemu/distrib/zlib-1.2.3/ |
D | gzio.c | 116 s->stream.avail_in = s->stream.avail_out = 0; 178 s->stream.avail_out = Z_BUFSIZE; 244 if (s->stream.avail_out == 0) { 250 s->stream.avail_out = Z_BUFSIZE; 410 s->stream.avail_out = len; 412 if (s->stream.avail_out && s->back != EOF) { 415 s->stream.avail_out--; 425 while (s->stream.avail_out != 0) { 430 if (n > s->stream.avail_out) n = s->stream.avail_out; 436 s->stream.avail_out -= n; [all …]
|
D | uncompr.c | 41 stream.avail_out = (uInt)*destLen; 42 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
|
D | compress.c | 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
|
/external/zlib/src/contrib/pascal/ |
D | example.pas | 204 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);
|
/external/bzip2/ |
D | bzlib.c | 341 if (s->strm->avail_out == 0) break; in copy_output_until_stop() 349 s->strm->avail_out--; in copy_output_until_stop() 545 if (s->strm->avail_out == 0) return False; in unRLE_obuf_to_output_FAST() 551 s->strm->avail_out--; in unRLE_obuf_to_output_FAST() 600 unsigned int cs_avail_out = s->strm->avail_out; in unRLE_obuf_to_output_FAST() 678 s->strm->avail_out = cs_avail_out; in unRLE_obuf_to_output_FAST() 715 if (s->strm->avail_out == 0) return False; in unRLE_obuf_to_output_SMALL() 721 s->strm->avail_out--; in unRLE_obuf_to_output_SMALL() 764 if (s->strm->avail_out == 0) return False; in unRLE_obuf_to_output_SMALL() 770 s->strm->avail_out--; in unRLE_obuf_to_output_SMALL() [all …]
|
/external/zlib/src/test/ |
D | minigzip.c | 247 strm->avail_out = BUFLEN; 249 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 250 } while (strm->avail_out == 0); 272 strm->avail_out = len; 287 } while (strm->avail_out); 288 return len - strm->avail_out; 307 strm->avail_out = BUFLEN; 309 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 310 } while (strm->avail_out == 0);
|
D | example.c | 219 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */ 225 c_stream.avail_out = 1; 259 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */ 294 c_stream.avail_out = (uInt)comprLen; 355 d_stream.avail_out = (uInt)uncomprLen; 393 c_stream.avail_out = (uInt)*comprLen; 433 d_stream.avail_out = (uInt)uncomprLen; 477 c_stream.avail_out = (uInt)comprLen; 514 d_stream.avail_out = (uInt)uncomprLen;
|
/external/dropbear/ |
D | packet.c | 379 zstream->avail_out = ret->size - ret->pos; in buf_decompress() 380 zstream->next_out = buf_getwriteptr(ret, zstream->avail_out); in buf_decompress() 384 buf_setlen(ret, ret->size - zstream->avail_out); in buf_decompress() 392 (zstream->avail_out != 0 || result == Z_BUF_ERROR)) { in buf_decompress() 398 if (zstream->avail_out == 0) { in buf_decompress() 581 ses.keys->trans_zstream->avail_out = dest->size - dest->pos; in buf_compress() 583 buf_getwriteptr(dest, ses.keys->trans_zstream->avail_out); in buf_compress() 588 buf_setlen(dest, dest->size - ses.keys->trans_zstream->avail_out); in buf_compress() 599 dropbear_assert(ses.keys->trans_zstream->avail_out == 0); in buf_compress()
|
/external/zlib/src/contrib/masmx64/ |
D | inffas8664.c | 130 ar.beg = ar.out - (start - strm->avail_out); 131 ar.end = ar.out + (strm->avail_out - PAD_AVAIL_OUT); 178 strm->avail_out = (unsigned)(ar.out < ar.end ?
|
/external/zlib/src/ |
D | uncompr.c | 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
|
D | compress.c | 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
|
/external/chromium/chrome/common/ |
D | bzip2_unittest.cc | 40 stream.avail_out = arraysize(output); in TEST() 61 stream.avail_out = arraysize(output2); in TEST()
|
/external/chromium/net/base/ |
D | gzip_filter.cc | 215 zlib_stream_.get()->avail_out = *dest_len; in DoInflate() 218 int bytesWritten = *dest_len - zlib_stream_.get()->avail_out; in DoInflate() 281 zlib_stream_.get()->avail_out = sizeof(dummy_output); in InsertZlibHeader()
|
D | gzip_filter_unittest.cc | 140 zlib_stream.avail_out = *dest_len; in CompressAll() 144 if (zlib_stream.avail_out < sizeof(kGZipHeader)) in CompressAll() 148 zlib_stream.avail_out -= sizeof(kGZipHeader); in CompressAll() 153 *dest_len = *dest_len - zlib_stream.avail_out; in CompressAll()
|