Home
last modified time | relevance | path

Searched refs:calloc (Results 1 – 25 of 1536) sorted by relevance

12345678910>>...62

/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/
H A Dtst.ucaller.ksh42 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/tools/tools/tscdrift/
H A Dtscdrift.c112 cpus = calloc(ncpu, sizeof(*cpus)); in main()
113 skew = calloc(ncpu, sizeof(*skew)); in main()
115 skew[i] = calloc(TESTS, sizeof(*skew[i])); in main()
160 aveskew = calloc(ncpu, sizeof(*aveskew)); in main()
161 minskew = calloc(ncpu, sizeof(*minskew)); in main()
162 maxskew = calloc(ncpu, sizeof(*maxskew)); in main()
163 stddev = calloc(ncpu, sizeof(*stddev)); in main()
/freebsd/contrib/flex/src/
H A Dgen.c109 tbl = calloc(1, sizeof (struct yytbl_data)); in mkeoltbl()
114 calloc(tbl->td_lolen, sizeof (flex_int8_t)); in mkeoltbl()
216 tbl = calloc(1, sizeof (struct yytbl_data)); in mkctbl()
223 calloc(tbl->td_lolen * 2, sizeof (flex_int32_t)); in mkctbl()
312 tbl = calloc(1, sizeof (struct yytbl_data)); in mkssltbl()
319 calloc(tbl->td_lolen, sizeof (flex_int32_t)); in mkssltbl()
442 tbl = calloc(1, sizeof (struct yytbl_data)); in mkecstbl()
449 calloc(tbl->td_lolen, sizeof (flex_int32_t)); in mkecstbl()
652 tbl = calloc(1, sizeof (struct yytbl_data)); in mkftbl()
659 calloc(tbl->td_lolen, sizeof (flex_int32_t)); in mkftbl()
[all …]
/freebsd/contrib/ncurses/misc/
H A Dncurses.supp60 fun:calloc
67 fun:calloc
123 fun:calloc
131 fun:calloc
147 fun:calloc
154 fun:calloc
186 fun:calloc
/freebsd/sbin/dhclient/
H A Dprivsep.c28 if ((buf = calloc(1, sizeof(struct buf))) == NULL) in buf_open()
126 if ((medium = calloc(1, medium_len + 1)) == NULL) in dispatch_imsg()
137 if ((reason = calloc(1, reason_len + 1)) == NULL) in dispatch_imsg()
159 if ((filename = calloc(1, filename_len + 1)) == NULL) in dispatch_imsg()
171 calloc(1, servername_len + 1)) == NULL) in dispatch_imsg()
182 if ((prefix = calloc(1, prefix_len + 1)) == NULL) in dispatch_imsg()
200 calloc(1, optlen + 1); in dispatch_imsg()
H A Dalloc.c53 rval = calloc(1, sizeof(struct string_list) + size); in new_string_list()
64 rval = calloc(1, sizeof(struct hash_table) - in new_hash_table()
76 struct hash_bucket *rval = calloc(1, sizeof(struct hash_bucket)); in new_hash_bucket()
/freebsd/contrib/mandoc/
H A Dtest-ohash.c13 return calloc(1,sz); in xmalloc()
19 return calloc(nmemb,sz); in xcalloc()
34 i.calloc = xcalloc; in main()
/freebsd/usr.bin/column/
H A Dcolumn.c104 newsep = calloc(seplen + 1, sizeof(wchar_t)); in main()
235 if ((t = tbl = calloc(entries, sizeof(TBL))) == NULL) in maketbl()
237 if ((cols = calloc((maxcols = DEFCOLS), sizeof(*cols))) == NULL) in maketbl()
239 if ((lens = calloc(maxcols, sizeof(int))) == NULL) in maketbl()
267 if ((t->list = calloc(coloff, sizeof(*t->list))) == NULL) in maketbl()
269 if ((t->len = calloc(coloff, sizeof(int))) == NULL) in maketbl()
302 if ((list = calloc((maxentry = DEFNUM), sizeof(*list))) == in input()
/freebsd/sbin/ipf/ippool/
H A Dippool_y.y263 | addrmask next grouplist { $$ = calloc(1, sizeof(iphtent_t));
270 | addrmask next { $$ = calloc(1, sizeof(iphtent_t));
292 addrmask ',' setgroup { $$ = calloc(1, sizeof(iphtent_t));
307 range: addrmask { $$ = calloc(1, sizeof(*$$));
320 | '!' addrmask { $$ = calloc(1, sizeof(*$$));
348 addrmask { $$ = calloc(1, sizeof(iphtent_t));
544 $$ = calloc(1, size);
554 | ipaddr { $$ = calloc(1, sizeof(*$$));
684 hlist = calloc(1, sizeof(*hlist)); in add_htablehosts()
697 h = calloc(1, sizeof(*h)); in add_htablehosts()
[all …]
/freebsd/contrib/libfido2/fuzz/
H A Dudev.c85 if ((child->parent = calloc(1, sizeof(*child->parent))) == NULL) in __wrap_udev_device_get_parent_with_subsystem_devtype()
121 if ((udev_device = calloc(1, sizeof(*udev_device))) == NULL) in __wrap_udev_device_new_from_syspath()
158 if ((udev = calloc(1, sizeof(*udev))) == NULL) in __wrap_udev_new()
171 if ((udev_enum = calloc(1, sizeof(*udev_enum))) == NULL) in __wrap_udev_enumerate_new()
198 if ((udev_enum->list_entry = calloc(1, in __wrap_udev_enumerate_get_list_entry()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cpp72 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { in INTERCEPTOR() argument
169 void *(*calloc)(uptr n_elements, uptr elem_size); member
176 void *(*calloc)(uptr n_elements, uptr elem_size); member
189 WRAP(malloc), WRAP(free), WRAP(calloc),
193 WRAP(calloc), WRAP(free), WRAP(mallinfo),
/freebsd/contrib/ofed/librdmacm/
H A Dacm.c178 src = calloc(1, sizeof(*src)); in ucma_ib_set_addr()
182 dst = calloc(1, sizeof(*dst)); in ucma_ib_set_addr()
219 hdr = calloc(1, sizeof(*hdr)); in ucma_ib_set_connect()
246 ib_rai = calloc(1, sizeof(*ib_rai)); in ucma_resolve_af_ib()
255 ib_rai->ai_route = calloc(1, (*rai)->ai_route_len); in ucma_resolve_af_ib()
310 sin = calloc(1, sizeof(*sin)); in ucma_ib_save_resp()
323 sin6 = calloc(1, sizeof(*sin6)); in ucma_ib_save_resp()
337 rai->ai_route = calloc(path_cnt, sizeof(*path_data)); in ucma_ib_save_resp()
/freebsd/lib/libiscsiutil/
H A Dchap.c111 bin = calloc(bin_len, 1); in chap_b642bin()
155 bin = calloc(bin_len, 1); in chap_hex2bin()
232 chap = calloc(1, sizeof(*chap)); in chap_new()
333 rchap = calloc(1, sizeof(*rchap)); in rchap_new()
348 rchap->rchap_challenge = calloc(challenge_len, 1); in rchap_receive_bin()
386 response_bin = calloc(response_bin_len, 1); in rchap_get_response_bin()
/freebsd/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/usr.sbin/config/
H A Dconfig.y173 (struct cputype *)calloc(1, sizeof (struct cputype));
201 hint = (struct hint *)calloc(1, sizeof (struct hint));
338 nl = (struct files_name *) calloc(1, sizeof *nl); in newfile()
353 nl = (struct files_name *) calloc(1, sizeof *nl); in newoptionsfile()
365 envvar = (struct envvar *)calloc(1, sizeof (struct envvar)); in newenvvar()
404 np = (struct device *) calloc(1, sizeof *np); in newdev()
468 op = (struct opt *)calloc(1, sizeof (struct opt)); in newopt()
/freebsd/usr.sbin/bhyve/
H A Dbhyvegc.c48 gc = calloc(1, sizeof (struct bhyvegc)); in bhyvegc_init()
50 gc_image = calloc(1, sizeof(struct bhyvegc_image)); in bhyvegc_init()
57 gc_image->data = calloc(width * height, sizeof (uint32_t)); in bhyvegc_init()
H A Dqemu_loader.c84 element = calloc(1, sizeof(struct qemu_loader_element)); in qemu_loader_alloc()
115 element = calloc(1, sizeof(struct qemu_loader_element)); in qemu_loader_add_checksum()
143 element = calloc(1, sizeof(struct qemu_loader_element)); in qemu_loader_add_pointer()
172 loader = calloc(1, sizeof(struct qemu_loader)); in qemu_loader_create()
260 data = calloc(1, len); in qemu_loader_finish()
/freebsd/sbin/ipf/ipsend/
H A Dsock.c188 o = (struct file **)calloc(fd->fd_lastfile + 1, sizeof(*o)); in find_tcp()
195 f = (struct file *)calloc(1, sizeof(*f)); in find_tcp()
203 s = (struct socket *)calloc(1, sizeof(*s)); in find_tcp()
211 i = (struct inpcb *)calloc(1, sizeof(*i)); in find_tcp()
219 t = (struct tcpcb *)calloc(1, sizeof(*t)); in find_tcp()
/freebsd/usr.sbin/mptutil/
H A Dmpt_cam.c78 ccb.cdm.matches = calloc(1, bufsize); in fetch_path_id()
83 ccb.cdm.patterns = calloc(1, bufsize); in fetch_path_id()
152 ccb.cdm.matches = calloc(1, bufsize); in mpt_query_disk()
157 ccb.cdm.patterns = calloc(1, bufsize); in mpt_query_disk()
357 inq_buf = calloc(1, sizeof(*inq_buf)); in fetch_scsi_inquiry()
417 ccb.cdm.matches = calloc(1, bufsize); in mpt_fetch_disks()
422 ccb.cdm.patterns = calloc(1, bufsize); in mpt_fetch_disks()
484 disks = calloc(ccb.cdm.num_matches, sizeof(*disks)); in mpt_fetch_disks()
/freebsd/contrib/libfido2/src/
H A Dinfo.c39 v->ptr = calloc(cbor_array_size(item), sizeof(char *)); in decode_string_array()
102 o->name = calloc(cbor_map_size(item), sizeof(char *)); in decode_options()
103 o->value = calloc(cbor_map_size(item), sizeof(bool)); in decode_options()
141 p->ptr = calloc(cbor_array_size(item), sizeof(uint8_t)); in decode_protocols()
226 aa->ptr = calloc(cbor_array_size(item), sizeof(fido_algo_t)); in decode_algorithms()
274 c->name = calloc(cbor_map_size(item), sizeof(char *)); in decode_certs()
275 c->value = calloc(cbor_map_size(item), sizeof(uint64_t)); in decode_certs()
424 if ((ci = calloc(1, sizeof(fido_cbor_info_t))) == NULL) in fido_cbor_info_new()
/freebsd/contrib/libsamplerate/
H A Dsrc_zoh.c172 ZOH_DATA *priv = (ZOH_DATA *) calloc (1, sizeof (ZOH_DATA)) ; in zoh_data_new()
176 priv->last_value = (float *) calloc (channels, sizeof (float)) ; in zoh_data_new()
193 SRC_STATE *state = (SRC_STATE *) calloc (1, sizeof (SRC_STATE)) ; in zoh_state_new()
245 SRC_STATE *to = (SRC_STATE *) calloc (1, sizeof (SRC_STATE)) ; in zoh_copy()
251 ZOH_DATA *to_priv = (ZOH_DATA *) calloc (1, sizeof (ZOH_DATA)) ; in zoh_copy()
H A Dsrc_linear.c183 LINEAR_DATA *priv = (LINEAR_DATA *) calloc (1, sizeof (LINEAR_DATA)) ; in linear_data_new()
187 priv->last_value = (float *) calloc (channels, sizeof (float)) ; in linear_data_new()
204 SRC_STATE *state = (SRC_STATE *) calloc (1, sizeof (SRC_STATE)) ; in linear_state_new()
256 SRC_STATE *to = (SRC_STATE *) calloc (1, sizeof (SRC_STATE)) ; in linear_copy()
262 LINEAR_DATA *to_priv = (LINEAR_DATA *) calloc (1, sizeof (LINEAR_DATA)) ; in linear_copy()
/freebsd/crypto/krb5/src/lib/crypto/crypto_tests/
H A Dt_kperf.c80 block.data = calloc(1, blocksize); in main()
85 outblock.ciphertext.data = calloc(1, outlen); in main()
91 sum.contents = calloc(1, cklen); in main()
/freebsd/contrib/ldns/compat/
H A Dcalloc.c8 void *calloc();
15 calloc(size_t num, size_t size) in calloc() function
/freebsd/usr.sbin/bluetooth/sdpd/
H A Dprovider.c56 provider_p sd = calloc(1, sizeof(*sd)); in provider_register_sd()
57 provider_p bgd = calloc(1, sizeof(*bgd)); in provider_register_sd()
92 provider_p provider = calloc(1, sizeof(*provider)); in provider_register()

12345678910>>...62