Lines Matching refs:zalloc
287 alloc_func zalloc; /* used to allocate the internal state */
289 voidpf opaque; /* private data object passed to zalloc and zfree */
301 has dropped to zero. The application must initialize zalloc, zfree and
306 parameter for calls of zalloc and zfree. This can be useful for custom
310 zalloc must return Z_NULL if there is not enough memory for the object.
311 On 16-bit systems, the functions zalloc and zfree must be able to allocate
314 pointers returned by zalloc for objects of exactly 65536 bytes *must*
369 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
387 zalloc, zfree and opaque must be initialized before by the caller.
388 If zalloc and zfree are set to Z_NULL, deflateInit updates them to
499 zalloc, zfree and opaque must be initialized before by the caller. If
500 zalloc and zfree are set to Z_NULL, inflateInit updates them to use default
595 fields next_in, zalloc, zfree and opaque must be initialized before by
693 (such as zalloc being NULL). msg is left unchanged in both source and
705 stream state was inconsistent (such as zalloc or state being NULL).
738 fields next_out, zalloc, zfree and opaque must be initialized before by
809 stream state was inconsistent (such as zalloc or state being NULL).