Searched refs:safe_calloc (Results 1 – 18 of 18) sorted by relevance
/freebsd/sys/contrib/openzfs/cmd/zstream/ |
H A D | zstream_redup.c | 61 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 D | zstream.h | 28 extern void *safe_calloc(size_t n);
|
H A D | zstream_recompress.c | 253 dbuf = safe_calloc(bufsz); in zstream_do_recompress() 258 cbuf = safe_calloc(payload_size); in zstream_do_recompress()
|
H A D | zstream_decompress.c | 293 char *lzbuf = safe_calloc(payload_size); in zstream_do_decompress()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MemAlloc.h | 38 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_calloc(size_t Count, in safe_calloc() function
|
H A D | OnDiskHashTable.h | 98 safe_calloc(NewSize, sizeof(Bucket))); in resize() 229 Buckets = static_cast<Bucket *>(safe_calloc(NumBuckets, sizeof(Bucket))); in OnDiskChainedHashTableGenerator()
|
/freebsd/sbin/ipfw/ |
H A D | altq.c | 105 altq = safe_calloc(1, sizeof(*altq)); in altq_fetch()
|
H A D | main.c | 167 av = safe_calloc(av_size, 1); in ipfw_main() 205 av = safe_calloc(av_size, 1); in ipfw_main()
|
H A D | ipfw2.h | 354 void *safe_calloc(size_t number, size_t size);
|
H A D | dummynet.c | 233 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 D | nat.c | 104 buf = safe_calloc(1, needed); in set_addr_dynamic()
|
H A D | ipfw2.c | 576 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 D | SparseSet.h | 166 Sparse = static_cast<SparseT*>(safe_calloc(U, sizeof(SparseT)));
|
H A D | SparseMultiSet.h | 213 Sparse = static_cast<SparseT*>(safe_calloc(U, sizeof(SparseT))); in setUniverse()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | StringMap.cpp | 32 auto **Table = static_cast<StringMapEntryBase **>(safe_calloc( in createTable()
|
H A D | FoldingSet.cpp | 173 void **Buckets = static_cast<void**>(safe_calloc(NumBuckets + 1, in AllocateBuckets()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | InterferenceCache.cpp | 47 safe_calloc(PhysRegEntriesCount, sizeof(unsigned char))); in reinitPhysRegEntries()
|
H A D | RegisterPressure.cpp | 647 PDiffArray = static_cast<PressureDiff*>(safe_calloc(N, sizeof(PressureDiff))); in init()
|