Home
last modified time | relevance | path

Searched refs:zalloc (Results 1 – 25 of 42) sorted by relevance

12

/openbsd-src/regress/lib/libz/
H A Dexample.c49 static alloc_func zalloc = myalloc; variable
54 static alloc_func zalloc = (alloc_func)0; variable
171 c_stream.zalloc = zalloc; in test_deflate()
208 d_stream.zalloc = zalloc; in test_inflate()
245 c_stream.zalloc = zalloc; in test_large_deflate()
300 d_stream.zalloc = zalloc; in test_large_inflate()
337 c_stream.zalloc = zalloc; in test_flush()
374 d_stream.zalloc = zalloc; in test_sync()
412 c_stream.zalloc = zalloc; in test_dict_deflate()
449 d_stream.zalloc = zalloc; in test_dict_inflate()
H A Dutils_unittest.cc63 comp_strm.zalloc = Z_NULL; in TEST()
77 decomp_strm.zalloc = Z_NULL; in TEST()
140 stream.zalloc = Z_NULL; in TEST()
214 stream.zalloc = Z_NULL; in TEST()
341 stream.zalloc = Z_NULL; in TEST()
466 stream.zalloc = Z_NULL; in TEST()
943 stream.zalloc = Z_NULL; in TEST()
1644 stream.zalloc = Z_NULL; in TEST()
H A Dinfcover.c171 strm->zalloc = mem_alloc; in mem_setup()
232 strm->zalloc = Z_NULL; in mem_done()
H A Dminigzip.c178 gz->strm.zalloc = myalloc; in gz_open()
/openbsd-src/usr.sbin/smtpd/
H A Dcompress_gzip.c51 strm->zalloc = Z_NULL; in compress_gzip_chunk()
83 strm->zalloc = Z_NULL; in uncompress_gzip_chunk()
/openbsd-src/lib/libz/
H A Dcompress.c30 stream.zalloc = (alloc_func)0; in compress2()
H A Duncompr.c45 stream.zalloc = (alloc_func)0; in uncompress2()
H A Dzutil.h251 (*((strm)->zalloc))((strm)->opaque, (items), (size))
H A Dinfback.c37 if (strm->zalloc == (alloc_func)0) { in inflateBackInit_()
41 strm->zalloc = zcalloc; in inflateBackInit_()
H A Dinflate.c97 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) in inflateStateCheck()
188 if (strm->zalloc == (alloc_func)0) { in inflateInit2_()
192 strm->zalloc = zcalloc; in inflateInit2_()
H A Dgzread.c93 state->strm.zalloc = Z_NULL; in gz_look()
/openbsd-src/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
H A Dcompress.c32 stream.zalloc = (alloc_func)0; in compress2()
H A Duncompr.c47 stream.zalloc = (alloc_func)0; in uncompress2()
H A Dinfback.c19 strm provides memory allocation functions in zalloc and zfree, or
37 if (strm->zalloc == (alloc_func)0) { in inflateBackInit_()
41 strm->zalloc = zcalloc; in inflateBackInit_()
H A Dzutil.h246 (*((strm)->zalloc))((strm)->opaque, (items), (size))
H A Dinflate.c97 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0)
188 if (strm->zalloc == (alloc_func)0) { in inflateReset2()
192 strm->zalloc = zcalloc; in inflateReset2()
/openbsd-src/sys/lib/libz/
H A Dcompress.c30 stream.zalloc = (alloc_func)0; in compress2()
H A Dzutil.h264 (*((strm)->zalloc))((strm)->opaque, (items), (size))
H A Dinfback.c37 if (strm->zalloc == (alloc_func)0) { in inflateBackInit_()
41 strm->zalloc = zcalloc; in inflateBackInit_()
H A Dinflate.c97 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) in inflateStateCheck()
188 if (strm->zalloc == (alloc_func)0) { in inflateInit2_()
192 strm->zalloc = zcalloc; in inflateInit2_()
H A Dzlib.h98 alloc_func zalloc; /* used to allocate the internal state */ member
100 voidpf opaque; /* private data object passed to zalloc and zfree */
136 to zero. The application must initialize zalloc, zfree and opaque before
141 parameter for calls of zalloc and zfree. This can be useful for custom
145 zalloc must return Z_NULL if there is not enough memory for the object.
146 If zlib is used in a multi-threaded application, zalloc and zfree must be
147 thread safe. In that case, zlib is thread-safe. When zalloc and zfree are
151 On 16-bit systems, the functions zalloc and zfree must be able to allocate
154 returned by zalloc for objects of exactly 65536 bytes *must* have their
212 #define Z_NULL 0 /* for initializing zalloc, zfre
[all...]
/openbsd-src/sys/crypto/
H A Dxform_ipcomp.c74 zbuf.zalloc = zcalloc; in deflate_global()
/openbsd-src/usr.bin/compress/
H A Dgzopen.c114 s->z_stream.zalloc = (alloc_func)0; in gz_ropen()
392 s->z_stream.zalloc = (alloc_func)0; in gz_wopen()
/openbsd-src/sys/net/
H A Dppp-deflate.c165 state->strm.zalloc = zcalloc; in z_comp_alloc()
386 state->strm.zalloc = zcalloc; in z_decomp_alloc()
/openbsd-src/usr.bin/ctfconv/
H A Dgenerate.c446 stream.zalloc = Z_NULL; in data_compress()

12