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

12345

/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.c169 strm.avail_out = 0;
186 if (strm.avail_out == 0) {
187 strm.avail_out = WINSIZE;
194 totout += strm.avail_out;
197 totout -= strm.avail_out;
217 totout, strm.avail_out, window);
297 strm.avail_out = len;
302 strm.avail_out = WINSIZE;
307 strm.avail_out = (unsigned)offset;
312 /* uncompress until avail_out fille
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkFlate.cpp47 flateData.avail_out = kBufferSize;
69 if (flateData.avail_out < kBufferSize) {
70 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) {
75 flateData.avail_out = kBufferSize;
98 if (flateData.avail_out < kBufferSize) {
99 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out))
102 flateData.avail_out = kBufferSize;
/external/skia/src/core/
H A DSkFlate.cpp47 flateData.avail_out = kBufferSize;
69 if (flateData.avail_out < kBufferSize) {
70 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) {
75 flateData.avail_out = kBufferSize;
98 if (flateData.avail_out < kBufferSize) {
99 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out))
102 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/chromium_org/third_party/zlib/
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/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/chromium_org/third_party/protobuf/src/google/protobuf/io/
H A Dgzip_stream.cc68 zcontext_.avail_out = output_buffer_length_;
88 if ((zerror_ == Z_OK) && (zcontext_.avail_out == 0)) {
97 zcontext_.avail_out = 0;
110 zcontext_.avail_out = output_buffer_length_;
216 zcontext_.avail_out = 0;
247 if ((sub_data_ == NULL) || (zcontext_.avail_out == 0)) {
256 zcontext_.avail_out = sub_data_size_;
259 } while (error == Z_OK && zcontext_.avail_out == 0);
262 sub_stream_->BackUp(zcontext_.avail_out);
306 zcontext_.avail_out !
[all...]
/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/chromium_org/third_party/openssl/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/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/chromium_org/chrome/browser/metrics/
H A Dcompression_utils.cc38 stream.avail_out = static_cast<uInt>(*dest_length);
39 if (static_cast<uLong>(stream.avail_out) != *dest_length)
/external/chromium_org/chrome/browser/media/
H A Dwebrtc_log_uploader.cc195 if (stream.avail_out == 0)
201 if (stream.avail_out < kIntermediateCompressionBufferBytes)
209 post_data->resize(post_data->size() - stream.avail_out);
214 size_t old_size = post_data->size() - stream->avail_out;
217 stream->avail_out = kIntermediateCompressionBufferBytes;
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DWebSocketDeflater.cpp81 stream->avail_out = outputLength;
98 m_buffer.shrink(writePosition + maxLength - m_stream->avail_out);
120 m_buffer.shrink(writePosition + availableCapacity - m_stream->avail_out);
185 m_buffer.shrink(writePosition + availableCapacity - m_stream->avail_out);
217 m_buffer.shrink(writePosition + availableCapacity - m_stream->avail_out);
/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...]

Completed in 241 milliseconds

12345