/external/libxml2/ |
D | xzlib.c | 132 state->strm.avail_in = 0; /* no input data yet */ in xz_reset() 134 state->zstrm.avail_in = 0; /* no input data yet */ in xz_reset() 263 unsigned tmp = strm->avail_in; in xz_avail() 266 strm->avail_in = tmp; in xz_avail() 269 strm->avail_in = tmp; in xz_avail() 280 state->strm.avail_in = state->zstrm.avail_in; in xz_avail_zstrm() 283 state->zstrm.avail_in = (uInt) state->strm.avail_in; in xz_avail_zstrm() 294 return strm->avail_in >= 6 && memcmp(state->in, "\3757zXZ", 6) == 0; in is_format_xz() 308 if (strm->avail_in < 13) in is_format_lzma() 355 #define NEXT() ((strm->avail_in == 0 && xz_avail(state) == -1) ? -1 : \ [all …]
|
/external/curl/lib/ |
D | content_encoding.c | 95 uInt nread = z->avail_in; in inflate_stream() 140 if(z->avail_in == 0) { in inflate_stream() 155 z->avail_in = nread; in inflate_stream() 187 z->avail_in = (uInt)nread; in Curl_unencode_deflate_write() 309 z->avail_in = (uInt)nread; in Curl_unencode_gzip_write() 340 z->avail_in = (uInt)(nread - hlen); in Curl_unencode_gzip_write() 352 z->avail_in = (uInt)nread; in Curl_unencode_gzip_write() 353 z->next_in = malloc(z->avail_in); in Curl_unencode_gzip_write() 357 memcpy(z->next_in, k->str, z->avail_in); in Curl_unencode_gzip_write() 376 z->avail_in += (uInt)nread; in Curl_unencode_gzip_write() [all …]
|
/external/pdfium/third_party/zlib_v128/ |
D | gzread.c | 60 if (strm->avail_in) { /* copy what's there to the start */ in gz_avail() 63 unsigned n = strm->avail_in; in gz_avail() 68 if (gz_load(state, state->in + strm->avail_in, in gz_avail() 69 state->size - strm->avail_in, &got) == -1) in gz_avail() 71 strm->avail_in += got; in gz_avail() 110 state->strm.avail_in = 0; in gz_look() 122 if (strm->avail_in < 2) { in gz_look() 125 if (strm->avail_in == 0) in gz_look() 136 if (strm->avail_in > 1 && in gz_look() 147 strm->avail_in = 0; in gz_look() [all …]
|
D | gzwrite.c | 84 got = write(state->fd, strm->next_in, strm->avail_in); in gz_comp() 85 if (got < 0 || (unsigned)got != strm->avail_in) { in gz_comp() 89 strm->avail_in = 0; in gz_comp() 142 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1) in gz_zero() 154 strm->avail_in = n; in gz_zero() 212 if (strm->avail_in == 0) in gzwrite() 214 have = (unsigned)((strm->next_in + strm->avail_in) - state->in); in gzwrite() 219 strm->avail_in += copy; in gzwrite() 229 if (strm->avail_in && gz_comp(state, Z_NO_FLUSH) == -1) in gzwrite() 233 strm->avail_in = len; in gzwrite() [all …]
|
D | uncompr.c | 34 stream.avail_in = (uInt)sourceLen; in uncompress() 36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR; in uncompress() 51 if (err == Z_NEED_DICT || (err == Z_BUF_ERROR && stream.avail_in == 0)) in uncompress()
|
/external/opencv3/3rdparty/zlib/ |
D | gzread.c | 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 > 1 && 147 strm->avail_in = 0; [all …]
|
D | gzwrite.c | 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 && gz_comp(state, Z_NO_FLUSH) == -1) 233 strm->avail_in = len; [all …]
|
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))
|
/external/zlib/src/ |
D | gzread.c | 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 > 1 && 147 strm->avail_in = 0; [all …]
|
D | gzwrite.c | 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 && gz_comp(state, Z_NO_FLUSH) == -1) 233 strm->avail_in = len; [all …]
|
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))
|
/external/libmicrohttpd/src/microspdy/ |
D | compression.c | 270 strm->avail_in = SPDYF_ZLIB_CHUNK; in SPDYF_zlib_deflate() 279 strm->avail_in = src_size; in SPDYF_zlib_deflate() 282 *data_used += strm->avail_in; in SPDYF_zlib_deflate() 311 SPDYF_ASSERT(strm->avail_in == 0,"compressing bug"); in SPDYF_zlib_deflate() 327 strm->avail_in = 0; in SPDYF_zlib_inflate_init() 368 strm->avail_in = SPDYF_ZLIB_CHUNK; in SPDYF_zlib_inflate() 373 strm->avail_in = src_size; in SPDYF_zlib_inflate() 377 if(strm->avail_in == 0){ in SPDYF_zlib_inflate()
|
/external/protobuf/src/google/protobuf/io/ |
D | gzip_stream.cc | 57 zcontext_.avail_in = 0; in GzipInputStream() 90 } else if (zcontext_.avail_in == 0) { in Inflate() 101 zcontext_.avail_in = in_size; in Inflate() 219 zcontext_.avail_in = 0; in Init() 275 if (zcontext_.avail_in != 0) { in Next() 281 if (zcontext_.avail_in == 0) { in Next() 284 zcontext_.avail_in = input_buffer_length_; in Next() 294 GOOGLE_CHECK_GE(zcontext_.avail_in, count); in BackUp() 295 zcontext_.avail_in -= count; in BackUp() 298 return zcontext_.total_in + zcontext_.avail_in; in ByteCount() [all …]
|
/external/zlib/src/test/ |
D | infcover.c | 294 strm.avail_in = 0; in inf() 314 strm.avail_in = step; in inf() 338 have += strm.avail_in; in inf() 339 strm.avail_in = step > have ? have : step; in inf() 340 have -= strm.avail_in; in inf() 341 } while (strm.avail_in); in inf() 356 strm.avail_in = 0; in cover_support() 374 strm.avail_in = 0; in cover_support() 380 strm.avail_in = 0; in cover_support() 414 strm.avail_in = 0; in cover_wrap() [all …]
|
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 = len - 3; [all …]
|
/external/zlib/src/examples/ |
D | zran.c | 158 strm.avail_in = 0; in build_index() 172 strm.avail_in = fread(input, 1, CHUNK, in); in build_index() 177 if (strm.avail_in == 0) { in build_index() 193 totin += strm.avail_in; in build_index() 196 totin -= strm.avail_in; in build_index() 224 } while (strm.avail_in != 0); in build_index() 272 strm.avail_in = 0; in extract() 292 strm.avail_in = 0; in extract() 314 if (strm.avail_in == 0) { in extract() 315 strm.avail_in = fread(input, 1, CHUNK, in); in extract() [all …]
|
D | zpipe.c | 54 strm.avail_in = fread(in, 1, CHUNK, source); in def() 75 assert(strm.avail_in == 0); /* all input will be used */ in def() 104 strm.avail_in = 0; in inf() 112 strm.avail_in = fread(in, 1, CHUNK, source); in inf() 117 if (strm.avail_in == 0) in inf()
|
/external/zlib/src/contrib/pascal/ |
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 := len - 3; [all …]
|
/external/zlib/src/contrib/delphi/ |
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 = 0 then [all …]
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_lzma.c | 143 sp->stream.avail_in = (size_t) tif->tif_rawcc; in LZMAPreDecode() 144 if ((tmsize_t)sp->stream.avail_in != tif->tif_rawcc) { in LZMAPreDecode() 175 sp->stream.avail_in = (size_t) tif->tif_rawcc; in LZMADecode() 191 size_t avail_in = sp->stream.avail_in; in LZMADecode() local 206 sp->stream.avail_in = avail_in; in LZMADecode() 224 tif->tif_rawcc = sp->stream.avail_in; in LZMADecode() 282 sp->stream.avail_in = (size_t) cc; in LZMAEncode() 283 if ((tmsize_t)sp->stream.avail_in != cc) { in LZMAEncode() 302 } while (sp->stream.avail_in > 0); in LZMAEncode() 317 sp->stream.avail_in = 0; in LZMAPostEncode()
|
D | tif_zip.c | 133 assert(sizeof(sp->stream.avail_in)==4); /* if this assert gets raised, in ZIPPreDecode() 137 sp->stream.avail_in = (uInt) tif->tif_rawcc; in ZIPPreDecode() 138 if ((tmsize_t)sp->stream.avail_in != tif->tif_rawcc) in ZIPPreDecode() 157 sp->stream.avail_in = (uInt) tif->tif_rawcc; in ZIPDecode() 196 tif->tif_rawcc = sp->stream.avail_in; in ZIPDecode() 264 assert(sizeof(sp->stream.avail_in)==4); /* if this assert gets raised, in ZIPEncode() 268 sp->stream.avail_in = (uInt) cc; in ZIPEncode() 269 if ((tmsize_t)sp->stream.avail_in != cc) in ZIPEncode() 286 } while (sp->stream.avail_in > 0); in ZIPEncode() 301 sp->stream.avail_in = 0; in ZIPPostEncode()
|
/external/squashfs-tools/squashfs-tools/ |
D | lzma_xz_wrapper.c | 58 strm.avail_in = size; in lzma_compress() 128 strm.avail_in = LZMA_HEADER_SIZE; in lzma_uncompress() 132 if(res != LZMA_OK || strm.avail_in != 0) { in lzma_uncompress() 138 strm.avail_in = size - LZMA_HEADER_SIZE; in lzma_uncompress() 144 strm.total_out >= uncompressed_size && strm.avail_in == 0)) in lzma_uncompress()
|
/external/pdfium/third_party/libtiff/ |
D | tif_zip.c | 135 assert(sizeof(sp->stream.avail_in)==4); /* if this assert gets raised, in ZIPPreDecode() 139 sp->stream.avail_in = (uInt) tif->tif_rawcc; in ZIPPreDecode() 140 if ((tmsize_t)sp->stream.avail_in != tif->tif_rawcc) in ZIPPreDecode() 159 sp->stream.avail_in = (uInt) tif->tif_rawcc; in ZIPDecode() 198 tif->tif_rawcc = sp->stream.avail_in; in ZIPDecode() 266 assert(sizeof(sp->stream.avail_in)==4); /* if this assert gets raised, in ZIPEncode() 270 sp->stream.avail_in = (uInt) cc; in ZIPEncode() 271 if ((tmsize_t)sp->stream.avail_in != cc) in ZIPEncode() 289 } while (sp->stream.avail_in > 0); in ZIPEncode() 304 sp->stream.avail_in = 0; in ZIPPostEncode()
|
/external/skia/tests/ |
D | PDFDeflateWStreamTest.cpp | 44 flateData.avail_in = 0; in stream_inflate() 57 flateData.avail_in = 0; in stream_inflate() 60 flateData.avail_in = SkToUInt(inputLength); in stream_inflate() 75 if (flateData.avail_in == 0) { in stream_inflate() 82 flateData.avail_in = SkToUInt(read); in stream_inflate()
|
/external/libvncserver/libvncserver/ |
D | zrleoutstream.c | 108 os->zs.avail_in = ZRLE_BUFFER_LENGTH (&os->in); in zrleOutStreamFlush() 111 rfbLog("zrleOutStreamFlush: avail_in %d\n", os->zs.avail_in); in zrleOutStreamFlush() 114 while (os->zs.avail_in != 0) { in zrleOutStreamFlush() 129 os->zs.avail_in, os->zs.avail_out); in zrleOutStreamFlush() 160 os->zs.avail_in = ZRLE_BUFFER_LENGTH (&os->in); in zrleOutStreamOverrun() 176 os->zs.avail_in, os->zs.avail_out); in zrleOutStreamOverrun() 194 if (os->zs.avail_in == 0) { in zrleOutStreamOverrun()
|