Home
last modified time | relevance | path

Searched refs:avail_out (Results 1 – 25 of 139) sorted by relevance

123456

/external/zlib/src/examples/
Dfitblk.c88 } 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 …]
Dzran.c169 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 …]
Dzpipe.c65 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()
Dgzappend.c306 strm->avail_out = DSIZE - have; in gzscan()
317 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out); in gzscan()
318 if (strm->avail_out) in gzscan()
319 have = DSIZE - strm->avail_out; in gzscan()
424 strm->avail_out = CHUNK; in gztack()
427 left = CHUNK - strm->avail_out; in gztack()
429 len = write(gd, out + CHUNK - strm->avail_out - left, left); in gztack()
433 } while (strm->avail_out == 0 && ret != Z_STREAM_END); in gztack()
/external/freetype/src/gzip/
Dinfutil.c37 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/zlib/src/contrib/delphi/
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 < sizeof(FBuffer) then
[all …]
/external/pdfium/third_party/libtiff/
Dtif_zip.c162 assert(sizeof(sp->stream.avail_out)==4); /* if this assert gets raised, in ZIPDecode()
166 sp->stream.avail_out = (uInt) occ; in ZIPDecode()
167 if ((tmsize_t)sp->stream.avail_out != occ) in ZIPDecode()
189 } while (sp->stream.avail_out > 0); in ZIPDecode()
190 if (sp->stream.avail_out != 0) { in ZIPDecode()
193 (unsigned long) tif->tif_row, (TIFF_UINT64_T) sp->stream.avail_out); in ZIPDecode()
239 assert(sizeof(sp->stream.avail_out)==4); /* if this assert gets raised, in ZIPPreEncode()
243 sp->stream.avail_out = tif->tif_rawdatasize; in ZIPPreEncode()
244 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in ZIPPreEncode()
283 if (sp->stream.avail_out == 0) { in ZIPEncode()
[all …]
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc69 zcontext_.avail_out = output_buffer_length_; in GzipInputStream()
89 if ((zerror_ == Z_OK) && (zcontext_.avail_out == 0)) { in Inflate()
98 zcontext_.avail_out = 0; in Inflate()
111 zcontext_.avail_out = output_buffer_length_; in Inflate()
222 zcontext_.avail_out = 0; in Init()
251 if ((sub_data_ == NULL) || (zcontext_.avail_out == 0)) { in Deflate()
260 zcontext_.avail_out = sub_data_size_; in Deflate()
263 } while (error == Z_OK && zcontext_.avail_out == 0); in Deflate()
266 sub_stream_->BackUp(zcontext_.avail_out); in Deflate()
310 zcontext_.avail_out != 0); in Flush()
/external/skia/tests/
DPDFDeflateWStreamTest.cpp45 flateData.avail_out = kBufferSize; in stream_inflate()
65 if (flateData.avail_out < kBufferSize) { in stream_inflate()
66 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
71 flateData.avail_out = kBufferSize; in stream_inflate()
88 if (flateData.avail_out < kBufferSize) { in stream_inflate()
89 if (!dst->write(outputBuffer, kBufferSize - flateData.avail_out)) { in stream_inflate()
94 flateData.avail_out = kBufferSize; in stream_inflate()
/external/libmicrohttpd/src/microspdy/
Dcompression.c289 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()
/external/syslinux/com32/libupload/
Dzout.c25 be->zstream.avail_out = be->alloc = 0; in init_data()
43 be->zbytes = be->alloc - be->zstream.avail_out; in do_deflate()
44 if (be->zstream.avail_out) in do_deflate()
53 be->zstream.avail_out = be->alloc - be->zbytes; in do_deflate()
/external/bzip2/
Dbzlib.c341 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/contrib/pascal/
Dexample.pas204 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/zlib/src/test/
Dminigzip.c251 strm->avail_out = BUFLEN;
253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
254 } while (strm->avail_out == 0);
276 strm->avail_out = len;
291 } while (strm->avail_out);
292 return len - strm->avail_out;
311 strm->avail_out = BUFLEN;
313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
314 } while (strm->avail_out == 0);
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/python/cpython2/Modules/zlib/
Dminigzip.c251 strm->avail_out = BUFLEN;
253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
254 } while (strm->avail_out == 0);
276 strm->avail_out = len;
291 } while (strm->avail_out);
292 return len - strm->avail_out;
311 strm->avail_out = BUFLEN;
313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
314 } while (strm->avail_out == 0);
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/libxml2/
Dxzlib.c540 had = strm->avail_out; in xz_decomp()
557 state->zstrm.avail_out = (uInt) state->strm.avail_out; in xz_decomp()
573 state->strm.avail_out = state->zstrm.avail_out; in xz_decomp()
590 } while (strm->avail_out && ret != LZMA_STREAM_END); in xz_decomp()
593 state->have = had - strm->avail_out; in xz_decomp()
617 state->strm.avail_out = 0; in xz_decomp()
650 strm->avail_out = state->size << 1; in xz_make()
758 strm->avail_out = len; in __libxml2_xzread()
/external/elfutils/libelf/
Delf_compress.c164 z.avail_out = out_size - used; in __libelf_compress()
172 used += (out_size - used) - z.avail_out; in __libelf_compress()
180 if (z.avail_out == 0) in __libelf_compress()
192 while (z.avail_out == 0); /* Need more output buffer. */ in __libelf_compress()
229 .avail_out = size_out in __libelf_decompress()
234 z.next_out = buf_out + (size_out - z.avail_out); in __libelf_decompress()
246 if (unlikely (zrc != Z_OK) || unlikely (z.avail_out != 0)) in __libelf_decompress()
/external/libvncserver/libvncserver/
Dzrleoutstream.c125 os->zs.avail_out = os->out.end - os->out.ptr; in zrleOutStreamFlush()
129 os->zs.avail_in, os->zs.avail_out); in zrleOutStreamFlush()
143 } while (os->zs.avail_out == 0); in zrleOutStreamFlush()
172 os->zs.avail_out = os->out.end - os->out.ptr; in zrleOutStreamOverrun()
176 os->zs.avail_in, os->zs.avail_out); in zrleOutStreamOverrun()
190 } while (os->zs.avail_out == 0); in zrleOutStreamOverrun()
/external/skia/src/pdf/
DSkDeflate.cpp46 zStream->avail_out = sizeof(outBuffer); in do_deflate()
50 out->write(outBuffer, sizeof(outBuffer) - zStream->avail_out); in do_deflate()
51 } while (zStream->avail_in || !zStream->avail_out); in do_deflate()
/external/zlib/src/contrib/masmx64/
Dinffas8664.c130 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/squashfs-tools/kernel/fs/squashfs/
Dblock.c164 msblk->stream.avail_out = 0; in squashfs_read_data()
187 if (msblk->stream.avail_out == 0) { in squashfs_read_data()
189 msblk->stream.avail_out = PAGE_CACHE_SIZE; in squashfs_read_data()
215 msblk->stream.avail_out); in squashfs_read_data()
/external/pdfium/third_party/libpng16/
Dpngrutil.c401 png_ptr->zstream.avail_out = 0; in png_inflate_claim()
483 png_alloc_size_t avail_out = *output_size_ptr; in png_inflate() local
498 png_ptr->zstream.avail_out = 0; in png_inflate()
530 avail_out += png_ptr->zstream.avail_out; /* not written last time */ in png_inflate()
544 if (avail_out < avail) in png_inflate()
545 avail = (uInt)avail_out; /* safe: < ZLIB_IO_MAX */ in png_inflate()
547 png_ptr->zstream.avail_out = avail; in png_inflate()
548 avail_out -= avail; in png_inflate()
556 ret = PNG_INFLATE(png_ptr, avail_out > 0 ? Z_NO_FLUSH : in png_inflate()
566 avail_out += png_ptr->zstream.avail_out; in png_inflate()
[all …]
/external/skia/third_party/libpng/
Dpngrutil.c401 png_ptr->zstream.avail_out = 0; in png_inflate_claim()
483 png_alloc_size_t avail_out = *output_size_ptr; in png_inflate() local
498 png_ptr->zstream.avail_out = 0; in png_inflate()
530 avail_out += png_ptr->zstream.avail_out; /* not written last time */ in png_inflate()
544 if (avail_out < avail) in png_inflate()
545 avail = (uInt)avail_out; /* safe: < ZLIB_IO_MAX */ in png_inflate()
547 png_ptr->zstream.avail_out = avail; in png_inflate()
548 avail_out -= avail; in png_inflate()
556 ret = PNG_INFLATE(png_ptr, avail_out > 0 ? Z_NO_FLUSH : in png_inflate()
566 avail_out += png_ptr->zstream.avail_out; in png_inflate()
[all …]

123456