Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
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;
436 s->stream.avail_out -= n;
[all …]
Duncompr.c41 stream.avail_out = (uInt)*destLen;
42 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
Dexample.c188 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */
194 c_stream.avail_out = 1;
228 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
263 c_stream.avail_out = (uInt)comprLen;
324 d_stream.avail_out = (uInt)uncomprLen;
362 c_stream.avail_out = (uInt)*comprLen;
402 d_stream.avail_out = (uInt)uncomprLen;
446 c_stream.avail_out = (uInt)comprLen;
483 d_stream.avail_out = (uInt)uncomprLen;
Dcompress.c39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
Dinffast.c102 beg = out - (start - strm->avail_out);
103 end = out + (strm->avail_out - 257);
297 strm->avail_out = (unsigned)(out < end ?
Ddeflate.c537 if (len > strm->avail_out) len = strm->avail_out;
544 strm->avail_out -= len;
570 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
759 if (strm->avail_out == 0) {
796 if (strm->avail_out == 0) {
821 if (strm->avail_out == 0) {
827 Assert(strm->avail_out > 0, "bug2");
1378 if (s->strm->avail_out == 0) return (eof) ? finish_started : need_more; \
1656 if (s->strm->avail_out == 0) return need_more;
Dinflate.c348 copy = out - strm->avail_out;
406 left = strm->avail_out; \
417 strm->avail_out = left; \
1135 if (state->wsize || (state->mode < CHECK && out != strm->avail_out))
1141 out -= strm->avail_out;
1192 if (updatewindow(strm, strm->avail_out)) {
Dinfback.c122 left = strm->avail_out; \
133 strm->avail_out = left; \
Dzlib.h88 uInt avail_out; /* remaining free space at next_out */ member
DFAQ37 Before making the call, make sure that avail_in and avail_out are not
39 that avail_out is big enough to allow processing all pending input.
44 when strm.avail_out returns with zero.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dzlibmodule.c149 zst.avail_out = length + length/1000 + 12 + 1; in PyZlib_compress()
151 output = (Byte*)malloc(zst.avail_out); in PyZlib_compress()
232 zst.avail_out = r_strlen; in PyZlib_decompress()
270 if (zst.avail_out > 0) { in PyZlib_decompress()
284 zst.avail_out = r_strlen; in PyZlib_decompress()
431 self->zst.avail_out = length; in PyZlib_objcompress()
440 while (err == Z_OK && self->zst.avail_out == 0) { in PyZlib_objcompress()
445 self->zst.avail_out = length; in PyZlib_objcompress()
553 self->zst.avail_out = length; in PyZlib_objdecompress()
563 while (err == Z_OK && self->zst.avail_out == 0) { in PyZlib_objdecompress()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dzlibmodule.c143 zst.avail_out = length + length/1000 + 12 + 1; in PyZlib_compress()
145 output = (Byte*)malloc(zst.avail_out); in PyZlib_compress()
226 zst.avail_out = r_strlen; in PyZlib_decompress()
264 if (zst.avail_out > 0) { in PyZlib_decompress()
278 zst.avail_out = r_strlen; in PyZlib_decompress()
425 self->zst.avail_out = length; in PyZlib_objcompress()
434 while (err == Z_OK && self->zst.avail_out == 0) { in PyZlib_objcompress()
439 self->zst.avail_out = length; in PyZlib_objcompress()
504 self->zst.avail_out = length; in PyZlib_objdecompress()
514 while (err == Z_OK && self->zst.avail_out == 0) { in PyZlib_objdecompress()
[all …]
Dbz2module.c1654 bzs->avail_out = bufsize; in BZ2Comp_compress()
1668 if (bzs->avail_out == 0) { in BZ2Comp_compress()
1676 bzs->avail_out = bufsize - (bzs->next_out - BUF(ret)); in BZ2Comp_compress()
1722 bzs->avail_out = bufsize; in BZ2Comp_flush()
1736 if (bzs->avail_out == 0) { in BZ2Comp_flush()
1743 bzs->avail_out = bufsize - (bzs->next_out - BUF(ret)); in BZ2Comp_flush()
1747 if (bzs->avail_out != 0) in BZ2Comp_flush()
1940 bzs->avail_out = bufsize; in BZ2Decomp_decompress()
1964 if (bzs->avail_out == 0) { in BZ2Decomp_decompress()
1973 bzs->avail_out = bufsize - (bzs->next_out - BUF(ret)); in BZ2Decomp_decompress()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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);
Duncompr.c39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
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;
Dcompress.c39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
Dgzwrite.c57 strm->avail_out = state->size;
98 if (strm->avail_out == 0 || (flush != Z_NO_FLUSH &&
106 if (strm->avail_out == 0) {
107 strm->avail_out = state->size;
114 have = strm->avail_out;
121 have -= strm->avail_out;
Dgzread.c180 had = strm->avail_out;
206 } while (strm->avail_out && ret != Z_STREAM_END);
209 state->x.have = had - strm->avail_out;
246 strm->avail_out = state->size << 1;
362 strm->avail_out = len;
Dinffast.c102 beg = out - (start - strm->avail_out);
103 end = out + (strm->avail_out - 257);
319 strm->avail_out = (unsigned)(out < end ?
Ddeflate.c650 if (len > strm->avail_out) len = strm->avail_out;
657 strm->avail_out -= len;
683 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
872 if (strm->avail_out == 0) {
911 if (strm->avail_out == 0) {
941 if (strm->avail_out == 0) {
947 Assert(strm->avail_out > 0, "bug2");
1552 if (s->strm->avail_out == 0) return (last) ? finish_started : need_more; \
1829 if (s->strm->avail_out == 0) return need_more;
Dinflate.c462 left = strm->avail_out; \
473 strm->avail_out = left; \
1232 if (state->wsize || (out != strm->avail_out && state->mode < BAD &&
1234 if (updatewindow(strm, strm->next_out, out - strm->avail_out)) {
1239 out -= strm->avail_out;
Dinfback.c131 left = strm->avail_out; \
142 strm->avail_out = left; \
DFAQ35 Before making the call, make sure that avail_in and avail_out are not zero.
37 avail_out is big enough to allow processing all pending input. Note that a
42 strm.avail_out returns with zero. See http://zlib.net/zlib_how.html for a
Dzlib.h91 uInt avail_out; /* remaining free space at next_out */ member

12