/third_party/toybox/toys/pending/ |
D | fsck.c | 92 temp->next = xzalloc(sizeof(struct f_sys_info)); in create_db() 94 } else filesys_info = temp = xzalloc(sizeof(struct f_sys_info)); in create_db() 126 TT.arr_flag = xzalloc(n + 1); in fix_tlist() 127 TT.arr_type = xzalloc((n + 1) * sizeof(char *)); in fix_tlist() 202 args = xzalloc((toys.optc + 2 + 1 + 1) * sizeof(char*)); //+1, for NULL, +1 if -C in do_fsck() 234 child = xzalloc(sizeof(struct child_list)); //Parent, add to child list. in do_fsck()
|
D | syslogd.c | 165 file = xzalloc(sizeof(struct logfile)); in parse_config_file() 177 file = xzalloc(sizeof(struct logfile)); in parse_config_file() 209 file = xzalloc(sizeof(struct logfile)); in parse_config_file() 226 file = xzalloc(sizeof(struct logfile)); in parse_config_file() 419 tsd = xzalloc(sizeof(struct unsocks)); in syslogd_main() 427 tsd = xzalloc(sizeof(struct unsocks)); in syslogd_main()
|
D | getopt.c | 62 char **argv = xzalloc(sizeof(char *)*(argc+1)); in getopt_main() 63 struct option *lopts = xzalloc(sizeof(struct option)*argc), *lopt = lopts; in getopt_main()
|
D | dhcpd.c | 672 sltmp = xzalloc(sizeof(struct static_lease_s)); in get_staticlease() 1136 *list = xzalloc(len+1); in get_reqparam() 1368 dls = xzalloc(sizeof(dyn_lease)); in addip_to_lease() 1376 listdls = xzalloc(sizeof(struct arg_list)); in addip_to_lease() 1399 dls6 = xzalloc(sizeof(dyn_lease6)); in addip6_to_lease() 1409 listdls = xzalloc(sizeof(struct arg_list)); in addip6_to_lease() 1550 dls = xzalloc(sizeof(dyn_lease)); in read_leasefile() 1581 dls6 = xzalloc(sizeof(dyn_lease6)); in read_lease6file() 1780 ia_addr = xzalloc(ia_addr_len); in dhcpd_main() 1794 status_code = xzalloc(status_code_len); in dhcpd_main() [all …]
|
D | modprobe.c | 113 *head = xzalloc(sizeof(struct arg_list)); in llist_add_tail() 151 modentry = xzalloc(sizeof(*modentry)); in get_mod() 380 char *opt = xzalloc(1); in add_cmdopt() 479 TT.dirs = xzalloc(sizeof(struct arg_list)); in modprobe_main()
|
D | diff.c | 125 struct candidate *c = xzalloc(sizeof(struct candidate)); in new_candidate() 274 v[i] = xzalloc(size * sizeof(struct v_vector)); in create_j_vector() 275 TT.offset[i] = xzalloc(size * sizeof(int)); in create_j_vector() 316 p_vector = xzalloc((file[0].len + 2) * sizeof(int)); in create_j_vector() 327 kcand = xzalloc(size * sizeof(struct candidate*)); in create_j_vector() 345 J = xzalloc((file[0].len + 2) * sizeof(int)); in create_j_vector() 601 d = xzalloc(size *sizeof(struct diff)); in do_diff()
|
D | crond.c | 89 smsg = xzalloc(++used); in loginfo() 265 j = xzalloc(sizeof(JOB)); in parse_line() 289 v = xzalloc(sizeof(VAR)); in parse_line() 389 cfile = xzalloc(sizeof(CRONFILE)); in scan_cronfiles()
|
D | tftpd.c | 111 spkt = xzalloc(blksize + 4); in do_action() 112 rpkt = xzalloc(blksize + 4); in do_action()
|
D | getfattr.c | 76 value = xzalloc(value_len+1);
|
D | sh.c | 297 struct sh_process *pp = xzalloc(sizeof(struct sh_process)); in run_command() 757 arg[pl->count].v = xzalloc(2*sizeof(void *)); in parse_line() 779 pl = xzalloc(sizeof(struct sh_pipeline)); in parse_line() 1097 new = xzalloc(sizeof(*blk)); in run_function()
|
D | tftp.c | 276 packet = (uint8_t*) xzalloc(TFTP_IOBUFSIZE); in file_get() 391 packet = (uint8_t*)xzalloc(TFTP_IOBUFSIZE); in file_put()
|
D | lsof.c | 130 struct file_info *fi = xzalloc(sizeof(struct file_info)); in add_socket() 291 struct file_info *fi = xzalloc(sizeof(struct file_info)); in new_file_info()
|
/third_party/mesa3d/src/broadcom/cle/ |
D | v3d_decoder.c | 180 xzalloc(size_t s) in xzalloc() function 222 group = xzalloc(sizeof(*group)); in create_group() 248 e = xzalloc(sizeof(*e)); in create_enum() 313 field = xzalloc(sizeof(*field)); in create_field() 350 struct v3d_value *value = xzalloc(sizeof(*value)); in create_value() 545 field->inline_enum.values = xzalloc(size); in end_element() 552 e->values = xzalloc(size); in end_element()
|
/third_party/toybox/toys/posix/ |
D | xargs.c | 117 *(toys.optargs = xzalloc(2*sizeof(char *)))="echo"; in xargs_main() 162 out = xzalloc((entries+TT.entries+1)*sizeof(char *)); in xargs_main()
|
D | strings.c | 50 string = xzalloc(wlen+1);
|
D | od.c | 268 TT.bufs[0] = xzalloc(TT.w); in od_main() 269 TT.bufs[1] = xzalloc(TT.w); in od_main()
|
/third_party/toybox/lib/ |
D | portability.c | 72 mt = xzalloc(sizeof(struct mtab_list) + strlen(me->f_fstypename) + in xgetmountlist() 163 mt = xzalloc(sizeof(struct mtab_list) + strlen(me->mnt_fsname) + in xgetmountlist() 196 struct xnotify *not = xzalloc(sizeof(struct xnotify)); in xnotify_init() 243 struct xnotify *not = xzalloc(sizeof(struct xnotify)); in xnotify_init()
|
D | args.c | 203 *list = xzalloc(sizeof(struct arg_list)); in gotflag() 264 new = xzalloc(sizeof(struct opts)); in parse_optflaglist() 394 toys.optargs = xzalloc(sizeof(char *)*saveflags); in get_optflags()
|
D | llist.c | 141 old = xzalloc(sizeof(struct num_cache)+len); in add_num_cache()
|
/third_party/fsverity-utils/programs/ |
D | test_sign_digest.c | 20 struct libfsverity_digest *d = xzalloc(sizeof(*d) + SHA256_DIGEST_SIZE); in main()
|
D | cmd_measure.c | 32 d = xzalloc(sizeof(*d) + FS_VERITY_MAX_DIGEST_SIZE); in fsverity_cmd_measure()
|
D | utils.h | 22 void *xzalloc(size_t size);
|
D | cmd_digest.c | 92 d = xzalloc(sizeof(*d) + digest->digest_size); in fsverity_cmd_digest()
|
D | cmd_dump_metadata.c | 125 buf = xzalloc(arg.length); in fsverity_cmd_dump_metadata()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | du.c | 86 new = xzalloc(sizeof(*new)); in seen_inode()
|