/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
H A D | fx_zlib_uncompr.c | 34 stream.avail_in = (uInt)sourceLen; 36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 51 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0))
|
H A D | gzread.c | 48 If strm->avail_in != 0, then the current data is moved to the beginning of 60 if (strm->avail_in) { /* copy what's there to the start */ 63 unsigned n = strm->avail_in; 68 if (gz_load(state, state->in + strm->avail_in, 69 state->size - strm->avail_in, &got) == -1) 71 strm->avail_in += got; 110 state->strm.avail_in = 0; 122 if (strm->avail_in < 2) { 125 if (strm->avail_in == 0) 136 if (strm->avail_in > [all...] |
H A D | fx_zlib_compress.c | 33 stream.avail_in = (uInt)sourceLen; 36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
|
H A D | gzwrite.c | 64 /* Compress whatever is at avail_in and next_in and write to the output file. 84 got = write(state->fd, strm->next_in, strm->avail_in); 85 if (got < 0 || (unsigned)got != strm->avail_in) { 89 strm->avail_in = 0; 142 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1) 154 strm->avail_in = n; 212 if (strm->avail_in == 0) 214 have = (unsigned)((strm->next_in + strm->avail_in) - state->in); 219 strm->avail_in += copy; 229 if (strm->avail_in [all...] |
/external/zlib/src/ |
H A D | uncompr.c | 34 stream.avail_in = (uInt)sourceLen; 36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; 51 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0))
|
H A D | gzread.c | 48 If strm->avail_in != 0, then the current data is moved to the beginning of 60 if (strm->avail_in) { /* copy what's there to the start */ 63 unsigned n = strm->avail_in; 68 if (gz_load(state, state->in + strm->avail_in, 69 state->size - strm->avail_in, &got) == -1) 71 strm->avail_in += got; 110 state->strm.avail_in = 0; 122 if (strm->avail_in < 2) { 125 if (strm->avail_in == 0) 136 if (strm->avail_in > [all...] |
H A D | compress.c | 33 stream.avail_in = (uInt)sourceLen; 36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
|
H A D | gzwrite.c | 64 /* Compress whatever is at avail_in and next_in and write to the output file. 84 got = write(state->fd, strm->next_in, strm->avail_in); 85 if (got < 0 || (unsigned)got != strm->avail_in) { 89 strm->avail_in = 0; 142 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1) 154 strm->avail_in = n; 212 if (strm->avail_in == 0) 214 have = (unsigned)((strm->next_in + strm->avail_in) - state->in); 219 strm->avail_in += copy; 229 if (strm->avail_in [all...] |
/external/libxml2/ |
H A D | xzlib.c | 130 state->strm.avail_in = 0; /* no input data yet */ 132 state->zstrm.avail_in = 0; /* no input data yet */ 260 /* avail_in is size_t, which is not necessary sizeof(unsigned) */ 261 unsigned tmp = strm->avail_in; 264 strm->avail_in = tmp; 267 strm->avail_in = tmp; 278 state->strm.avail_in = state->zstrm.avail_in; 281 state->zstrm.avail_in = (uInt) state->strm.avail_in; [all...] |
/external/squashfs-tools/squashfs-tools/ |
H A D | lzma_xz_wrapper.c | 58 strm.avail_in = size; 128 strm.avail_in = LZMA_HEADER_SIZE; 132 if(res != LZMA_OK || strm.avail_in != 0) { 138 strm.avail_in = size - LZMA_HEADER_SIZE; 144 strm.total_out >= uncompressed_size && strm.avail_in == 0))
|
/external/protobuf/src/google/protobuf/io/ |
H A D | gzip_stream.cc | 57 zcontext_.avail_in = 0; 90 } else if (zcontext_.avail_in == 0) { 101 zcontext_.avail_in = in_size; 219 zcontext_.avail_in = 0; 275 if (zcontext_.avail_in != 0) { 281 if (zcontext_.avail_in == 0) { 284 zcontext_.avail_in = input_buffer_length_; 288 // The loop in Deflate should consume all avail_in 294 GOOGLE_CHECK_GE(zcontext_.avail_in, count); 295 zcontext_.avail_in [all...] |
/external/zlib/src/examples/ |
H A D | zran.c | 158 strm.avail_in = 0; 172 strm.avail_in = fread(input, 1, CHUNK, in); 177 if (strm.avail_in == 0) { 193 totin += strm.avail_in; 196 totin -= strm.avail_in; 224 } while (strm.avail_in != 0); 272 strm.avail_in = 0; 292 strm.avail_in = 0; 314 if (strm.avail_in == 0) { 315 strm.avail_in [all...] |
H A D | fitblk.c | 80 def->avail_in = fread(raw, 1, RAWLEN, in); 113 def->avail_in = RAWLEN - inf->avail_out; 183 inf.avail_in = 0; 193 inf.avail_in = size + EXCESS; 208 inf.avail_in = size - MARGIN; /* assure stream will complete */
|
H A D | zpipe.c | 54 strm.avail_in = fread(in, 1, CHUNK, source); 75 assert(strm.avail_in == 0); /* all input will be used */ 104 strm.avail_in = 0; 112 strm.avail_in = fread(in, 1, CHUNK, source); 117 if (strm.avail_in == 0)
|
H A D | gzjoin.c | 260 strm->avail_in = in->left; 303 strm.avail_in = 0; 319 if (strm.avail_in == 0 && strm.avail_out != 0) { 359 if (strm.avail_in == 0) { 374 in->left = strm.avail_in;
|
/external/zlib/src/test/ |
H A D | infcover.c | 294 strm.avail_in = 0; 314 strm.avail_in = step; 338 have += strm.avail_in; 339 strm.avail_in = step > have ? have : step; 340 have -= strm.avail_in; 341 } while (strm.avail_in); 356 strm.avail_in = 0; 374 strm.avail_in = 0; 380 strm.avail_in = 0; 414 strm.avail_in [all...] |
H A D | example.c | 219 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */ 252 d_stream.avail_in = 0; 259 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */ 300 c_stream.avail_in = (uInt)uncomprLen; 303 if (c_stream.avail_in != 0) { 311 c_stream.avail_in = (uInt)comprLen/2; 318 c_stream.avail_in = (uInt)uncomprLen; 348 d_stream.avail_in = (uInt)comprLen; 392 c_stream.avail_in = 3; 398 c_stream.avail_in [all...] |
/external/skia/src/core/ |
H A D | SkFlate.cpp | 41 flateData.avail_in = 0; 57 flateData.avail_in = 0; 60 flateData.avail_in = SkToUInt(inputLength); 75 if (flateData.avail_in == 0) { 82 flateData.avail_in = SkToUInt(read); 149 zStream->avail_in = SkToInt(inBufferSize); 159 } while (zStream->avail_in || !zStream->avail_out);
|
/external/libvncserver/libvncclient/ |
H A D | zlib.c | 69 client->decompStream.avail_in = 0; 111 client->decompStream.avail_in = toRead; 132 if (( client->decompStream.avail_in > 0 ) &&
|
/external/libvncserver/libvncserver/ |
H A D | zrleoutstream.c | 108 os->zs.avail_in = ZRLE_BUFFER_LENGTH (&os->in); 111 rfbLog("zrleOutStreamFlush: avail_in %d\n", os->zs.avail_in); 114 while (os->zs.avail_in != 0) { 128 rfbLog("zrleOutStreamFlush: calling deflate, avail_in %d, avail_out %d\n", 129 os->zs.avail_in, os->zs.avail_out); 160 os->zs.avail_in = ZRLE_BUFFER_LENGTH (&os->in); 175 rfbLog("zrleOutStreamOverrun: calling deflate, avail_in %d, avail_out %d\n", 176 os->zs.avail_in, os->zs.avail_out); 194 if (os->zs.avail_in [all...] |
/external/squashfs-tools/kernel/fs/squashfs/ |
H A D | block.c | 165 msblk->stream.avail_in = 0; 169 if (msblk->stream.avail_in == 0 && k < b) { 183 msblk->stream.avail_in = avail; 206 if (msblk->stream.avail_in == 0 && k < b) 212 " 0x%x, srclength %d, avail_in %d," 214 msblk->stream.avail_in,
|
/external/freetype/src/gzip/ |
H A D | infutil.h | 67 #define UPDIN {z->avail_in=n;z->total_in+=p-z->next_in;z->next_in=p;} 72 #define LOADIN {p=z->next_in;n=z->avail_in;b=s->bitb;k=s->bitk;}
|
/external/elfutils/src/libdwfl/ |
H A D | gzip.c | 172 z_stream z = { .next_in = mapped, .avail_in = mapped_size }; 182 if (z.avail_in == 0 && input_buffer != NULL) 192 z.avail_in = n; 198 if (!bigger_buffer (z.avail_in))
|
/external/zlib/src/contrib/pascal/ |
H A D | example.pas | 205 c_stream.avail_in := 1; 241 d_stream.avail_in := 0; 251 d_stream.avail_in := 1; 291 c_stream.avail_in := Integer(uncomprLen); 294 if c_stream.avail_in <> 0 then 300 c_stream.avail_in := Integer(comprLen div 2); 307 c_stream.avail_in := Integer(uncomprLen); 336 d_stream.avail_in := Integer(comprLen); 384 c_stream.avail_in := 3; 390 c_stream.avail_in [all...] |
/external/zlib/src/contrib/delphi/ |
H A D | ZLib.pas | 25 avail_in: Integer; // number of bytes available at next_in 299 strm.avail_in := InBytes; 342 strm.avail_in := InBytes; 375 strm.avail_in := InBytes; 421 FZRec.avail_in := 0; 447 FZRec.avail_in := Count; 449 while (FZRec.avail_in > 0) do 487 FZRec.avail_in := 0; 493 FStrm.Seek(-FZRec.avail_in, 1); 505 if FZRec.avail_in [all...] |