Home
last modified time | relevance | path

Searched refs:xzalloc (Results 1 – 25 of 48) sorted by relevance

12

/external/arm-trusted-firmware/tools/sptool/
Dsptool.c53 static void *xzalloc(size_t size, const char *msg) in xzalloc() function
136 tmp = xzalloc(sizeof(struct arg_list), in append_user_input()
144 tmp->next = xzalloc(sizeof(struct arg_list), in append_user_input()
202 sp_pkg = xzalloc(sizeof(struct sp_pkg_info), in load_sp_pm()
/external/toybox/toys/pending/
Dfsck.c92 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()
Dgetopt.c62 char **argv = xzalloc(sizeof(char *)*(argc+1)); in getopt_main()
63 struct option *lopts = xzalloc(sizeof(struct option)*argc), *lopt = lopts; in getopt_main()
Dsyslogd.c165 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()
Dmodprobe.c117 *head = xzalloc(sizeof(struct arg_list)); in llist_add_tail()
155 modentry = xzalloc(sizeof(*modentry)); in get_mod()
409 char *opt = xzalloc(1); in add_cmdopt()
509 TT.dirs = xzalloc(sizeof(struct arg_list)); in modprobe_main()
Ddhcpd.c672 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 …]
Ddiff.c125 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()
Dtftpd.c96 spkt = xzalloc(blksize + 4); in do_action()
97 rpkt = xzalloc(blksize + 4); in do_action()
Dcrond.c89 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()
Dgetfattr.c76 value = xzalloc(value_len+1);
Dlsof.c130 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()
/external/mesa3d/src/broadcom/cle/
Dv3d_decoder.c169 xzalloc(size_t s) in xzalloc() function
211 group = xzalloc(sizeof(*group)); in create_group()
237 e = xzalloc(sizeof(*e)); in create_enum()
347 field = xzalloc(sizeof(*field)); in create_field()
384 struct v3d_value *value = xzalloc(sizeof(*value)); in create_value()
579 field->inline_enum.values = xzalloc(size); in end_element()
586 e->values = xzalloc(size); in end_element()
686 ctx.spec = xzalloc(sizeof(*ctx.spec)); in v3d_spec_load()
/external/toybox/toys/posix/
Dxargs.c123 *(toys.optargs = xzalloc(2*sizeof(char *)))="echo"; in xargs_main()
166 out = xzalloc((entries+TT.entries+1)*sizeof(char *)); in xargs_main()
Dstrings.c50 string = xzalloc(wlen+1);
Dod.c268 TT.bufs[0] = xzalloc(TT.w); in od_main()
269 TT.bufs[1] = xzalloc(TT.w); in od_main()
Ddu.c100 new = xzalloc(sizeof(*new)); in seen_inode()
/external/fsverity-utils/programs/
Dtest_sign_digest.c20 struct libfsverity_digest *d = xzalloc(sizeof(*d) + SHA256_DIGEST_SIZE); in main()
Dutils.h22 void *xzalloc(size_t size);
Dcmd_measure.c32 d = xzalloc(sizeof(*d) + FS_VERITY_MAX_DIGEST_SIZE); in fsverity_cmd_measure()
Dcmd_digest.c88 d = xzalloc(sizeof(*d) + digest->digest_size); in fsverity_cmd_digest()
Dutils.c32 void *xzalloc(size_t size) in xzalloc() function
/external/toybox/lib/
Dargs.c204 *list = xzalloc(sizeof(struct arg_list)); in gotflag()
266 new = xzalloc(sizeof(struct opts)); in parse_optflaglist()
398 toys.optargs = xzalloc(sizeof(char *)*saveflags); in get_optflags()
Dportability.c72 mt = xzalloc(sizeof(struct mtab_list) + strlen(me->f_fstypename) + in xgetmountlist()
164 mt = xzalloc(sizeof(struct mtab_list) + strlen(me->mnt_fsname) + in xgetmountlist()
197 struct xnotify *not = xzalloc(sizeof(struct xnotify)); in xnotify_init()
244 struct xnotify *not = xzalloc(sizeof(struct xnotify)); in xnotify_init()
Dllist.c141 old = xzalloc(sizeof(struct num_cache)+len); in add_num_cache()
/external/wayland/src/
Dscanner.c276 xzalloc(size_t s) in xzalloc() function
428 message = xzalloc(sizeof *message); in create_message()
452 arg = xzalloc(sizeof *arg); in create_arg()
515 enumeration = xzalloc(sizeof *enumeration); in create_enumeration()
530 entry = xzalloc(sizeof *entry); in create_entry()
569 interface = xzalloc(sizeof *interface); in create_interface()
891 description = xzalloc(sizeof *description); in start_element()

12