Searched refs:ZLIB_IO_MAX (Results 1 - 12 of 12) sorted by relevance

/external/libpng/
H A Dpngstruct.h55 #ifndef ZLIB_IO_MAX
56 # define ZLIB_IO_MAX ((uInt)-1) macro
H A Dpngset.c1532 if (size > ZLIB_IO_MAX)
1536 size = ZLIB_IO_MAX; /* must fit */
H A Dpngwutil.c510 * uInt. Use ZLIB_IO_MAX to limit the input. The output is always limited
530 uInt avail_in = ZLIB_IO_MAX;
969 uInt avail = ZLIB_IO_MAX;
H A Dpngrutil.c489 * zlib. This code uses ZLIB_IO_MAX, from pngpriv.h, as the maximum (the
491 * ZLIB_IO_MAX to a lower value in pngpriv.h and this may sometimes have
517 * every ZLIB_IO_MAX input bytes.
521 avail = ZLIB_IO_MAX;
524 avail = (uInt)avail_in; /* safe: < than ZLIB_IO_MAX */
532 avail = ZLIB_IO_MAX; /* maximum zlib can process */
545 avail = (uInt)avail_out; /* safe: < ZLIB_IO_MAX */
793 uInt avail = ZLIB_IO_MAX;
4051 uInt out = ZLIB_IO_MAX;
/external/pdfium/third_party/lpng_v163/
H A Dpngstruct.h56 #ifndef ZLIB_IO_MAX
57 # define ZLIB_IO_MAX ((uInt)-1) macro
H A Dpngset.c1483 if (size > ZLIB_IO_MAX)
1487 size = ZLIB_IO_MAX; /* must fit */
H A Dpngrutil.c455 * zlib. This code uses ZLIB_IO_MAX, from pngpriv.h, as the maximum (the
457 * ZLIB_IO_MAX to a lower value in pngpriv.h and this may sometimes have
483 * every ZLIB_IO_MAX input bytes.
487 avail = ZLIB_IO_MAX;
490 avail = (uInt)avail_in; /* safe: < than ZLIB_IO_MAX */
498 avail = ZLIB_IO_MAX; /* maximum zlib can process */
511 avail = (uInt)avail_out; /* safe: < ZLIB_IO_MAX */
759 uInt avail = ZLIB_IO_MAX;
3986 uInt out = ZLIB_IO_MAX;
H A Dpngwutil.c509 * uInt. Use ZLIB_IO_MAX to limit the input. The output is always limited
529 uInt avail_in = ZLIB_IO_MAX;
1046 uInt avail = ZLIB_IO_MAX;
/external/opencv3/3rdparty/libpng/
H A Dpngset.c1214 if (size > ZLIB_IO_MAX)
1217 png_ptr->zbuf_size = ZLIB_IO_MAX;
1218 size = ZLIB_IO_MAX; /* must fit */
H A Dpngpriv.h562 #ifndef ZLIB_IO_MAX
563 # define ZLIB_IO_MAX ((uInt)-1) macro
H A Dpngwutil.c3112 * maximum size zlib can write at once is ZLIB_IO_MAX (from pngpriv.h).
3115 * uInt. ZLIB_IO_MAX can be safely reduced to cause zlib to be called
3120 if (avail > ZLIB_IO_MAX)
3122 png_ptr->zstream.avail_in = ZLIB_IO_MAX;
3123 avail -= ZLIB_IO_MAX;
H A Dpngrutil.c290 * code uses ZLIB_IO_MAX, from pngpriv.h, as the maximum (the maximum value
291 * that can be stored in a uInt.) It is possible to set ZLIB_IO_MAX to a
308 * window save (memcpy of up to 32768 output bytes) every ZLIB_IO_MAX
313 if (size <= ZLIB_IO_MAX)
315 /* The value is less than ZLIB_IO_MAX so the cast is safe: */
322 png_ptr->zstream.avail_in = ZLIB_IO_MAX;
323 size -= ZLIB_IO_MAX;

Completed in 726 milliseconds