Searched defs:calloc (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-head/contrib/binutils/libiberty/
H A Dcalloc.c0 /* calloc -- allocate memory which has been initialized to zero.
6 @deftypefn Supplemental void* calloc (size_t @var{nelem}, size_t @var{elsize})
23 calloc (size_t nelem, size_t elsize) function
/freebsd-head/contrib/ldns/compat/
H A Dcalloc.c8 void *calloc();
15 calloc(size_t num, size_t size) function
/freebsd-head/contrib/ntp/sntp/unity/
H A Dunity_fixture_malloc_overrides.h12 #define calloc unity_calloc macro
H A Dunity_fixture.c161 #ifdef calloc
162 #undef calloc macro
/freebsd-head/sys/contrib/zstd/lib/freebsd/
H A Dstdlib.h41 #define calloc(a, b) (mallocarray)((a), (b), M_ZSTD, M_WAITOK | M_ZERO) macro
/freebsd-head/sys/contrib/openzfs/module/zstd/include/
H A Dstdlib.h47 * Define calloc, malloc, free to make building work. They are never really used
50 #define calloc(n, sz) NULL macro
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dbsd-malloc.c19 #undef calloc macro
43 return calloc(nmemb, size);
H A Dgetrrsetbyname-ldns.c60 #define calloc(x, y) (xcalloc((x),(y))) macro
121 rrset = calloc(1, sizeof(struct rrsetinfo));
177 rrset->rri_rdatas = calloc(rrset->rri_nrdatas,
187 rrset->rri_sigs = calloc(rrset->rri_nsigs,
/freebsd-head/lib/libopenbsd/
H A Dohash.h34 void *(*calloc)(size_t, size_t, void *); member in struct:ohash_info
/freebsd-head/contrib/mandoc/
H A Dcompat_ohash.h30 void *(*calloc)(size_t, size_t, void *); member in struct:ohash_info
/freebsd-head/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_wrapper_malloc.h31 calloc
166 #define calloc(num, size) \ macro
/freebsd-head/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_malloc.cpp35 INTERCEPTOR_ATTRIBUTE void *calloc(size_t nmemb, size_t size) { function
H A Dscudo_allocator.cpp559 void *calloc(uptr NMemB, uptr Size) { function in struct:__scudo::Allocator
720 return SetErrnoOnNull(Instance.calloc(NMemB, Size));
/freebsd-head/contrib/unbound/util/
H A Dalloc.h194 # define calloc(n,s) unbound_stat_calloc_lite(n, s, __FILE__, __LINE__, __func__) macro
H A Dalloc.c388 #ifdef calloc
389 #undef calloc macro
394 /** calloc with stats */
403 res = calloc(1, s+16);
405 log_info("stat %p=calloc(%u, %u)", res+16, (unsigned)nmemb, (unsigned)size);
482 log_info("%s:%d %s calloc(%u, %u)", file, line, func,
513 #undef calloc macro
/freebsd-head/sys/netinet/libalias/
H A Dalias_mod.h46 #define calloc(n, x) mallocarray((n), (x), M_ALIAS, M_NOWAIT|M_ZERO) macro
/freebsd-head/contrib/unbound/smallapp/
H A Dunbound-host.c50 #undef calloc macro
56 #undef calloc macro
/freebsd-head/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cpp149 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) {
151 // Hack: dlsym calls calloc before REAL(calloc) is retrieved from dlsym.
253 void *(*calloc)(uptr n_elements, uptr elem_size); member in struct:MallocDebugK
260 void *(*calloc)(uptr n_elements, uptr elem_size); member in struct:MallocDebugL
273 WRAP(malloc), WRAP(free), WRAP(calloc),
277 WRAP(calloc), WRAP(free), WRAP(mallinfo),
H A Dasan_malloc_win.cpp113 void *calloc(size_t nmemb, size_t size) { function
120 return calloc(nmemb, size);
125 return calloc(nmemb, size);
130 return calloc(nmemb, size);
153 return calloc(n, elem_size);
496 TryToOverrideFunction("calloc", (uptr)calloc);
497 TryToOverrideFunction("_calloc_base", (uptr)calloc);
498 TryToOverrideFunction("_calloc_crt", (uptr)calloc);
/freebsd-head/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_kmem.c282 calloc(size_t n, size_t s) function
/freebsd-head/contrib/tcsh/
H A Dtc.alloc.c59 # define calloc fcalloc macro
348 calloc(size_t i, size_t j) function
356 /* Stop gcc 5.x from optimizing malloc+memset = calloc */
505 ** ``Protected versions'' of malloc, realloc, calloc, and free
H A Dtc.os.h453 # define calloc tcsh_calloc macro
505 extern memalign_t calloc();
/freebsd-head/gnu/usr.bin/grep/
H A Ddfa.h292 int calloc; /* Number of charclasses currently allocated. */ member in struct:dfa
/freebsd-head/contrib/jemalloc/include/jemalloc/
H A Djemalloc.h63 # define je_calloc calloc
375 # define calloc je_calloc macro
/freebsd-head/stand/libsa/
H A Dstand.h448 extern void *calloc(size_t, size_t);
455 #define calloc(x, y) Calloc(x, y, __FILE__, __LINE__) macro
462 #define calloc(x, y) Calloc(x, y, NULL, 0) macro

Completed in 116 milliseconds

12