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

1234

/external/zlib/src/examples/
H A Dfitblk.c88 } while (def->avail_out != 0 && flush == Z_NO_FLUSH);
104 inf->avail_out = RAWLEN;
113 def->avail_in = RAWLEN - inf->avail_out;
115 if (inf->avail_out != 0)
119 } while (ret != Z_STREAM_END && def->avail_out != 0);
156 def.avail_out = size + EXCESS;
163 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) {
165 have = size + EXCESS - def.avail_out;
195 def.avail_out = size + EXCESS;
210 def.avail_out
[all...]
H A Dzpipe.c65 strm.avail_out = CHUNK;
69 have = CHUNK - strm.avail_out;
74 } while (strm.avail_out == 0);
123 strm.avail_out = CHUNK;
135 have = CHUNK - strm.avail_out;
140 } while (strm.avail_out == 0);
H A Dzran.c164 strm.avail_out = 0;
181 if (strm.avail_out == 0) {
182 strm.avail_out = WINSIZE;
189 totout += strm.avail_out;
192 totout -= strm.avail_out;
212 totout, strm.avail_out, window);
292 strm.avail_out = len;
297 strm.avail_out = WINSIZE;
302 strm.avail_out = (unsigned)offset;
307 /* uncompress until avail_out fille
[all...]
H A Dgzappend.c304 strm->avail_out = DSIZE - have;
315 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out);
316 if (strm->avail_out)
317 have = DSIZE - strm->avail_out;
422 strm->avail_out = CHUNK;
425 left = CHUNK - strm->avail_out;
427 len = write(gd, out + CHUNK - strm->avail_out - left, left);
431 } while (strm->avail_out == 0 && ret != Z_STREAM_END);
/external/skia/src/core/
H A DSkFlate.cpp43 flateData.avail_out = kBufferSize;
65 if (flateData.avail_out < kBufferSize) {
66 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) {
71 flateData.avail_out = kBufferSize;
94 if (flateData.avail_out < kBufferSize) {
95 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out))
98 flateData.avail_out = kBufferSize;
/external/openssh/
H A Dcompress.c103 /* Loop compressing until deflate() returns with avail_out != 0. */
107 outgoing_stream.avail_out = sizeof(buf);
115 sizeof(buf) - outgoing_stream.avail_out);
122 } while (outgoing_stream.avail_out == 0);
146 incoming_stream.avail_out = sizeof(buf);
152 sizeof(buf) - incoming_stream.avail_out);
/external/qemu/distrib/zlib-1.2.3/
H A Duncompr.c41 stream.avail_out = (uInt)*destLen;
42 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
H A Dcompress.c39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
H A Dgzio.c116 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;
[all...]
/external/zlib/src/
H A Duncompr.c39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
H A Dcompress.c39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
/external/protobuf/src/google/protobuf/io/
H A Dgzip_stream.cc68 zcontext_.avail_out = output_buffer_length_;
77 if ((zerror_ == Z_OK) && (zcontext_.avail_out == 0)) {
86 zcontext_.avail_out = 0;
106 zcontext_.avail_out = output_buffer_length_;
210 zcontext_.avail_out = 0;
241 if ((sub_data_ == NULL) || (zcontext_.avail_out == 0)) {
250 zcontext_.avail_out = sub_data_size_;
253 } while (error == Z_OK && zcontext_.avail_out == 0);
255 && (zcontext_.avail_out != sub_data_size_)) {
257 sub_stream_->BackUp(zcontext_.avail_out);
[all...]
/external/openssl/crypto/comp/
H A Dc_zlib.c154 state->istream.avail_out = 0;
166 state->ostream.avail_out = 0;
205 state->ostream.avail_out = olen;
212 ilen,olen - state->ostream.avail_out,
213 (ilen != olen - state->ostream.avail_out)?"zlib":"clear");
215 return olen - state->ostream.avail_out;
233 state->istream.avail_out = olen;
240 ilen,olen - state->istream.avail_out,
241 (ilen != olen - state->istream.avail_out)?"zlib":"clear");
243 return olen - state->istream.avail_out;
[all...]
/external/chromium/chrome/common/
H A Dbzip2_unittest.cc40 stream.avail_out = arraysize(output);
61 stream.avail_out = arraysize(output2);
/external/libppp/src/
H A Ddeflate.c105 state->cx.avail_out = DEFLATE_CHUNK_LEN - 2;
123 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0)
134 if (state->cx.avail_out == 0) {
140 state->cx.avail_out = DEFLATE_CHUNK_LEN;
144 olen += (mo->m_len = DEFLATE_CHUNK_LEN - state->cx.avail_out);
242 * We set avail_out to 1 initially so we can look at the first
249 state->cx.avail_out = 1;
268 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0)
279 if (state->cx.avail_out == 0) {
286 state->cx.avail_out
[all...]
/external/zlib/src/test/
H A Dminigzip.c247 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);
H A Dexample.c219 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/bzip2/
H A Dbzlib.c341 if (s->strm->avail_out == 0) break;
349 s->strm->avail_out--;
545 if (s->strm->avail_out == 0) return False;
551 s->strm->avail_out--;
600 unsigned int cs_avail_out = s->strm->avail_out;
678 s->strm->avail_out = cs_avail_out;
715 if (s->strm->avail_out == 0) return False;
721 s->strm->avail_out--;
764 if (s->strm->avail_out == 0) return False;
770 s->strm->avail_out
[all...]
/external/zlib/src/contrib/masmx64/
H A Dinffas8664.c55 strm->avail_out >= 258
56 start >= strm->avail_out
75 requires strm->avail_out >= 258 for each loop to avoid checking for
108 unsigned start; /* inflate()'s starting value for strm->avail_out */
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/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...]
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DInflater.cs69 while (_ztream.avail_out == 0)
H A DCodecBase.cs183 _ztream.avail_out = kBufferSize;
/external/dropbear/
H A Dpacket.c379 zstream->avail_out = ret->size - ret->pos;
380 zstream->next_out = buf_getwriteptr(ret, zstream->avail_out);
384 buf_setlen(ret, ret->size - zstream->avail_out);
392 (zstream->avail_out != 0 || result == Z_BUF_ERROR)) {
393 /* we can only exit if avail_out hasn't all been used,
398 if (zstream->avail_out == 0) {
581 ses.keys->trans_zstream->avail_out = dest->size - dest->pos;
583 buf_getwriteptr(dest, ses.keys->trans_zstream->avail_out);
588 buf_setlen(dest, dest->size - ses.keys->trans_zstream->avail_out);
599 dropbear_assert(ses.keys->trans_zstream->avail_out
[all...]
/external/chromium/net/base/
H A Dgzip_filter_unittest.cc140 zlib_stream.avail_out = *dest_len;
144 if (zlib_stream.avail_out < sizeof(kGZipHeader))
148 zlib_stream.avail_out -= sizeof(kGZipHeader);
153 *dest_len = *dest_len - zlib_stream.avail_out;
/external/kernel-headers/original/linux/
H A Dzlib.h90 uInt avail_out; /* remaining free space at next_out */ member in struct:z_stream_s
107 dropped to zero. It must update next_out and avail_out when avail_out
227 - Provide more output starting at next_out and update next_out and avail_out
235 more output, and updating avail_in or avail_out accordingly; avail_out
238 (avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
239 and with zero avail_out, it must be called again after making room in the
255 If deflate returns with avail_out == 0, this function must be called again
257 avail_out), unti
[all...]

Completed in 288 milliseconds

1234