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

1 2

  /external/freetype/src/gzip/
ftgzip.c 174 z_stream zstream; /* zlib input stream */ member in struct:FT_GZipFileRec_
276 z_stream* zstream = &zip->zstream; local
300 zstream->zalloc = (alloc_func)ft_gzip_alloc;
301 zstream->zfree = (free_func) ft_gzip_free;
302 zstream->opaque = stream->memory;
304 zstream->avail_in = 0;
305 zstream->next_in = zip->buffer;
307 if ( inflateInit2( zstream, -MAX_WBITS ) != Z_OK ||
308 zstream->next_in == NULL
319 z_stream* zstream = &zip->zstream; local
348 z_stream* zstream = &zip->zstream; local
370 z_stream* zstream = &zip->zstream; local
411 z_stream* zstream = &zip->zstream; local
    [all...]
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/gzip/
ftgzip.c 174 z_stream zstream; /* zlib input stream */ member in struct:FT_GZipFileRec_
276 z_stream* zstream = &zip->zstream; local
300 zstream->zalloc = (alloc_func)ft_gzip_alloc;
301 zstream->zfree = (free_func) ft_gzip_free;
302 zstream->opaque = stream->memory;
304 zstream->avail_in = 0;
305 zstream->next_in = zip->buffer;
307 if ( inflateInit2( zstream, -MAX_WBITS ) != Z_OK ||
308 zstream->next_in == NULL
319 z_stream* zstream = &zip->zstream; local
348 z_stream* zstream = &zip->zstream; local
370 z_stream* zstream = &zip->zstream; local
411 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...]
  /bootable/recovery/minzip/
Zip.c 510 z_stream zstream; local
519 memset(&zstream, 0, sizeof(zstream));
520 zstream.zalloc = Z_NULL;
521 zstream.zfree = Z_NULL;
522 zstream.opaque = Z_NULL;
523 zstream.next_in = pArchive->addr + pEntry->offset;
524 zstream.avail_in = pEntry->compLen;
525 zstream.next_out = (Bytef*) procBuf;
526 zstream.avail_out = sizeof(procBuf)
    [all...]
  /system/core/libziparchive/
zip_archive.cc 892 z_stream zstream; local
898 memset(&zstream, 0, sizeof(zstream));
899 zstream.zalloc = Z_NULL;
900 zstream.zfree = Z_NULL;
901 zstream.opaque = Z_NULL;
902 zstream.next_in = NULL;
903 zstream.avail_in = 0;
904 zstream.next_out = &write_buf[0];
905 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/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;
632 png_ptr->zstream.next_in = buffer;
634 png_ptr->zstream.avail_in = (uInt)buffer_length;
639 while (png_ptr->zstream.avail_in > 0 &&
649 if (!(png_ptr->zstream.avail_out > 0))
652 png_ptr->zstream.avail_out = (uInt)(PNG_ROWBYTES(png_ptr->pixel_depth,
655 png_ptr->zstream.next_out = png_ptr->row_buf;
689 if (png_ptr->zstream.next_out != png_ptr->row_buf)
710 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 */
pngpriv.h     [all...]
  /external/opencv3/3rdparty/libpng/
pngread.c 113 png_ptr->zstream.zalloc = png_zalloc;
114 png_ptr->zstream.zfree = png_zfree;
115 png_ptr->zstream.opaque = (voidpf)png_ptr;
119 switch (inflateInit(&png_ptr->zstream))
158 png_ptr->zstream.next_out = png_ptr->zbuf;
159 png_ptr->zstream.avail_out = (uInt)png_ptr->zbuf_size;
531 png_ptr->zstream.next_out = png_ptr->row_buf;
532 png_ptr->zstream.avail_out =
538 if (!(png_ptr->zstream.avail_in))
548 png_ptr->zstream.avail_in = (uInt)png_ptr->zbuf_size
    [all...]
pngwutil.c 232 ret = deflateEnd(&png_ptr->zstream);
242 ret = deflateInit2(&png_ptr->zstream,
251 ret = deflateInit2(&png_ptr->zstream, png_ptr->zlib_level,
296 /* Here on success, claim the zstream: */
301 png_error(png_ptr, "zstream already in use (internal error)");
312 int ret = deflateReset(&png_ptr->zstream);
343 if (png_ptr->zstream.msg)
344 err = png_ptr->zstream.msg;
356 png_warning(png_ptr, "zstream not in use (internal error)");
423 png_ptr->zstream.avail_in = (uInt)text_len
    [all...]
pngpread.c 325 png_ptr->zstream.avail_out =
328 png_ptr->zstream.next_out = png_ptr->row_buf;
866 png_ptr->zstream.next_in = buffer;
867 png_ptr->zstream.avail_in = (uInt)buffer_length;
872 while (png_ptr->zstream.avail_in > 0 &&
882 if (!(png_ptr->zstream.avail_out > 0))
884 png_ptr->zstream.avail_out =
888 png_ptr->zstream.next_out = png_ptr->row_buf;
898 ret = inflate(&png_ptr->zstream, Z_SYNC_FLUSH);
921 if (png_ptr->zstream.next_out != png_ptr->row_buf
    [all...]
pngrutil.c 296 png_ptr->zstream.next_in = data;
298 png_ptr->zstream.avail_in = 0;
311 if (png_ptr->zstream.avail_in == 0 && size > 0)
316 png_ptr->zstream.avail_in = (uInt)size;
322 png_ptr->zstream.avail_in = ZLIB_IO_MAX;
330 png_ptr->zstream.next_out = png_ptr->zbuf;
331 png_ptr->zstream.avail_out = png_ptr->zbuf_size;
333 ret = inflate(&png_ptr->zstream, Z_NO_FLUSH);
334 avail = png_ptr->zbuf_size - png_ptr->zstream.avail_out;
358 /* Termination conditions - always reset the zstream, i
    [all...]
pngwrite.c 854 ret = deflate(&png_ptr->zstream, Z_SYNC_FLUSH);
860 if (png_ptr->zstream.msg != NULL)
861 png_error(png_ptr, png_ptr->zstream.msg);
867 if (!(png_ptr->zstream.avail_out))
876 if (png_ptr->zbuf_size != png_ptr->zstream.avail_out)
880 png_ptr->zbuf_size - png_ptr->zstream.avail_out);
972 deflateEnd(&png_ptr->zstream);
    [all...]
pngstruct.h 66 z_stream zstream; /* pointer to decompression structure (below) */ member in struct:png_struct_def
71 /* Added in 1.5.4: state to keep track of whether the zstream has been
pngset.c     [all...]
  /external/pdfium/third_party/lpng_v163/
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");
316 png_ptr->zstream.msg = PNGZ_MSG_CAST("in use by IDAT");
395 if (deflateEnd(&png_ptr->zstream) != Z_OK)
404 png_ptr->zstream.next_in = NULL;
405 png_ptr->zstream.avail_in = 0;
406 png_ptr->zstream.next_out = NULL;
407 png_ptr->zstream.avail_out = 0;
413 ret = deflateReset(&png_ptr->zstream);
417 ret = deflateInit2(&png_ptr->zstream, level, method, windowBits,
    [all...]
pngrutil.c 328 /* png_inflate_claim: claim the zstream for some nefarious purpose that involves
341 /* So the message that results is "<chunk> using zstream"; this is an
345 (void)png_safecat(msg, (sizeof msg), 4, " using zstream");
389 png_ptr->zstream.next_in = NULL;
390 png_ptr->zstream.avail_in = 0;
391 png_ptr->zstream.next_out = NULL;
392 png_ptr->zstream.avail_out = 0;
397 ret = inflateReset(&png_ptr->zstream);
399 ret = inflateReset2(&png_ptr->zstream, window_bits);
406 ret = inflateInit(&png_ptr->zstream);
    [all...]
pngpread.c 304 png_ptr->zstream.avail_out =
307 png_ptr->zstream.next_out = png_ptr->row_buf;
838 png_ptr->zstream.next_in = buffer;
840 png_ptr->zstream.avail_in = (uInt)buffer_length;
845 while (png_ptr->zstream.avail_in > 0 &&
855 if (!(png_ptr->zstream.avail_out > 0))
858 png_ptr->zstream.avail_out = (uInt)(PNG_ROWBYTES(png_ptr->pixel_depth,
861 png_ptr->zstream.next_out = png_ptr->row_buf;
871 ret = inflate(&png_ptr->zstream, Z_SYNC_FLUSH);
895 if (png_ptr->zstream.next_out != png_ptr->row_buf)
    [all...]
png.c 293 /* png_ptr->zstream holds a back-pointer to the png_struct, so
296 create_struct.zstream.zalloc = png_zalloc;
297 create_struct.zstream.zfree = png_zfree;
298 create_struct.zstream.opaque = png_ptr;
878 return (inflateReset(&png_ptr->zstream));
893 /* Ensure that png_ptr->zstream.msg holds some appropriate error message string.
901 * one in zstream if set. This always returns a string, even in cases like
904 if (png_ptr->zstream.msg == NULL) switch (ret)
908 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected zlib return code");
913 png_ptr->zstream.msg = PNGZ_MSG_CAST("unexpected end of LZ stream");
    [all...]
pngstruct.h 183 png_uint_32 zowner; /* ID (chunk type) of zstream owner, 0 if none */
184 z_stream zstream; /* decompression structure */ member in struct:png_struct_def
207 int zlib_set_level; /* Actual values set into the zstream on write */
  /ndk/tests/build/issue20862-libpng-O0/jni/
pngstruct.h 66 z_stream zstream; /* pointer to decompression structure (below) */ member in struct:png_struct_def
71 /* Added in 1.5.4: state to keep track of whether the zstream has been

Completed in 542 milliseconds

1 2