Home
last modified time | relevance | path

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

12345678

/external/rust/crates/libz-sys/src/zlib-ng/test/
Dexample.c45 static alloc_func zalloc = NULL; variable
204 c_stream.zalloc = zalloc; in test_deflate()
242 d_stream.zalloc = zalloc; in test_inflate()
293 c_stream.zalloc = zalloc; in test_large_deflate()
376 d_stream.zalloc = zalloc; in test_large_inflate()
413 c_stream.zalloc = zalloc; in test_flush()
449 d_stream.zalloc = zalloc; in test_sync()
485 c_stream.zalloc = zalloc; in test_dict_deflate()
522 d_stream.zalloc = zalloc; in test_dict_inflate()
580 c_stream.zalloc = zalloc; in test_deflate_bound()
[all …]
/external/zstd/zlibWrapper/examples/
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;
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;
Dfitblk_original.c148 def.zalloc = Z_NULL; in main()
180 inf.zalloc = Z_NULL; in main()
/external/python/cpython2/Modules/zlib/
Dexample.c72 static alloc_func zalloc = myalloc; variable
77 static alloc_func zalloc = (alloc_func)0; variable
208 c_stream.zalloc = zalloc;
247 d_stream.zalloc = zalloc;
286 c_stream.zalloc = zalloc;
343 d_stream.zalloc = zalloc;
383 c_stream.zalloc = zalloc;
422 d_stream.zalloc = zalloc;
464 c_stream.zalloc = zalloc;
503 d_stream.zalloc = zalloc;
/external/rust/crates/libz-sys/src/zlib/test/
Dexample.c72 static alloc_func zalloc = myalloc; variable
77 static alloc_func zalloc = (alloc_func)0; variable
208 c_stream.zalloc = zalloc;
247 d_stream.zalloc = zalloc;
286 c_stream.zalloc = zalloc;
343 d_stream.zalloc = zalloc;
383 c_stream.zalloc = zalloc;
422 d_stream.zalloc = zalloc;
464 c_stream.zalloc = zalloc;
503 d_stream.zalloc = zalloc;
/external/oss-fuzz/projects/zlib/
Dexample_flush_fuzzer.c19 static alloc_func zalloc = NULL; variable
30 c_stream.zalloc = zalloc; in test_flush()
65 d_stream.zalloc = zalloc; in test_sync()
Dexample_small_fuzzer.c19 static alloc_func zalloc = NULL; variable
30 c_stream.zalloc = zalloc; in test_deflate()
66 d_stream.zalloc = zalloc; in test_inflate()
Dexample_dict_fuzzer.c19 static alloc_func zalloc = NULL; variable
57 c_stream.zalloc = zalloc; in test_dict_deflate()
96 d_stream.zalloc = zalloc; in test_dict_inflate()
Dexample_large_fuzzer.c19 static alloc_func zalloc = NULL; variable
31 c_stream.zalloc = zalloc; in test_large_deflate()
85 d_stream.zalloc = zalloc; in test_large_inflate()
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/
Dfuzzer_example_small.c20 static alloc_func zalloc = NULL; variable
31 c_stream.zalloc = zalloc; in test_deflate()
66 d_stream.zalloc = zalloc; in test_inflate()
Dfuzzer_example_flush.c20 static alloc_func zalloc = NULL; variable
31 c_stream.zalloc = zalloc; in test_flush()
65 d_stream.zalloc = zalloc; in test_sync()
Dfuzzer_example_dict.c20 static alloc_func zalloc = NULL; variable
57 c_stream.zalloc = zalloc; in test_dict_deflate()
97 d_stream.zalloc = zalloc; in test_dict_inflate()
Dfuzzer_example_large.c21 static alloc_func zalloc = NULL; variable
32 c_stream.zalloc = zalloc; in test_large_deflate()
85 d_stream.zalloc = zalloc; in test_large_inflate()
/external/zlib/google/
Dcompression_utils_portable.cc112 auto zalloc = [](void* opaque, uInt items, uInt size) { in CompressHelper() local
120 stream.zalloc = static_cast<alloc_func>(zalloc); in CompressHelper()
124 stream.zalloc = static_cast<alloc_func>(0); in CompressHelper()
185 stream.zalloc = static_cast<alloc_func>(0); in UncompressHelper()
/external/rust/crates/libz-sys/src/zlib/contrib/pascal/
Dexample.pas191 c_stream.zalloc := NIL;
236 d_stream.zalloc := NIL;
277 c_stream.zalloc := NIL;
331 d_stream.zalloc := NIL;
375 c_stream.zalloc := NIL;
414 d_stream.zalloc := NIL;
454 c_stream.zalloc := NIL;
491 d_stream.zalloc := NIL;
/external/rust/crates/libz-sys/src/zlib-ng/
Dzutil.c115 void Z_INTERNAL *zng_alloc_aligned(zng_calloc_func zalloc, void *opaque, unsigned items, unsigned s… in zng_alloc_aligned() argument
121 if (zalloc == zng_calloc) in zng_alloc_aligned()
126 ptr = zalloc(opaque, 1, alloc_size); in zng_alloc_aligned()
Dzutil.h131 void Z_INTERNAL *zng_alloc_aligned(zng_calloc_func zalloc, void *opaque, unsigned items, unsigned s…
134 #define ZALLOC(strm, items, size) zng_alloc_aligned((strm)->zalloc, (strm)->opaque, (items), (size)…
/external/zlib/contrib/tests/
Dutils_unittest.cc110 comp_strm.zalloc = Z_NULL; in TEST()
124 decomp_strm.zalloc = Z_NULL; in TEST()
184 stream.zalloc = nullptr; in TEST()
255 stream.zalloc = nullptr; in TEST()
382 stream.zalloc = nullptr; in TEST()
504 stream.zalloc = Z_NULL; in TEST()
980 stream.zalloc = Z_NULL; in TEST()
/external/zlib/contrib/tests/fuzzers/
Dstreaming_inflate_fuzzer.cc25 comp_strm.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
44 decomp_strm.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
/external/rust/crates/libz-sys/src/zlib/contrib/delphi/
DZLib.pas35 zalloc: TAlloc; // used to allocate the internal state
293 strm.zalloc := zlibAllocMem;
332 strm.zalloc := zlibAllocMem;
372 strm.zalloc := zlibAllocMem;
394 FZRec.zalloc := zlibAllocMem;
/external/rust/crates/flate2/src/ffi/
Dc.rs50 zalloc, in default()
54 zalloc: Some(zalloc), in default()
68 extern "C" fn zalloc(_ptr: *mut c_void, items: AllocSize, item_size: AllocSize) -> *mut c_void { in zalloc() function
/external/libtextclassifier/native/utils/zlib/
Dzlib.cc34 stream_.zalloc = Z_NULL; in ZlibDecompressor()
117 stream_.zalloc = Z_NULL; in ZlibCompressor()
/external/rust/crates/libz-sys/src/zlib/examples/
Dzpipe.c45 strm.zalloc = Z_NULL; in def()
101 strm.zalloc = Z_NULL; in inf()
/external/trace-cmd/tracecmd/
Dtrace-mem.c59 static void *zalloc(size_t size) in zalloc() function
224 funcd = zalloc(sizeof(*funcd)); in create_func()
255 ptrd = zalloc(sizeof(*ptrd)); in create_ptr()
424 func_list = zalloc(sizeof(*func_list) * func_count); in sort_list()

12345678