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

1234567891011>>

/openbsd-current/gnu/gcc/fixincludes/tests/base/
H A Dmalloc.h16 void* calloc();
H A Dstdlib.h47 extern void * calloc(size_t);
/openbsd-current/gnu/usr.bin/gcc/gcc/fixinc/tests/base/
H A Dmalloc.h16 void* calloc();
H A Dstdlib.h55 extern void * calloc(size_t);
/openbsd-current/regress/sys/kern/stackpivot/syscall/
H A Dstackpivot.c29 size_t *newstack = calloc(10, sizeof(size_t));
/openbsd-current/gnu/gcc/libmudflap/testsuite/libmudflap.c/
H A Dpass50-frag.c25 volatile struct a *k = calloc (1, sizeof (struct a));
/openbsd-current/gnu/lib/libiberty/src/
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
H A Dxmalloc.c41 like @code{calloc}, but will behave the same as @code{xmalloc} if memory
88 void *calloc (size_t, size_t);
137 newmem = calloc (nelem, elsize);
/openbsd-current/gnu/llvm/clang/docs/analyzer/checkers/
H A Dunix_api_example.c22 void *p = calloc(0, 42); // warn: allocation size of 0 bytes
/openbsd-current/usr.sbin/dhcpd/
H A Dalloc.c70 rval = calloc(1, sizeof(struct tree_cache));
93 rval = calloc(1, sizeof(struct lease_state));
H A Dtree.c68 foo = calloc(1, sizeof *foo);
97 d = calloc(1, len);
98 nt = calloc(1, sizeof(struct tree));
130 buf = calloc(1, left->data.const_val.len
148 nt = calloc(1, sizeof(struct tree));
170 rv = calloc(1, sizeof(struct tree));
209 bp = calloc(1, bufix);
/openbsd-current/gnu/gcc/libgomp/
H A Dalloc.c48 void *ret = calloc (1, size);
/openbsd-current/lib/libc/stdlib/
H A Dthread_atexit.c32 fnp = calloc(1, sizeof(struct thread_atexit_fn));
/openbsd-current/gnu/llvm/lldb/tools/intel-features/intel-mpx/test/
H A Dmain.cpp30 int* a = (int *) calloc(size, sizeof(int));
/openbsd-current/libexec/snmpd/snmpd_metrics/
H A Dtimer.c90 snmpd_env->sc_cpustates = calloc(snmpd_env->sc_ncpu,
92 cp_time = calloc(snmpd_env->sc_ncpu, sizeof(int64_t *));
93 cp_old = calloc(snmpd_env->sc_ncpu, sizeof(int64_t *));
94 cp_diff = calloc(snmpd_env->sc_ncpu, sizeof(int64_t *));
97 fatal("calloc");
99 cp_time[i] = calloc(CPUSTATES, sizeof(int64_t));
100 cp_old[i] = calloc(CPUSTATES, sizeof(int64_t));
101 cp_diff[i] = calloc(CPUSTATES, sizeof(int64_t));
104 fatal("calloc");
/openbsd-current/usr.sbin/smtpd/
H A Dconfig.c43 if ((conf = calloc(1, sizeof(*conf))) == NULL)
71 conf->sc_tables_dict = calloc(1, sizeof(*conf->sc_tables_dict));
72 conf->sc_rules = calloc(1, sizeof(*conf->sc_rules));
73 conf->sc_dispatchers = calloc(1, sizeof(*conf->sc_dispatchers));
74 conf->sc_listeners = calloc(1, sizeof(*conf->sc_listeners));
75 conf->sc_ca_dict = calloc(1, sizeof(*conf->sc_ca_dict));
76 conf->sc_pki_dict = calloc(1, sizeof(*conf->sc_pki_dict));
77 conf->sc_ssl_dict = calloc(1, sizeof(*conf->sc_ssl_dict));
78 conf->sc_limits_dict = calloc(1, sizeof(*conf->sc_limits_dict));
79 conf->sc_mda_wrappers = calloc(
[all...]
/openbsd-current/usr.sbin/ntpd/
H A Dconfig.c46 if ((h = calloc(1, sizeof(*h))) == NULL)
71 if ((h = calloc(1, sizeof(*h))) == NULL)
116 if ((h = calloc(1, sizeof(*h))) == NULL)
154 if ((p = calloc(1, sizeof(struct ntp_peer))) == NULL)
155 fatal("new_peer calloc");
166 if ((s = calloc(1, sizeof(struct ntp_conf_sensor))) == NULL)
167 fatal("new_sensor calloc");
179 if ((p = calloc(1, sizeof(struct constraint))) == NULL)
180 fatal("new_constraint calloc");
/openbsd-current/lib/libc/thread/
H A Drthread_condattr.c34 attr = calloc(1, sizeof(*attr));
/openbsd-current/lib/librthread/
H A Drthread_rwlockattr.c36 attr = calloc(1, sizeof(*attr));
/openbsd-current/regress/lib/libedit/read/
H A Dtest_read_char.c51 if ((el.el_signal = calloc(1, sizeof(*el.el_signal))) == NULL)
H A Dtest_getcmd.c51 if ((el.el_map.key = calloc(N_KEYS, sizeof(el_action_t))) == NULL)
57 if ((el.el_signal = calloc(1, sizeof(*el.el_signal))) == NULL)
/openbsd-current/usr.sbin/makefs/
H A Dxmalloc.c22 if ((v = calloc(nmemb, size)) == NULL)
23 err(1, "calloc");
/openbsd-current/lib/libcrypto/asn1/
H A Dx_info.c70 if ((ret = calloc(1, sizeof(X509_INFO))) == NULL) {
/openbsd-current/lib/libcrypto/dsa/
H A Ddsa_meth.c31 if ((meth = calloc(1, sizeof(*meth))) == NULL)
59 if ((copy = calloc(1, sizeof(*copy))) == NULL)
/openbsd-current/lib/libkeynote/
H A Dkeynote-verify.c69 if ((buf = calloc(cl, sizeof(char))) == NULL)
71 perror("calloc()");
75 if ((retv = calloc(numretv, sizeof(char *))) == NULL)
77 perror("calloc()");
123 buf = calloc(cl, sizeof(char));
126 perror("calloc()");
184 foov = calloc(numretv, sizeof(char **));
192 perror("calloc()");
201 retv[numret] = calloc((ptr - optarg) + 1,
206 perror("calloc()");
[all...]

Completed in 569 milliseconds

1234567891011>>