/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/ |
H A D | tst.ucaller.ksh | 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/tools/tools/tscdrift/ |
H A D | tscdrift.c | 112 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 D | gen.c | 109 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 D | ncurses.supp | 60 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 D | privsep.c | 28 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 D | alloc.c | 53 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 D | test-ohash.c | 13 return calloc(1,sz); in xmalloc() 19 return calloc(nmemb,sz); in xcalloc() 34 i.calloc = xcalloc; in main()
|
/freebsd/sbin/ipf/ippool/ |
H A D | ippool_y.y | 263 | 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 D | udev.c | 85 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 D | asan_malloc_linux.cpp | 72 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 D | acm.c | 178 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 D | chap.c | 111 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 D | aliases_parse.y | 70 al = calloc(1, sizeof(*al)); 89 it = calloc(1, sizeof(*it)); 101 it = calloc(1, sizeof(*it));
|
/freebsd/usr.bin/column/ |
H A D | column.c | 222 if ((t = tbl = calloc(entries, sizeof(TBL))) == NULL) in maketbl() 224 if ((cols = calloc((maxcols = DEFCOLS), sizeof(*cols))) == NULL) in maketbl() 226 if ((lens = calloc(maxcols, sizeof(int))) == NULL) in maketbl() 242 if ((t->list = calloc(coloff, sizeof(*t->list))) == NULL) in maketbl() 244 if ((t->len = calloc(coloff, sizeof(int))) == NULL) in maketbl() 277 if ((list = calloc((maxentry = DEFNUM), sizeof(*list))) == in input()
|
/freebsd/usr.sbin/bhyve/ |
H A D | bhyvegc.c | 48 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 D | qemu_loader.c | 84 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/usr.sbin/config/ |
H A D | config.y | 173 (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/sbin/ipf/ipsend/ |
H A D | sock.c | 189 o = (struct file **)calloc(fd->fd_lastfile + 1, sizeof(*o)); in find_tcp() 196 f = (struct file *)calloc(1, sizeof(*f)); in find_tcp() 204 s = (struct socket *)calloc(1, sizeof(*s)); in find_tcp() 212 i = (struct inpcb *)calloc(1, sizeof(*i)); in find_tcp() 220 t = (struct tcpcb *)calloc(1, sizeof(*t)); in find_tcp()
|
/freebsd/usr.sbin/mptutil/ |
H A D | mpt_cam.c | 78 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 D | info.c | 39 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/ldns/compat/ |
H A D | calloc.c | 8 void *calloc(); 15 calloc(size_t num, size_t size) in calloc() function
|
/freebsd/usr.sbin/bluetooth/sdpd/ |
H A D | provider.c | 56 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()
|
/freebsd/usr.sbin/nscd/ |
H A D | config.c | 126 retval = calloc(1, in create_configuration_entry() 168 retval->name = calloc(1, size + 1); in create_configuration_entry() 275 new_entries = calloc(config->entries_capacity, in add_configuration_entry() 518 retval = calloc(1, sizeof(*retval)); in init_configuration() 522 retval->entries = calloc(retval->entries_capacity, in init_configuration() 544 config->socket_path = calloc(1, len + 1); in fill_configuration_defaults() 549 config->pidfile_path = calloc(1, len + 1); in fill_configuration_defaults()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | getrrsetbyname-ldns.c | 60 #define calloc(x, y) (xcalloc((x),(y))) macro 121 rrset = calloc(1, sizeof(struct rrsetinfo)); in getrrsetbyname() 177 rrset->rri_rdatas = calloc(rrset->rri_nrdatas, in getrrsetbyname() 187 rrset->rri_sigs = calloc(rrset->rri_nsigs, in getrrsetbyname()
|
/freebsd/usr.bin/gzip/ |
H A D | unpack.c | 188 calloc(unpackd->treelevels, sizeof(*(unpackd->inodesin))); in unpack_parse_header() 190 calloc(unpackd->treelevels, sizeof(*(unpackd->symbolsin))); in unpack_parse_header() 192 calloc(unpackd->treelevels, (sizeof(*(unpackd->tree)))); in unpack_parse_header() 214 unpackd->symbol_eob = unpackd->symbol = calloc(1, unpackd->symbol_size); in unpack_parse_header()
|