HomeSort by relevance Sort by last modified time
    Searched refs:zstream (Results 1 - 25 of 38) sorted by null

1 2

  /external/syslinux/com32/libupload/
zout.c 21 memset(&be->zstream, 0, sizeof be->zstream);
23 be->zstream.next_out = NULL;
25 be->zstream.avail_out = be->alloc = 0;
29 if (deflateInit2(&be->zstream, 9, Z_DEFLATED,
42 rv = deflate(&be->zstream, flush);
43 be->zbytes = be->alloc - be->zstream.avail_out;
44 if (be->zstream.avail_out)
52 be->zstream.next_out = (void *)(buf + be->zbytes);
53 be->zstream.avail_out = be->alloc - be->zbytes
    [all...]
upload_backend.h 27 z_stream zstream; member in struct:upload_backend
  /external/freetype/src/gzip/
ftgzip.c 186 z_stream zstream; /* zlib input stream */ member in struct:FT_GZipFileRec_
288 z_stream* zstream = &zip->zstream; local
312 zstream->zalloc = (alloc_func)ft_gzip_alloc;
313 zstream->zfree = (free_func) ft_gzip_free;
314 zstream->opaque = stream->memory;
316 zstream->avail_in = 0;
317 zstream->next_in = zip->buffer;
319 if ( inflateInit2( zstream, -MAX_WBITS ) != Z_OK ||
320 !zstream->next_in
331 z_stream* zstream = &zip->zstream; local
360 z_stream* zstream = &zip->zstream; local
382 z_stream* zstream = &zip->zstream; local
423 z_stream* zstream = &zip->zstream; local
    [all...]
  /frameworks/base/libs/androidfw/
ZipUtils.cpp 59 z_stream zstream; local
71 memset(&zstream, 0, sizeof(zstream));
72 zstream.zalloc = Z_NULL;
73 zstream.zfree = Z_NULL;
74 zstream.opaque = Z_NULL;
75 zstream.next_in = NULL;
76 zstream.avail_in = 0;
77 zstream.next_out = (Bytef*) buf;
78 zstream.avail_out = uncompressedLen
    [all...]
  /system/core/libziparchive/
zip_archive.cc 908 z_stream zstream; local
914 memset(&zstream, 0, sizeof(zstream));
915 zstream.zalloc = Z_NULL;
916 zstream.zfree = Z_NULL;
917 zstream.opaque = Z_NULL;
918 zstream.next_in = NULL;
919 zstream.avail_in = 0;
920 zstream.next_out = &write_buf[0];
921 zstream.avail_out = kBufSize
    [all...]
  /frameworks/base/tools/aapt/
ZipFile.cpp 747 z_stream zstream; local
765 memset(&zstream, 0, sizeof(zstream));
766 zstream.zalloc = Z_NULL;
767 zstream.zfree = Z_NULL;
768 zstream.opaque = Z_NULL;
769 zstream.next_in = NULL;
770 zstream.avail_in = 0;
771 zstream.next_out = outBuf;
772 zstream.avail_out = kBufSize
    [all...]
  /external/skia/third_party/libpng/
pngwutil.c 305 /* So the message that results is "<chunk> using zstream"; this is an
309 (void)png_safecat(msg, (sizeof msg), 10, " using zstream");
317 png_ptr->zstream.msg = PNGZ_MSG_CAST("in use by IDAT");
396 if (deflateEnd(&png_ptr->zstream) != Z_OK)
405 png_ptr->zstream.next_in = NULL;
406 png_ptr->zstream.avail_in = 0;
407 png_ptr->zstream.next_out = NULL;
408 png_ptr->zstream.avail_out = 0;
414 ret = deflateReset(&png_ptr->zstream);
418 ret = deflateInit2(&png_ptr->zstream, level, method, windowBits
    [all...]
pngrutil.c 332 /* png_inflate_claim: claim the zstream for some nefarious purpose that involves
345 /* So the message that results is "<chunk> using zstream"; this is an
349 (void)png_safecat(msg, (sizeof msg), 4, " using zstream");
398 png_ptr->zstream.next_in = NULL;
399 png_ptr->zstream.avail_in = 0;
400 png_ptr->zstream.next_out = NULL;
401 png_ptr->zstream.avail_out = 0;
406 ret = inflateReset(&png_ptr->zstream);
408 ret = inflateReset2(&png_ptr->zstream, window_bits);
415 ret = inflateInit(&png_ptr->zstream);
    [all...]
pngpread.c 264 png_ptr->zstream.avail_out =
267 png_ptr->zstream.next_out = png_ptr->row_buf;
643 png_ptr->zstream.next_in = buffer;
645 png_ptr->zstream.avail_in = (uInt)buffer_length;
650 while (png_ptr->zstream.avail_in > 0 &&
660 if (!(png_ptr->zstream.avail_out > 0))
663 png_ptr->zstream.avail_out = (uInt)(PNG_ROWBYTES(png_ptr->pixel_depth,
666 png_ptr->zstream.next_out = png_ptr->row_buf;
700 if (png_ptr->zstream.next_out != png_ptr->row_buf)
721 if (png_ptr->zstream.avail_out == 0
    [all...]
png.c 304 /* png_ptr->zstream holds a back-pointer to the png_struct, so
307 create_struct.zstream.zalloc = png_zalloc;
308 create_struct.zstream.zfree = png_zfree;
309 create_struct.zstream.opaque = png_ptr;
945 return (inflateReset(&png_ptr->zstream));
958 /* Ensure that png_ptr->zstream.msg holds some appropriate error message string.
966 * one in zstream if set. This always returns a string, even in cases like
969 if (png_ptr->zstream.msg == NULL) switch (ret)
973 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected zlib return code");
978 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected end of LZ stream")
    [all...]
  /external/syslinux/com32/lib/libpng/
pngpread.c 334 png_ptr->zstream.avail_out =
337 png_ptr->zstream.next_out = png_ptr->row_buf;
843 png_ptr->zstream.next_in = buffer;
844 png_ptr->zstream.avail_in = (uInt)buffer_length;
849 while (png_ptr->zstream.avail_in > 0 &&
859 if (!(png_ptr->zstream.avail_out > 0))
861 png_ptr->zstream.avail_out =
864 png_ptr->zstream.next_out = png_ptr->row_buf;
874 ret = inflate(&png_ptr->zstream, Z_SYNC_FLUSH);
896 if (png_ptr->zstream.next_out != png_ptr->row_buf
    [all...]
pngread.c 160 png_ptr->zstream.zalloc = png_zalloc;
161 png_ptr->zstream.zfree = png_zfree;
162 png_ptr->zstream.opaque = (voidpf)png_ptr;
164 switch (inflateInit(&png_ptr->zstream))
176 png_ptr->zstream.next_out = png_ptr->zbuf;
177 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
322 png_ptr->zstream.zalloc = png_zalloc;
325 png_ptr->zstream.zalloc = png_zalloc;
326 png_ptr->zstream.zfree = png_zfree;
327 png_ptr->zstream.opaque = (voidpf)png_ptr
    [all...]
pngwutil.c 222 png_ptr->zstream.avail_in = (uInt)text_len;
223 png_ptr->zstream.next_in = (Bytef *)text;
224 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
225 png_ptr->zstream.next_out = (Bytef *)png_ptr->zbuf;
231 ret = deflate(&png_ptr->zstream, Z_NO_FLUSH);
235 if (png_ptr->zstream.msg != NULL)
236 png_error(png_ptr, png_ptr->zstream.msg);
241 if (!(png_ptr->zstream.avail_out))
277 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
278 png_ptr->zstream.next_out = png_ptr->zbuf
    [all...]
pngrutil.c 227 png_ptr->zstream.next_in = (png_bytep)data; /* const_cast: VALID */
228 png_ptr->zstream.avail_in = size;
237 png_ptr->zstream.next_out = png_ptr->zbuf;
238 png_ptr->zstream.avail_out = png_ptr->zbuf_size;
240 ret = inflate(&png_ptr->zstream, Z_NO_FLUSH);
241 avail = png_ptr->zbuf_size - png_ptr->zstream.avail_out;
260 /* Termination conditions - always reset the zstream, it
263 png_ptr->zstream.avail_in = 0;
264 inflateReset(&png_ptr->zstream);
275 if (png_ptr->zstream.msg != 0
    [all...]
pngwrite.c 1000 ret = deflate(&png_ptr->zstream, Z_SYNC_FLUSH);
1006 if (png_ptr->zstream.msg != NULL)
1007 png_error(png_ptr, png_ptr->zstream.msg);
1012 if (!(png_ptr->zstream.avail_out))
1017 png_ptr->zstream.next_out = png_ptr->zbuf;
1018 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
    [all...]
  /external/libpng/
pngwutil.c 305 /* So the message that results is "<chunk> using zstream"; this is an
309 (void)png_safecat(msg, (sizeof msg), 10, " using zstream");
317 png_ptr->zstream.msg = PNGZ_MSG_CAST("in use by IDAT");
396 if (deflateEnd(&png_ptr->zstream) != Z_OK)
405 png_ptr->zstream.next_in = NULL;
406 png_ptr->zstream.avail_in = 0;
407 png_ptr->zstream.next_out = NULL;
408 png_ptr->zstream.avail_out = 0;
414 ret = deflateReset(&png_ptr->zstream);
418 ret = deflateInit2(&png_ptr->zstream, level, method, windowBits
    [all...]
pngrutil.c 332 /* png_inflate_claim: claim the zstream for some nefarious purpose that involves
345 /* So the message that results is "<chunk> using zstream"; this is an
349 (void)png_safecat(msg, (sizeof msg), 4, " using zstream");
398 png_ptr->zstream.next_in = NULL;
399 png_ptr->zstream.avail_in = 0;
400 png_ptr->zstream.next_out = NULL;
401 png_ptr->zstream.avail_out = 0;
406 ret = inflateReset(&png_ptr->zstream);
408 ret = inflateReset2(&png_ptr->zstream, window_bits);
415 ret = inflateInit(&png_ptr->zstream);
    [all...]
pngpread.c 266 png_ptr->zstream.avail_out =
269 png_ptr->zstream.next_out = png_ptr->row_buf;
637 png_ptr->zstream.next_in = buffer;
639 png_ptr->zstream.avail_in = (uInt)buffer_length;
644 while (png_ptr->zstream.avail_in > 0 &&
654 if (!(png_ptr->zstream.avail_out > 0))
657 png_ptr->zstream.avail_out = (uInt)(PNG_ROWBYTES(png_ptr->pixel_depth,
660 png_ptr->zstream.next_out = png_ptr->row_buf;
699 if (png_ptr->zstream.next_out != png_ptr->row_buf)
720 if (png_ptr->zstream.avail_out == 0
    [all...]
png.c 304 /* png_ptr->zstream holds a back-pointer to the png_struct, so
307 create_struct.zstream.zalloc = png_zalloc;
308 create_struct.zstream.zfree = png_zfree;
309 create_struct.zstream.opaque = png_ptr;
945 return (inflateReset(&png_ptr->zstream));
958 /* Ensure that png_ptr->zstream.msg holds some appropriate error message string.
966 * one in zstream if set. This always returns a string, even in cases like
969 if (png_ptr->zstream.msg == NULL) switch (ret)
973 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected zlib return code");
978 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected end of LZ stream")
    [all...]
pngstruct.h 182 png_uint_32 zowner; /* ID (chunk type) of zstream owner, 0 if none */
183 z_stream zstream; /* decompression structure */ member in struct:png_struct_def
206 int zlib_set_level; /* Actual values set into the zstream on write */
  /external/pdfium/third_party/libpng16/
pngwutil.c 305 /* So the message that results is "<chunk> using zstream"; this is an
309 (void)png_safecat(msg, (sizeof msg), 10, " using zstream");
317 png_ptr->zstream.msg = PNGZ_MSG_CAST("in use by IDAT");
396 if (deflateEnd(&png_ptr->zstream) != Z_OK)
405 png_ptr->zstream.next_in = NULL;
406 png_ptr->zstream.avail_in = 0;
407 png_ptr->zstream.next_out = NULL;
408 png_ptr->zstream.avail_out = 0;
414 ret = deflateReset(&png_ptr->zstream);
418 ret = deflateInit2(&png_ptr->zstream, level, method, windowBits
    [all...]
pngrutil.c 332 /* png_inflate_claim: claim the zstream for some nefarious purpose that involves
345 /* So the message that results is "<chunk> using zstream"; this is an
349 (void)png_safecat(msg, (sizeof msg), 4, " using zstream");
398 png_ptr->zstream.next_in = NULL;
399 png_ptr->zstream.avail_in = 0;
400 png_ptr->zstream.next_out = NULL;
401 png_ptr->zstream.avail_out = 0;
406 ret = inflateReset(&png_ptr->zstream);
408 ret = inflateReset2(&png_ptr->zstream, window_bits);
415 ret = inflateInit(&png_ptr->zstream);
    [all...]
pngpread.c 266 png_ptr->zstream.avail_out =
269 png_ptr->zstream.next_out = png_ptr->row_buf;
634 png_ptr->zstream.next_in = buffer;
636 png_ptr->zstream.avail_in = (uInt)buffer_length;
641 while (png_ptr->zstream.avail_in > 0 &&
651 if (!(png_ptr->zstream.avail_out > 0))
654 png_ptr->zstream.avail_out = (uInt)(PNG_ROWBYTES(png_ptr->pixel_depth,
657 png_ptr->zstream.next_out = png_ptr->row_buf;
691 if (png_ptr->zstream.next_out != png_ptr->row_buf)
712 if (png_ptr->zstream.avail_out == 0
    [all...]
png.c 304 /* png_ptr->zstream holds a back-pointer to the png_struct, so
307 create_struct.zstream.zalloc = png_zalloc;
308 create_struct.zstream.zfree = png_zfree;
309 create_struct.zstream.opaque = png_ptr;
945 return (inflateReset(&png_ptr->zstream));
958 /* Ensure that png_ptr->zstream.msg holds some appropriate error message string.
966 * one in zstream if set. This always returns a string, even in cases like
969 if (png_ptr->zstream.msg == NULL) switch (ret)
973 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected zlib return code");
978 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected end of LZ stream")
    [all...]
pngstruct.h 182 png_uint_32 zowner; /* ID (chunk type) of zstream owner, 0 if none */
183 z_stream zstream; /* decompression structure */ member in struct:png_struct_def
206 int zlib_set_level; /* Actual values set into the zstream on write */

Completed in 511 milliseconds

1 2