Home
last modified time | relevance | path

Searched refs:Calloc (Results 1 – 11 of 11) sorted by relevance

/freebsd-12.1/sbin/fsck_ffs/
H A Dsetup.c255 sblock.fs_csp = Calloc(1, sblock.fs_cssize); in setup()
279 blockmap = Calloc((unsigned)bmapsize, sizeof (char)); in setup()
285 inostathead = Calloc(sblock.fs_ncg, sizeof(struct inostatlist)); in setup()
295 inpsort = (struct inoinfo **)Calloc(listmax, sizeof(struct inoinfo *)); in setup()
296 inphead = (struct inoinfo **)Calloc(numdirs, sizeof(struct inoinfo *)); in setup()
H A Dpass1.c162 info = Calloc((unsigned)inosused, sizeof(struct inostat)); in pass1()
232 info = Calloc((unsigned)inosused, sizeof(struct inostat)); in pass1()
H A Dfsck.h397 Calloc(size_t cnt, size_t size) in Calloc() function
/freebsd-12.1/contrib/ofed/opensm/opensm/
H A Dst.c102 #define Calloc(n,s) (char*)xcalloc((n), (s)) macro
206 tbl->bins = (st_table_entry **) Calloc(size, sizeof(st_table_entry *));
362 (st_table_entry **) Calloc(new_num_bins, sizeof(st_table_entry *));
393 Calloc(num_bins, sizeof(st_table_entry *));
/freebsd-12.1/stand/libsa/
H A Dstand.h431 void *Calloc(size_t, size_t, const char *, int);
440 #define calloc(x, y) Calloc(x, y, __FILE__, __LINE__)
447 #define calloc(x, y) Calloc(x, y, NULL, 0)
H A Dzalloc_malloc.c149 Calloc(size_t n1, size_t n2, const char *file, int line) in Calloc() function
/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_allocator.cc101 static void *Calloc(uptr nmemb, uptr size, const StackTrace &stack) { in Calloc() function
190 return SetErrnoOnNull(Calloc(nmemb, size, stack)); in lsan_calloc()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp962 Value *Calloc = emitCalloc(ConstantInt::get(SizeType, 1), in foldMallocMemset() local
965 if (!Calloc) in foldMallocMemset()
968 Malloc->replaceAllUsesWith(Calloc); in foldMallocMemset()
971 return Calloc; in foldMallocMemset()
975 if (auto *Calloc = foldMallocMemset(CI, B)) in optimizeMemSet() local
976 return Calloc; in optimizeMemSet()
H A DBuildLibCalls.cpp1185 Value *Calloc = M->getOrInsertFunction(CallocName, Attrs, B.getInt8PtrTy(), in emitCalloc() local
1188 CallInst *CI = B.CreateCall(Calloc, {Num, Size}, CallocName); in emitCalloc()
1190 if (const auto *F = dyn_cast<Function>(Calloc->stripPointerCasts())) in emitCalloc()
/freebsd-12.1/stand/efi/boot1/
H A Dboot1.c83 Calloc(size_t n1, size_t n2, const char *file, int line) in Calloc() function
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_allocator.cc676 void *Calloc(uptr nmemb, uptr size, BufferedStackTrace *stack) { in Calloc() function
880 return SetErrnoOnNull(instance.Calloc(nmemb, size, stack)); in asan_calloc()