Searched refs:calloc (Results 1 - 25 of 1295) sorted by relevance

1234567891011>>

/freebsd-current/contrib/mandoc/
H A Dtest-recallocarray.c8 if ((p = calloc(2, 2)) == NULL)
H A Dtest-ohash.c13 return calloc(1,sz);
19 return calloc(nmemb,sz);
34 i.calloc = xcalloc;
H A Dcompat_ohash.h30 void *(*calloc)(size_t, size_t, void *); member in struct:ohash_info
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/
H A Dtst.ucaller.ksh30 # of calloc(3C), and that it's implemented in terms of the ld.so.1
42 pid\$target:ld.so.1:calloc:entry
44 self->calloc = 1;
48 /self->calloc/
53 pid\$target:ld.so.1:calloc:return
54 /self->calloc/
56 self->calloc = 0;
/freebsd-current/contrib/ldns/compat/
H A Dcalloc.c8 void *calloc();
15 calloc(size_t num, size_t size) function
/freebsd-current/sbin/dhclient/
H A Dalloc.c53 rval = calloc(1, sizeof(struct string_list) + size);
64 rval = calloc(1, sizeof(struct hash_table) -
76 struct hash_bucket *rval = calloc(1, sizeof(struct hash_bucket));
H A Dtree.c51 pair foo = calloc(1, sizeof(*foo));
/freebsd-current/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-current/crypto/openssh/openbsd-compat/
H A Dbsd-malloc.c19 #undef calloc macro
43 return calloc(nmemb, size);
H A Darc4random.h78 if ((*rsp = calloc(1, sizeof(**rsp))) == NULL)
80 if ((*rsxp = calloc(1, sizeof(**rsxp))) == NULL) {
/freebsd-current/crypto/heimdal/lib/roken/
H A Decalloc.c42 * Like calloc but never fails.
48 void *tmp = calloc (number, size);
51 errx (1, "calloc %lu failed", (unsigned long)number * size);
/freebsd-current/contrib/ntp/sntp/unity/
H A Dunity_fixture_malloc_overrides.h12 #define calloc unity_calloc macro
/freebsd-current/sys/contrib/zstd/lib/freebsd/
H A Dstdlib.h41 #define calloc(a, b) (mallocarray)((a), (b), M_ZSTD, M_WAITOK | M_ZERO) macro
/freebsd-current/sbin/ipf/libipf/
H A Dsave_nothing.c34 ctx = calloc(1, sizeof(void *));
/freebsd-current/lib/libc/stdlib/
H A Dhcreate_r.c45 hsearch->entries = calloc(16, sizeof(ENTRY));
/freebsd-current/contrib/dma/
H A Daliases_parse.y70 al = calloc(1, sizeof(*al));
89 it = calloc(1, sizeof(*it));
101 it = calloc(1, sizeof(*it));
/freebsd-current/usr.sbin/bhyve/
H A Dbhyvegc.c48 gc = calloc(1, sizeof (struct bhyvegc));
50 gc_image = calloc(1, sizeof(struct bhyvegc_image));
57 gc_image->data = calloc(width * height, sizeof (uint32_t));
/freebsd-current/tools/tools/tscdrift/
H A Dtscdrift.c112 cpus = calloc(ncpu, sizeof(*cpus));
113 skew = calloc(ncpu, sizeof(*skew));
115 skew[i] = calloc(TESTS, sizeof(*skew[i]));
160 aveskew = calloc(ncpu, sizeof(*aveskew));
161 minskew = calloc(ncpu, sizeof(*minskew));
162 maxskew = calloc(ncpu, sizeof(*maxskew));
163 stddev = calloc(ncpu, sizeof(*stddev));
/freebsd-current/contrib/lib9p/
H A Dlib9p_impl.h52 void *r = calloc(n, size);
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_openssl_hmac_private.h42 HMAC_CTX *ctx = (HMAC_CTX *)calloc(1, sizeof(HMAC_CTX));
H A Darchive_openssl_evp_private.h42 EVP_MD_CTX *ctx = (EVP_MD_CTX *)calloc(1, sizeof(EVP_MD_CTX));
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dcopy_host_realm.c60 *to = calloc (n, sizeof(**to));
/freebsd-current/contrib/netbsd-tests/kernel/
H A Dh_ps_strings2.c54 if ((argv = calloc(LEN, sizeof(*argv))) == NULL)
55 errx(1, "calloc failed");
/freebsd-current/tools/test/stress2/misc/
H A Doverflow3.sh64 hdr.msg_control = calloc(1, CMSG_SPACE(nfds * sizeof(int)));
75 rhdr.msg_control = calloc(1, CMSG_SPACE(0));
/freebsd-current/lib/libypclnt/
H A Dypclnt_new.c47 if ((ypclnt = calloc(1, sizeof *ypclnt)) == NULL)

Completed in 373 milliseconds

1234567891011>>