Searched defs:zalloc (Results 1 - 2 of 2) sorted by relevance

/ast/src/lib/libz/
H A Dzlib.h94 alloc_func zalloc; /* used to allocate the internal state */ member in struct:z_stream_s
96 voidpf opaque; /* private data object passed to zalloc and zfree */
131 has dropped to zero. The application must initialize zalloc, zfree and
136 parameter for calls of zalloc and zfree. This can be useful for custom
140 zalloc must return Z_NULL if there is not enough memory for the object.
141 If zlib is used in a multi-threaded application, zalloc and zfree must be
144 On 16-bit systems, the functions zalloc and zfree must be able to allocate
147 pointers returned by zalloc for objects of exactly 65536 bytes *must*
205 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
223 zalloc, zfre
[all...]
/ast/src/cmd/INIT/
H A Dratz.c517 alloc_func zalloc; /* used to allocate the internal state */ member in struct:z_stream_s
519 voidpf opaque; /* private data object passed to zalloc and zfree */
573 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
805 (*((strm)->zalloc))((strm)->opaque, (items), (size))
2383 if (strm->zalloc == (alloc_func)0) {
2384 strm->zalloc = zcalloc;
3555 source->zalloc == (alloc_func)0 || source->zfree == (free_func)0)
3693 s->stream.zalloc = (alloc_func)0;

Completed in 23 milliseconds