Home
last modified time | relevance | path

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

12

/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()
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()
Dvi.c145 char *line = xzalloc(80); in linelist_load()
148 xzalloc(sizeof(struct str_line))); in linelist_load()
158 char *line = xzalloc(80); in linelist_load()
169 xzalloc(sizeof(struct str_line))); in linelist_load()
356 char *t = xzalloc(c_r->line->alloc_len); in i_insert()
386 l->str_data = xzalloc(l_a); in i_split()
492 il = xzalloc(sizeof(struct str_line)); in vi_main()
493 il->str_data = xzalloc(80); in vi_main()
Dtar.c116 new = xzalloc(sizeof(*new)); in seen_inode()
465 *list = xzalloc(sizeof(struct arg_list)); in add_to_list()
491 struct archive_handler *tar_hdl = xzalloc(sizeof(struct archive_handler)); in init_handler()
534 char *value = NULL, *p, *buf = xzalloc(size+1); in process_extended_hdr()
645 file_hdr->name = xzalloc(256);// pathname supported size in unpack_tar()
679 longlink = xzalloc(file_hdr->size +1); in unpack_tar()
685 longname = xzalloc(file_hdr->size +1); in unpack_tar()
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()
1781 ia_addr = xzalloc(ia_addr_len); in dhcpd_main()
1795 status_code = xzalloc(status_code_len); in dhcpd_main()
[all …]
Dmodprobe.c119 *head = xzalloc(sizeof(struct arg_list)); in llist_add_tail()
157 modentry = xzalloc(sizeof(*modentry)); in get_mod()
415 char *opt = xzalloc(1); in add_cmdopt()
520 TT.dirs = xzalloc(sizeof(struct arg_list)); in modprobe_main()
Ddiff.c123 struct candidate *c = xzalloc(sizeof(struct candidate)); in new_candidate()
269 v[i] = xzalloc(size * sizeof(struct v_vector)); in create_j_vector()
270 TT.offset[i] = xzalloc(size * sizeof(int)); in create_j_vector()
311 p_vector = xzalloc((file[0].len + 2) * sizeof(int)); in create_j_vector()
322 kcand = xzalloc(size * sizeof(struct candidate*)); in create_j_vector()
340 J = xzalloc((file[0].len + 2) * sizeof(int)); in create_j_vector()
544 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);
Dtftp.c276 packet = (uint8_t*) xzalloc(TFTP_IOBUFSIZE); in file_get()
391 packet = (uint8_t*)xzalloc(TFTP_IOBUFSIZE); in file_put()
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.c164 xzalloc(size_t s) in xzalloc() function
206 group = xzalloc(sizeof(*group)); in create_group()
232 e = xzalloc(sizeof(*e)); in create_enum()
340 field = xzalloc(sizeof(*field)); in create_field()
374 struct v3d_value *value = xzalloc(sizeof(*value)); in create_value()
511 field->inline_enum.values = xzalloc(size); in end_element()
518 e->values = xzalloc(size); in end_element()
612 ctx.spec = xzalloc(sizeof(*ctx.spec)); in v3d_spec_load()
/external/fsverity-utils/
Delide_patch.c54 ext = xzalloc(sizeof(*ext)); in parse_elide_option()
97 ext = xzalloc(sizeof(*ext) + length); in parse_patch_option()
145 exts = xzalloc(num_exts * sizeof(exts[0])); in load_elisions_and_patches()
Dhash_algs.c76 ctx = xzalloc(sizeof(*ctx)); in openssl_digest_ctx_create()
150 struct crc32c_hash_ctx *ctx = xzalloc(sizeof(*ctx)); in create_crc32c_ctx()
Dcmd_measure.c33 d = xzalloc(sizeof(*d) + FS_VERITY_MAX_DIGEST_SIZE); in fsverity_cmd_measure()
Dsign.c507 data_to_sign = xzalloc(data_size); in append_signed_measurement()
536 tmp = extbuf = xzalloc(FSVERITY_EXTLEN(sig_size)); in append_signed_measurement()
/external/toybox/toys/posix/
Dxargs.c128 *(toys.optargs = xzalloc(2*sizeof(char *)))="echo"; in xargs_main()
173 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.c96 new = xzalloc(sizeof(*new)); in seen_inode()
/external/toybox/lib/
Dargs.c205 *list = xzalloc(sizeof(struct arg_list)); in gotflag()
266 new = xzalloc(sizeof(struct opts)); in parse_optflaglist()
396 toys.optargs = xzalloc(sizeof(char *)*saveflags); in get_optflags()
Dllist.c123 old = xzalloc(sizeof(struct num_cache)+len); in add_num_cache()
Dportability.c140 mt = xzalloc(sizeof(struct mtab_list) + strlen(me->mnt_fsname) + in xgetmountlist()
/external/wayland/src/
Dscanner.c256 xzalloc(size_t s) in xzalloc() function
408 message = xzalloc(sizeof *message); in create_message()
431 arg = xzalloc(sizeof *arg); in create_arg()
494 enumeration = xzalloc(sizeof *enumeration); in create_enumeration()
508 entry = xzalloc(sizeof *entry); in create_entry()
547 interface = xzalloc(sizeof *interface); in create_interface()
800 description = xzalloc(sizeof *description); in start_element()

12