Home
last modified time | relevance | path

Searched refs:xzalloc (Results 1 - 25 of 50) sorted by relevance

12

/third_party/toybox/toys/pending/
H A 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()
H A 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()
H A Dmodprobe.c113 *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()
H A 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_le in dhcpd_main()
[all...]
H A 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()
H A 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()
H A Dgetfattr.c76 value = xzalloc(value_len+1); in do_getfattr()
H A Dtftpd.c111 spkt = xzalloc(blksize + 4); in do_action()
112 rpkt = xzalloc(blksize + 4); in do_action()
H A Dsh.c297 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()
H A 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()
H A Dtelnetd.c288 tm = xzalloc(sizeof(struct term_session)); in telnetd_main()
336 tm = xzalloc(sizeof(struct term_session)); in telnetd_main()
/third_party/toybox/toys/posix/
H A Dxargs.c117 *(toys.optargs = xzalloc(2*sizeof(char *)))="echo"; in xargs_main()
162 out = xzalloc((entries+TT.entries+1)*sizeof(char *)); in xargs_main()
H A Dstrings.c50 string = xzalloc(wlen+1); in do_strings()
H A Dod.c268 TT.bufs[0] = xzalloc(TT.w); in od_main()
269 TT.bufs[1] = xzalloc(TT.w); in od_main()
H A Ddu.c100 new = xzalloc(sizeof(*new)); in seen_inode()
/third_party/toybox/lib/
H A Dportability.c72 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()
H A Dargs.c203 *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()
H A Dllist.c141 old = xzalloc(sizeof(struct num_cache)+len); in add_num_cache()
/third_party/fsverity-utils/programs/
H A Dtest_sign_digest.c20 struct libfsverity_digest *d = xzalloc(sizeof(*d) + SHA256_DIGEST_SIZE); in main()
H A Dcmd_measure.c32 d = xzalloc(sizeof(*d) + FS_VERITY_MAX_DIGEST_SIZE); in fsverity_cmd_measure()
H A Dutils.h22 void *xzalloc(size_t size);
H A Dcmd_dump_metadata.c125 buf = xzalloc(arg.length); in fsverity_cmd_dump_metadata()
H A Dcmd_digest.c92 d = xzalloc(sizeof(*d) + digest->digest_size); in fsverity_cmd_digest()
/third_party/mesa3d/src/broadcom/cle/
H A Dv3d_decoder.c180 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/porting/liteos_a/toys/posix/
H A Ddu.c86 new = xzalloc(sizeof(*new)); in seen_inode()

Completed in 17 milliseconds

12