Home
last modified time | relevance | path

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

12345

/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/u-boot/fs/ext4/
Dext4_journal.c46 journal_ptr[i] = zalloc(sizeof(struct journal_log)); in ext4fs_init_journal()
49 dirty_block_ptr[i] = zalloc(sizeof(struct dirty_blocks)); in ext4fs_init_journal()
60 temp = zalloc(fs->blksz); in ext4fs_init_journal()
63 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_init_journal()
72 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_init_journal()
138 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_log_gdt()
171 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_log_journal()
196 dirty_block_ptr[gd_index]->buf = zalloc(fs->blksz); in ext4fs_put_metadata()
231 tmp_node = zalloc(sizeof(struct revoke_blk_list)); in _get_node()
254 node->content = zalloc(fs->blksz); in ext4fs_push_revoke_blk()
[all …]
Dext4_common.c493 zero_buffer = zalloc(fs->blksz); in ext4fs_update_parent_dentry()
498 root_first_block_buffer = zalloc(fs->blksz); in ext4fs_update_parent_dentry()
644 block_buffer = zalloc(fs->blksz); in search_dir()
718 arr[i] = zalloc(strlen("/") + 1); in parse_path()
725 arr[i] = zalloc(strlen(token) + 1); in parse_path()
771 depth_dirname = zalloc(strlen(dirname) + 1); in ext4fs_get_parent_inode_num()
777 parse_dirname = zalloc(strlen(dirname) + 1); in ext4fs_get_parent_inode_num()
783 ptr = zalloc((depth) * sizeof(char *)); in ext4fs_get_parent_inode_num()
788 parent_inode = zalloc(sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
791 first_inode = zalloc(sizeof(struct ext2_inode)); in ext4fs_get_parent_inode_num()
[all …]
Dext4_write.c113 fs->gdtable = zalloc(gdsize_total); in ext4fs_get_bgdtable()
145 char *journal_buffer = zalloc(fs->blksz); in delete_single_indirect_block()
196 char *journal_buffer = zalloc(fs->blksz); in delete_double_indirect_block()
203 di_buffer = zalloc(fs->blksz); in delete_double_indirect_block()
295 char *journal_buffer = zalloc(fs->blksz); in delete_triple_indirect_block()
302 tigp_buffer = zalloc(fs->blksz); in delete_triple_indirect_block()
316 tip_buffer = zalloc(fs->blksz); in delete_triple_indirect_block()
456 char *journal_buffer = zalloc(fs->blksz); in ext4fs_delete_file()
540 read_buffer = zalloc(fs->blksz); in ext4fs_delete_file()
606 fs->sb = zalloc(SUPERBLOCK_SIZE); in ext4fs_init()
[all …]
/external/oss-fuzz/projects/zlib/
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_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_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/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/v8/third_party/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/u-boot/lib/
Dgzip.c22 static void *zalloc(void *x, unsigned items, unsigned size) in zalloc() function
65 s.zalloc = zalloc; in zzip()
Dgunzip.c196 s.zalloc = gzalloc; in gzwrite()
284 s.zalloc = gzalloc; in zunzip()
/external/v8/third_party/zlib/contrib/tests/
Dutils_unittest.cc106 comp_strm.zalloc = Z_NULL; in TEST()
120 decomp_strm.zalloc = Z_NULL; in TEST()
180 stream.zalloc = nullptr; in TEST()
251 stream.zalloc = nullptr; in TEST()
378 stream.zalloc = nullptr; in TEST()
500 stream.zalloc = Z_NULL; in TEST()
/external/v8/third_party/zlib/contrib/tests/fuzzers/
Dstreaming_inflate_fuzzer.cc25 comp_strm.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
44 decomp_strm.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
Dinflate_fuzzer.cc29 stream.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
Ddeflate_set_dictionary_fuzzer.cc28 stream.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
/external/libtextclassifier/native/utils/zlib/
Dzlib.cc36 stream_.zalloc = Z_NULL; in ZlibDecompressor()
127 stream_.zalloc = Z_NULL; in ZlibCompressor()
/external/grpc-grpc/src/core/lib/compression/
Dmessage_compress.cc97 zs.zalloc = zalloc_gpr; in zlib_compress()
122 zs.zalloc = zalloc_gpr; in zlib_decompress()
/external/zlib/contrib/tests/fuzzers/
Dinflate_fuzzer.cc29 stream.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
Ddeflate_set_dictionary_fuzzer.cc28 stream.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
Ddeflate_fuzzer.cc33 stream.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
/external/u-boot/fs/cramfs/
Duncompress.c59 stream.zalloc = gzalloc; in cramfs_uncompress_init()
/external/libiio/src/
Dxml.c175 struct iio_channel *chn = zalloc(sizeof(*chn)); in create_channel()
233 struct iio_device *dev = zalloc(sizeof(*dev)); in create_device()
341 struct iio_context *ctx = zalloc(sizeof(*ctx)); in iio_create_xml_context_helper()
/external/perfetto/src/trace_processor/importers/gzip/
Dgzip_utils.cc44 z_stream_->zalloc = Z_NULL; in GzipDecompressor()
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc53 zcontext_.zalloc = Z_NULL; in GzipInputStream()
224 zcontext_.zalloc = Z_NULL; in Init()

12345