| /trueos/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/vars/ |
| HD | 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;
|
| /trueos/contrib/flex/ |
| HD | gen.c | 107 tbl = (struct yytbl_data *) calloc (1, sizeof (struct yytbl_data)); in mkeoltbl() 112 (flex_int8_t *) calloc (tbl->td_lolen, sizeof (flex_int8_t)); in mkeoltbl() 214 tbl = (struct yytbl_data *) calloc (1, sizeof (struct yytbl_data)); in mkctbl() 221 (flex_int32_t *) calloc (tbl->td_lolen * 2, sizeof (flex_int32_t)); in mkctbl() 310 tbl = (struct yytbl_data *) calloc (1, sizeof (struct yytbl_data)); in mkssltbl() 317 (flex_int32_t *) calloc (tbl->td_lolen, sizeof (flex_int32_t)); in mkssltbl() 440 tbl = (struct yytbl_data *) calloc (1, sizeof (struct yytbl_data)); in mkecstbl() 447 (flex_int32_t *) calloc (tbl->td_lolen, sizeof (flex_int32_t)); in mkecstbl() 646 tbl = (struct yytbl_data *) calloc (1, sizeof (struct yytbl_data)); in mkftbl() 653 (flex_int32_t *) calloc (tbl->td_lolen, sizeof (flex_int32_t)); in mkftbl() [all …]
|
| /trueos/contrib/ipfilter/ipsend/ |
| HD | sock.c | 229 o = (struct file **)calloc(1, sizeof(*o) * (up->u_lastfile + 1)); 236 f = (struct file *)calloc(1, sizeof(*f)); 244 s = (struct socket *)calloc(1, sizeof(*s)); 252 i = (struct inpcb *)calloc(1, sizeof(*i)); 260 t = (struct tcpcb *)calloc(1, sizeof(*t)); 333 o = (struct file **)calloc(1, sizeof(*o) * (fd->fd_lastfile + 1)); 340 f = (struct file *)calloc(1, sizeof(*f)); 348 s = (struct socket *)calloc(1, sizeof(*s)); 356 i = (struct inpcb *)calloc(1, sizeof(*i)); 364 t = (struct tcpcb *)calloc(1, sizeof(*t));
|
| /trueos/contrib/ldns/ |
| HD | duration.c | 254 str = (char*) calloc(count, sizeof(char)); in ldns_duration2string() 260 num = (char*) calloc(count+2, sizeof(char)); in ldns_duration2string() 267 num = (char*) calloc(count+2, sizeof(char)); in ldns_duration2string() 274 num = (char*) calloc(count+2, sizeof(char)); in ldns_duration2string() 281 num = (char*) calloc(count+2, sizeof(char)); in ldns_duration2string() 291 num = (char*) calloc(count+2, sizeof(char)); in ldns_duration2string() 298 num = (char*) calloc(count+2, sizeof(char)); in ldns_duration2string() 305 num = (char*) calloc(count+2, sizeof(char)); in ldns_duration2string()
|
| /trueos/sbin/dhclient/ |
| HD | privsep.c | 30 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()
|
| HD | 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()
|
| /trueos/contrib/ncurses/misc/ |
| HD | ncurses.supp | 59 fun:calloc 66 fun:calloc 122 fun:calloc 130 fun:calloc 146 fun:calloc 153 fun:calloc 185 fun:calloc
|
| /trueos/contrib/ipfilter/tools/ |
| HD | ippool_y.y | 269 | addrmask next grouplist { $$ = calloc(1, sizeof(iphtent_t)); 276 | addrmask next { $$ = calloc(1, sizeof(iphtent_t)); 298 addrmask ',' setgroup { $$ = calloc(1, sizeof(iphtent_t)); 313 range: addrmask { $$ = calloc(1, sizeof(*$$)); 318 | '!' addrmask { $$ = calloc(1, sizeof(*$$)); 338 addrmask { $$ = calloc(1, sizeof(iphtent_t)); 534 $$ = calloc(1, size); 544 | ipaddr { $$ = calloc(1, sizeof(*$$)); 679 hlist = calloc(1, sizeof(*hlist)); 692 h = calloc(1, sizeof(*h)); [all …]
|
| /trueos/cddl/contrib/opensolaris/cmd/sgs/tools/common/ |
| HD | string_table.c | 163 if ((stp = calloc(sizeof (Str_tbl), 1)) == NULL) in st_new() 178 if ((stp->st_lentree = calloc(sizeof (avl_tree_t), 1)) == NULL) in st_new() 230 if ((lnp = calloc(sizeof (LenNode), 1)) == NULL) in st_insert() 235 if ((lnp->ln_strtree = calloc(sizeof (avl_tree_t), 1)) == NULL) in st_insert() 249 if ((snp = calloc(sizeof (StrNode), 1)) == NULL) in st_insert() 516 if ((mstr = calloc(sizeof (Str_hash), 1)) == 0) in st_hash_insert() 531 if ((sthash = calloc(sizeof (Str_hash), 1)) == 0) in st_hash_insert() 573 calloc(sizeof (Str_hash), stp->st_hbckcnt)) == NULL) in st_getstrtab_sz()
|
| /trueos/usr.sbin/iscsid/ |
| HD | chap.c | 118 bin = calloc(bin_len, 1); in chap_b642bin() 162 bin = calloc(bin_len, 1); in chap_hex2bin() 240 chap = calloc(sizeof(*chap), 1); in chap_new() 349 rchap = calloc(sizeof(*rchap), 1); in rchap_new() 364 rchap->rchap_challenge = calloc(challenge_len, 1); in rchap_receive_bin() 402 response_bin = calloc(response_bin_len, 1); in rchap_get_response_bin()
|
| /trueos/usr.sbin/ctld/ |
| HD | chap.c | 118 bin = calloc(bin_len, 1); in chap_b642bin() 162 bin = calloc(bin_len, 1); in chap_hex2bin() 240 chap = calloc(sizeof(*chap), 1); in chap_new() 349 rchap = calloc(sizeof(*rchap), 1); in rchap_new() 364 rchap->rchap_challenge = calloc(challenge_len, 1); in rchap_receive_bin() 402 response_bin = calloc(response_bin_len, 1); in rchap_get_response_bin()
|
| /trueos/usr.bin/column/ |
| HD | column.c | 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() 255 if ((t->list = calloc(coloff, sizeof(*t->list))) == NULL) in maketbl() 257 if ((t->len = calloc(coloff, sizeof(int))) == NULL) in maketbl() 285 if ((list = calloc((maxentry = DEFNUM), sizeof(*list))) == in input()
|
| /trueos/usr.bin/grep/regex/ |
| HD | xmalloc.h | 56 #undef calloc 61 #define calloc USE_XCALLOC_INSTEAD_OF_CALLOC macro 70 #define xcalloc(nmemb, size) calloc(nmemb, size)
|
| /trueos/crypto/openssh/openbsd-compat/ |
| HD | bsd-poll.c | 61 if ((readfds = calloc(nmemb, sizeof(fd_mask))) == NULL || in poll() 62 (writefds = calloc(nmemb, sizeof(fd_mask))) == NULL || in poll() 63 (exceptfds = calloc(nmemb, sizeof(fd_mask))) == NULL) { in poll()
|
| HD | 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()
|
| /trueos/contrib/ofed/management/infiniband-diags/src/ |
| HD | mcm_rereg_test.c | 168 umad = calloc(1, len); in rereg_send_all() 203 umad = calloc(1, len); 254 umad = calloc(1, len); in rereg_recv_all() 308 umad = calloc(1, len); in rereg_query_all() 351 umad = calloc(1, len); 392 list = calloc(MAX_CLIENTS, sizeof(*list)); in rereg_and_test_port() 453 umad = calloc(1, len); in main()
|
| /trueos/contrib/ldns/compat/ |
| HD | calloc.c | 8 void *calloc(); 15 calloc(size_t num, size_t size) in calloc() function
|
| /trueos/usr.sbin/config/ |
| HD | mkoptions.c | 72 op = (struct opt *)calloc(1, sizeof(*op)); in options() 90 op = (struct opt *)calloc(1, sizeof(*op)); in options() 105 op = (struct opt *)calloc(1, sizeof(*op)); in options() 233 op = (struct opt *) calloc(1, sizeof *op); in do_option() 261 op = (struct opt *) calloc(1, sizeof *op); in do_option() 332 po = (struct opt_list *) calloc(1, sizeof *po); in insert_option()
|
| /trueos/usr.sbin/mptutil/ |
| HD | mpt_cam.c | 79 ccb.cdm.matches = calloc(1, bufsize); in fetch_path_id() 84 ccb.cdm.patterns = calloc(1, bufsize); in fetch_path_id() 153 ccb.cdm.matches = calloc(1, bufsize); in mpt_query_disk() 158 ccb.cdm.patterns = calloc(1, bufsize); in mpt_query_disk() 361 inq_buf = calloc(1, sizeof(*inq_buf)); in fetch_scsi_inquiry() 421 ccb.cdm.matches = calloc(1, bufsize); in mpt_fetch_disks() 426 ccb.cdm.patterns = calloc(1, bufsize); in mpt_fetch_disks() 488 disks = calloc(ccb.cdm.num_matches, sizeof(*disks)); in mpt_fetch_disks()
|
| /trueos/usr.sbin/bluetooth/sdpd/ |
| HD | provider.c | 54 provider_p sd = calloc(1, sizeof(*sd)); in provider_register_sd() 55 provider_p bgd = calloc(1, sizeof(*bgd)); in provider_register_sd() 90 provider_p provider = calloc(1, sizeof(*provider)); in provider_register()
|
| /trueos/crypto/heimdal/kdc/ |
| HD | headers.h | 110 #define ALLOC(X) ((X) = calloc(1, sizeof(*(X)))) 113 (X)->val = calloc((X)->len, sizeof(*(X)->val)); } while(0)
|
| /trueos/usr.sbin/nscd/ |
| HD | config.c | 128 retval = calloc(1, in create_configuration_entry() 170 retval->name = calloc(1, size + 1); in create_configuration_entry() 277 new_entries = calloc(1, in add_configuration_entry() 521 retval = calloc(1, sizeof(*retval)); in init_configuration() 525 retval->entries = calloc(1, in init_configuration() 548 config->socket_path = calloc(1, len + 1); in fill_configuration_defaults() 553 config->pidfile_path = calloc(1, len + 1); in fill_configuration_defaults()
|
| /trueos/usr.bin/gzip/ |
| HD | unpack.c | 186 calloc(unpackd->treelevels, sizeof(*(unpackd->inodesin))); in unpack_parse_header() 188 calloc(unpackd->treelevels, sizeof(*(unpackd->symbolsin))); in unpack_parse_header() 190 calloc(unpackd->treelevels, (sizeof (*(unpackd->tree)))); in unpack_parse_header() 211 unpackd->symbol_eob = unpackd->symbol = calloc(1, unpackd->symbol_size); in unpack_parse_header()
|
| /trueos/sbin/pfctl/ |
| HD | parse.y | 1006 loadanchor = calloc(1, sizeof(struct loadanchors)); 1217 j = calloc(1, sizeof(struct node_if)); 1228 h = calloc(1, sizeof(*h)); 1436 if (!(ti = calloc(1, sizeof(*ti)))) 1446 if (!(ti = calloc(1, sizeof(*ti)))) 1824 $$ = calloc(1, sizeof(struct node_queue)); 2596 $$ = calloc(1, sizeof(struct node_if)); 2643 $$ = calloc(1, sizeof(struct node_proto)); 2692 $$ = calloc(1, sizeof(struct node_os)); 2778 $$ = calloc(1, sizeof(struct node_host)); [all …]
|
| /trueos/usr.sbin/asl/ |
| HD | syslogd.c | 133 m_asl = (module_t *)calloc(1, sizeof(module_t)); in init_modules() 150 m_bsd_out = (module_t *)calloc(1, sizeof(module_t)); in init_modules() 170 m_klog_in = (module_t *)calloc(1, sizeof(module_t)); in init_modules() 187 m_bsd_in = (module_t *)calloc(1, sizeof(module_t)); in init_modules() 204 m_udp_in = (module_t *)calloc(1, sizeof(module_t)); in init_modules() 220 m_remote = (module_t *)calloc(1, sizeof(module_t)); in init_modules() 242 global.module = (module_t **)calloc(global.module_count, sizeof(module_t *)); in init_modules() 515 global.db_lock = (pthread_mutex_t *)calloc(1, sizeof(pthread_mutex_t)); in main()
|