Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/zlib/test/
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 Dinfcover.c171 strm->zalloc = mem_alloc; in mem_setup()
232 strm->zalloc = Z_NULL; in mem_done()
/freebsd/sys/contrib/zstd/zlibWrapper/examples/
H A Dexample.c97 static alloc_func zalloc = myalloc; variable
102 static alloc_func zalloc = (alloc_func)0; variable
233 c_stream.zalloc = zalloc;
272 d_stream.zalloc = zalloc;
311 c_stream.zalloc = zalloc;
368 d_stream.zalloc = zalloc;
408 c_stream.zalloc = zalloc;
447 d_stream.zalloc = zalloc;
489 c_stream.zalloc = zalloc;
528 d_stream.zalloc = zalloc;
H A Dexample_original.c89 static alloc_func zalloc = myalloc; variable
94 static alloc_func zalloc = (alloc_func)0; variable
225 c_stream.zalloc = zalloc;
264 d_stream.zalloc = zalloc;
303 c_stream.zalloc = zalloc;
360 d_stream.zalloc = zalloc;
400 c_stream.zalloc = zalloc;
439 d_stream.zalloc = zalloc;
481 c_stream.zalloc = zalloc;
520 d_stream.zalloc = zalloc;
H A Dfitblk_original.c148 def.zalloc = Z_NULL; in main()
180 inf.zalloc = Z_NULL; in main()
H A Dfitblk.c163 def.zalloc = Z_NULL; in main()
197 inf.zalloc = Z_NULL; in main()
H A Dzwrapbench.c311 def.zalloc = Z_NULL; in BMK_benchMem()
355 def.zalloc = Z_NULL; in BMK_benchMem()
456 inf.zalloc = Z_NULL; in BMK_benchMem()
496 inf.zalloc = Z_NULL; in BMK_benchMem()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzmod.c71 zs.zalloc = zfs_zcalloc; in z_uncompress()
104 zs.zalloc = zfs_zcalloc; in z_compress_level()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zlib.c54 stream->zalloc = zcalloc; in zlib_deflateInit()
76 stream->zalloc = zcalloc; in zlib_inflateInit()
/freebsd/crypto/openssl/crypto/comp/
H A Dc_zlib.c131 state->istream.zalloc = zlib_zalloc; in zlib_stateful_init()
140 state->ostream.zalloc = zlib_zalloc; in zlib_stateful_init()
330 ctx->zin.zalloc = Z_NULL; in bio_zlib_new()
332 ctx->zout.zalloc = Z_NULL; in bio_zlib_new()
/freebsd/sys/cddl/boot/zfs/
H A Dgzip.c64 zs.zalloc = zfs_zcalloc; in z_uncompress()
/freebsd/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_comp_zlib.c74 z.zalloc = Z_NULL; in main()
H A Dh_comp_zlib_rnd.c78 z.zalloc = Z_NULL; in main()
/freebsd/sys/contrib/zlib/
H A Dcompress.c32 stream.zalloc = (alloc_func)0; in compress2()
H A Duncompr.c47 stream.zalloc = (alloc_func)0; in uncompress2()
H A Dzutil.h246 (*((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_()
/freebsd/contrib/diff/src/
H A Ddiff.h359 void *zalloc (size_t);
H A Danalyze.c395 p = zalloc (filevec[0].equiv_max * (2 * sizeof *p)); in discard_confusing_lines()
406 discarded[0] = zalloc (filevec[0].buffered_lines in discard_confusing_lines()
870 char *flag_space = zalloc (s); in diff_2_files()
/freebsd/sys/dev/random/
H A Dunit_test.c94 c_stream.zalloc = myalloc; in block_deflate()
/freebsd/usr.sbin/ppp/
H A Ddeflate.c496 state->cx.zalloc = NULL; in DeflateInitInput()
519 state->cx.zalloc = NULL; in DeflateInitOutput()
/freebsd/sys/opencrypto/
H A Dcryptodeflate.c125 zbuf.zalloc = crypto_zalloc; in deflate_global()
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c109 void* address = strm->zalloc(strm->opaque, 1, (uInt)size); in ZWRAP_allocFunction()
186 if (strm->zalloc && strm->zfree) { in ZWRAP_createCCtx()
546 if (strm->zalloc && strm->zfree) { in ZWRAP_createDCtx()
/freebsd/stand/libsa/
H A DMakefile18 random.c sbrk.c tslog.c twiddle.c zalloc.c zalloc_malloc.c

12