HomeSort by: relevance | last modified time | path
    Searched refs:avail_out (Results 1 - 25 of 47) sorted by relevancy

1 2

  /src/common/dist/zlib/examples/
fitblk.c 88 } 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 = size
    [all...]
zpipe.c 65 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);
zran.c 174 if (strm.avail_out == 0) {
175 strm.avail_out = sizeof(win);
186 unsigned before = strm.avail_out;
188 totout += before - strm.avail_out;
199 totout, strm.avail_out, win);
320 strm->avail_out = 0;
375 strm.avail_out = offset < WINSIZE ? (unsigned)offset : WINSIZE;
380 strm.avail_out = left < UINT_MAX ? (unsigned)left : UINT_MAX;
394 unsigned got = strm.avail_out;
396 got -= strm.avail_out;
    [all...]
gzappend.c 306 strm->avail_out = DSIZE - have;
317 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out);
318 if (strm->avail_out)
319 have = DSIZE - strm->avail_out;
424 strm->avail_out = CHUNK;
427 left = CHUNK - strm->avail_out;
429 len = write(gd, out + CHUNK - strm->avail_out - left, left);
433 } while (strm->avail_out == 0 && ret != Z_STREAM_END);
gzjoin.c 316 strm.avail_out = 0;
319 if (strm.avail_in == 0 && strm.avail_out != 0) {
327 strm.avail_out = CHUNK;
338 len += CHUNK - strm.avail_out;
gznorm.c 146 strm.avail_out = CHUNK;
159 unsigned got = CHUNK - strm.avail_out;
167 } while (strm.avail_out == 0 && (strm.data_type & 0x80) == 0);
  /src/common/dist/zlib/
compress.c 42 stream.avail_out = 0;
47 if (stream.avail_out == 0) {
48 stream.avail_out = left > (uLong)max ? max : (uInt)left;
49 left -= stream.avail_out;
uncompr.c 57 stream.avail_out = 0;
60 if (stream.avail_out == 0) {
61 stream.avail_out = left > (uLong)max ? max : (uInt)left;
62 left -= stream.avail_out;
80 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR :
inffast.c 29 strm->avail_out >= 258
30 start >= strm->avail_out
49 requires strm->avail_out >= 258 for each loop to avoid checking for
84 beg = out - (start - strm->avail_out);
85 end = out + (strm->avail_out - 257);
301 strm->avail_out = (unsigned)(out < end ?
gzwrite.c 52 strm->avail_out = state->size;
105 if (strm->avail_out == 0 || (flush != Z_NO_FLUSH &&
117 if (strm->avail_out == 0) {
118 strm->avail_out = state->size;
125 have = strm->avail_out;
132 have -= strm->avail_out;
  /src/sys/arch/hpc/stand/hpcboot/
file_manager.cpp 108 _stream->avail_out = len;
111 while (_stream->avail_out != 0) {
115 if (n > _stream->avail_out)
116 n = _stream->avail_out;
121 _stream->avail_out -= n;
124 if (_stream->avail_out > 0) {
126 _stream->avail_out);
130 _stream->avail_out -= got;
132 return(int)(len - _stream->avail_out);
170 return(int)(len - _stream->avail_out);
    [all...]
  /src/usr.bin/gzip/
unbzip2.c 83 bzs.avail_out = BUFLEN;
101 if (!tflag && bzs.avail_out != BUFLEN) {
104 n = write(out, outbuf, BUFLEN - bzs.avail_out);
unxz.c 67 strm.avail_out = 0;
73 strm.avail_out = sizeof(obuf);
99 if (strm.avail_out == 0 || ret != LZMA_OK) {
100 const size_t write_size = sizeof(obuf) - strm.avail_out;
107 strm.avail_out = sizeof(obuf);
  /src/sys/opencrypto/
deflate.c 118 zbuf.avail_out = buf[0].size;
141 && zbuf.avail_in == 0 && zbuf.avail_out != 0)
145 else if (zbuf.avail_out == 0) {
154 zbuf.avail_out = buf[i].size = nextsize;
307 zbuf.avail_out = buf[0].size;
308 DPRINTF("zbuf avail_in %u, avail_out %u\n",
309 zbuf.avail_in, zbuf.avail_out);
322 zbuf.avail_in, zbuf.avail_out);
326 zbuf.avail_in, zbuf.avail_out);
335 && zbuf.avail_in == 0 && zbuf.avail_out != 0
    [all...]
  /src/sys/arch/atari/stand/tostools/libtos/
cread.c 289 s->stream.avail_out = len;
291 while (s->stream.avail_out != 0) {
296 if (n > s->stream.avail_out)
297 n = s->stream.avail_out;
303 s->stream.avail_out -= n;
306 if (s->stream.avail_out > 0) {
309 s->stream.avail_out);
312 s->stream.avail_out -= got;
314 return (int)(len - s->stream.avail_out);
360 return (int)(len - s->stream.avail_out);
    [all...]
  /src/sys/lib/libsa/
cread.c 336 s->stream.avail_out = len;
338 while (s->stream.avail_out != 0) {
343 if (n > s->stream.avail_out)
344 n = s->stream.avail_out;
350 s->stream.avail_out -= n;
353 if (s->stream.avail_out > 0) {
356 s->stream.avail_out);
359 s->stream.avail_out -= got;
361 return (int)(len - s->stream.avail_out);
422 return (int)(len - s->stream.avail_out);
    [all...]
  /src/sys/net/
ppp-deflate.c 276 state->strm.avail_out = wspace - (PPP_HDRLEN + 2);
279 state->strm.avail_out = 1000000;
298 if (flush != Z_NO_FLUSH && state->strm.avail_out != 0)
307 if (state->strm.avail_out == 0) {
318 state->strm.avail_out = wspace = M_TRAILINGSPACE(m);
323 state->strm.avail_out = 1000000;
328 olen += (m->m_len = wspace - state->strm.avail_out);
520 * Set up to call inflate. We set avail_out to 1 initially so we can
530 state->strm.avail_out = 1;
548 if (flush != Z_NO_FLUSH && state->strm.avail_out != 0
    [all...]
  /src/common/dist/zlib/test/
example.c 182 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */
188 c_stream.avail_out = 1;
220 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
253 c_stream.avail_out = (uInt)comprLen;
312 d_stream.avail_out = (uInt)uncomprLen;
347 c_stream.avail_out = (uInt)*comprLen;
385 d_stream.avail_out = (uInt)uncomprLen;
425 c_stream.avail_out = (uInt)comprLen;
460 d_stream.avail_out = (uInt)uncomprLen;
minigzip.c 223 strm->avail_out = BUFLEN;
225 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
226 } while (strm->avail_out == 0);
242 strm->avail_out = len;
257 } while (strm->avail_out);
258 return len - strm->avail_out;
273 strm->avail_out = BUFLEN;
275 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
276 } while (strm->avail_out == 0);
  /src/common/dist/zlib/contrib/delphi/
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) the
    [all...]
  /src/common/dist/zlib/contrib/dotzlib/DotZLib/
Inflater.cs 69 while (_ztream.avail_out == 0)
  /src/tests/crypto/opencrypto/
h_comp_zlib.c 78 z.avail_out = sizeof(buf2);
h_comp_zlib_rnd.c 82 z.avail_out = sizeof(buf2);
  /src/sys/arch/evbarm/stand/gzboot/
gzboot.c 202 s->stream.avail_out = len;
204 while (s->stream.avail_out != 0) {
244 return ((ssize_t) (len - s->stream.avail_out));
  /src/common/dist/zlib/contrib/pascal/
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);

Completed in 21 milliseconds

1 2