Home
last modified time | relevance | path

Searched refs:safe_calloc (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_redup.c61 safe_calloc(size_t n) in safe_calloc() function
210 safe_calloc(numbuckets * sizeof (redup_entry_t *)); in zfs_redup_stream()
216 char *buf = safe_calloc(bufsz); in zfs_redup_stream()
258 buf = safe_calloc(sz); in zfs_redup_stream()
H A Dzstream.h28 extern void *safe_calloc(size_t n);
H A Dzstream_recompress.c253 dbuf = safe_calloc(bufsz); in zstream_do_recompress()
258 cbuf = safe_calloc(payload_size); in zstream_do_recompress()
H A Dzstream_decompress.c293 char *lzbuf = safe_calloc(payload_size); in zstream_do_decompress()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMemAlloc.h38 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_calloc(size_t Count, in safe_calloc() function
H A DOnDiskHashTable.h98 safe_calloc(NewSize, sizeof(Bucket))); in resize()
229 Buckets = static_cast<Bucket *>(safe_calloc(NumBuckets, sizeof(Bucket))); in OnDiskChainedHashTableGenerator()
/freebsd/sbin/ipfw/
H A Daltq.c105 altq = safe_calloc(1, sizeof(*altq)); in altq_fetch()
H A Dmain.c167 av = safe_calloc(av_size, 1); in ipfw_main()
205 av = safe_calloc(av_size, 1); in ipfw_main()
H A Dipfw2.h354 void *safe_calloc(size_t number, size_t size);
H A Ddummynet.c233 ep = safe_calloc(1, l); in get_extra_parms()
1322 base = buf = safe_calloc(1, lmax); in ipfw_config_pipe()
1952 oid = safe_calloc(1, l); in dummynet_list()
H A Dnat.c104 buf = safe_calloc(1, needed); in set_addr_dynamic()
H A Dipfw2.c576 safe_calloc(size_t number, size_t size) in safe_calloc() function
1045 buf = safe_calloc(s1 - s + 1, 1); in strtoport()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSparseSet.h166 Sparse = static_cast<SparseT*>(safe_calloc(U, sizeof(SparseT)));
H A DSparseMultiSet.h213 Sparse = static_cast<SparseT*>(safe_calloc(U, sizeof(SparseT))); in setUniverse()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DStringMap.cpp32 auto **Table = static_cast<StringMapEntryBase **>(safe_calloc( in createTable()
H A DFoldingSet.cpp173 void **Buckets = static_cast<void**>(safe_calloc(NumBuckets + 1, in AllocateBuckets()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterferenceCache.cpp47 safe_calloc(PhysRegEntriesCount, sizeof(unsigned char))); in reinitPhysRegEntries()
H A DRegisterPressure.cpp647 PDiffArray = static_cast<PressureDiff*>(safe_calloc(N, sizeof(PressureDiff))); in init()