Lines Matching defs:zalloc
80 alloc_func zalloc; /* used to allocate the internal state */
82 voidpf opaque; /* private data object passed to zalloc and zfree */
94 has dropped to zero. The application must initialize zalloc, zfree and
99 parameter for calls of zalloc and zfree. This can be useful for custom
103 zalloc must return Z_NULL if there is not enough memory for the object.
104 If zlib is used in a multi-threaded application, zalloc and zfree must be
107 On 16-bit systems, the functions zalloc and zfree must be able to allocate
110 pointers returned by zalloc for objects of exactly 65536 bytes *must*
164 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
182 zalloc, zfree and opaque must be initialized before by the caller.
183 If zalloc and zfree are set to Z_NULL, deflateInit updates them to
297 next_in, avail_in, zalloc, zfree and opaque must be initialized before by
302 inflate. If zalloc and zfree are set to Z_NULL, inflateInit updates them to
409 fields next_in, zalloc, zfree and opaque must be initialized before by
494 (such as zalloc being NULL). msg is left unchanged in both source and
506 stream state was inconsistent (such as zalloc or state being NULL).
535 fields next_in, avail_in, zalloc, zfree and opaque must be initialized
594 stream state was inconsistent (such as zalloc or state being NULL).