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

/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngset.c1175 if (size > ZLIB_IO_MAX)
1178 png_ptr->zbuf_size = ZLIB_IO_MAX;
1179 size = ZLIB_IO_MAX; /* must fit */
H A Dpngpriv.h400 #ifndef ZLIB_IO_MAX
401 # define ZLIB_IO_MAX ((uInt)-1) macro
H A Dpngrutil.c319 * code uses ZLIB_IO_MAX, from pngpriv.h, as the maximum (the maximum value
320 * that can be stored in a uInt.) It is possible to set ZLIB_IO_MAX to a
337 * window save (memcpy of up to 32768 output bytes) every ZLIB_IO_MAX
342 if (size <= ZLIB_IO_MAX)
344 /* The value is less than ZLIB_IO_MAX so the cast is safe: */
351 png_ptr->zstream.avail_in = ZLIB_IO_MAX;
352 size -= ZLIB_IO_MAX;
H A Dpngwutil.c3140 * maximum size zlib can write at once is ZLIB_IO_MAX (from pngpriv.h).
3143 * uInt. ZLIB_IO_MAX can be safely reduced to cause zlib to be called
3148 if (avail > ZLIB_IO_MAX)
3150 png_ptr->zstream.avail_in = ZLIB_IO_MAX;
3151 avail -= ZLIB_IO_MAX;

Completed in 185 milliseconds