Home
last modified time | relevance | path

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

123456

/busybox-1.35.0/archival/libarchive/
Dinit_handle.c13 archive_handle = xzalloc(sizeof(archive_handle_t)); in init_handle()
14 archive_handle->file_header = xzalloc(sizeof(file_header_t)); in init_handle()
Ddecompress_uncompress.c106 inbuf = xzalloc(IBUFSIZ + 64); in IF_DESKTOP()
107 outbuf = xzalloc(OBUFSIZ + 2048); in IF_DESKTOP()
108 htab = xzalloc(HSIZE); /* wasn't zeroed out before, maybe can xmalloc? */ in IF_DESKTOP()
109 codetab = xzalloc(HSIZE * sizeof(codetab[0])); in IF_DESKTOP()
Dget_header_cpio.c67 file_header->name = xzalloc(namesize + 1); in get_header_cpio()
93 file_header->link_target = xzalloc(file_header->size + 1); in get_header_cpio()
Dopen_transformer.c164 xstate = xzalloc(sizeof(*xstate)); in setup_transformer_on_fd()
259 transformer_state_t *xstate = xzalloc(sizeof(*xstate)); in setup_lzma_on_fd()
279 xstate = xzalloc(sizeof(*xstate)); in open_transformer()
/busybox-1.35.0/networking/libiproute/
Drt_names.c98 rtnl_rtprot_tab = xzalloc(sizeof(*rtnl_rtprot_tab)); in rtnl_rtprot_initialize()
131 rtnl_rtscope_tab = xzalloc(sizeof(*rtnl_rtscope_tab)); in rtnl_rtscope_initialize()
165 rtnl_rtrealm_tab = xzalloc(sizeof(*rtnl_rtrealm_tab)); in rtnl_rtrealm_initialize()
197 rtnl_rtdsfield_tab = xzalloc(sizeof(*rtnl_rtdsfield_tab)); in rtnl_rtdsfield_initialize()
230 rtnl_rttable_tab = xzalloc(sizeof(*rtnl_rttable_tab)); in rtnl_rttable_initialize()
/busybox-1.35.0/libbb/
Dconst_hack.c14 ASSIGN_CONST_PTR(pptr, xzalloc(size)); in XZALLOC_CONST_PTR()
Dcommon_bufsiz.c75 *(char**)&bb_common_bufsiz1 = xzalloc(COMMON_BUFSIZE); in setup_common_bufsiz()
Dpw_encrypt.c115 return md5_crypt(xzalloc(MD5_OUT_BUFSIZE), (unsigned char*)key, (unsigned char*)salt); in my_crypt()
126 return des_crypt(des_ctx, xzalloc(DES_OUT_BUFSIZE), (unsigned char*)key, (unsigned char*)salt); in my_crypt()
Drun_shell.c62 args = xzalloc(sizeof(args[0]) * (2 + (args - additional_args))); in exec_shell()
Dfind_pid_by_name.c87 pidList = xzalloc(sizeof(*pidList)); in find_pid_by_name()
Dllist.c29 *list_head = xzalloc(sizeof(llist_t)); in llist_add_to_end()
Dxconnect.c83 lsa_ptr = xzalloc(LSA_LEN_SIZE + lsa.len); in get_lsa()
193 r = xzalloc(LSA_LEN_SIZE + sizeof(struct sockaddr_un));
252 r = xzalloc(LSA_LEN_SIZE + sizeof(struct sockaddr_in));
265 r = xzalloc(LSA_LEN_SIZE + sizeof(struct sockaddr_in6));
369 lsa = xzalloc(LSA_LEN_SIZE + len); in xsocket_type()
Dinode_hash.c73 ino_dev_hashtable = xzalloc(HASH_SIZE * sizeof(*ino_dev_hashtable)); in add_to_ino_dev_hashtable()
/busybox-1.35.0/mailutils/
Dmail.h22 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
/busybox-1.35.0/networking/
Disrv_identd.c48 identd_buf_t *buf = xzalloc(sizeof(*buf)); in new_peer()
107 identd_buf_t *buf = xzalloc(sizeof(*buf)); in inetd_mode()
Dtcpudp_perhost.c16 struct hcc *cc = xzalloc((c + 1) * sizeof(*cc)); in ipsvd_perhost_init()
Ddnsd.c139 m = xzalloc(sizeof(*m) + strlen(token[0]) + 1); in parse_conf_file()
544 from = xzalloc(lsa_size); in dnsd_main()
545 to = xzalloc(lsa_size); in dnsd_main()
/busybox-1.35.0/procps/
Dnmeter.c115 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
333 s_stat *s = xzalloc(sizeof(*s)); in init_literal()
422 s = xzalloc(sizeof(*s) + sz); in init_cpu()
452 int_stat *s = xzalloc(sizeof(*s)); in init_int()
485 ctx_stat *s = xzalloc(sizeof(*s)); in init_ctx()
529 blk_stat *s = xzalloc(sizeof(*s)); in init_blk()
568 fork_stat *s = xzalloc(sizeof(*s)); in init_fork()
612 if_stat *s = xzalloc(sizeof(*s)); in init_if()
699 mem_stat *s = xzalloc(sizeof(*s)); in init_mem()
723 swp_stat *s = xzalloc(sizeof(*s)); in init_swp()
[all …]
/busybox-1.35.0/e2fsprogs/
Dtune2fs.c65 sb = xzalloc(1024); in tune2fs_main()
/busybox-1.35.0/miscutils/
Dubirename.c71 rnvol = xzalloc(sizeof(*rnvol)); in ubirename_main()
Dstrings.c60 string = xzalloc(n + 1); in strings_main()
/busybox-1.35.0/coreutils/
Dtee.c90 fp = files = xzalloc(sizeof(FILE *) * (argc + 2)); in tee_main()
/busybox-1.35.0/modutils/
Dmodprobe-small.c124 SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
159 char *copy = xzalloc(stringbuf_idx + 1); /* terminating NUL */ in copy_stringbuf()
466 modinfo[cur].deps = linebuf ? linebuf : xzalloc(1); in load_dep_bb()
560 infovec = xzalloc(2 * sizeof(infovec[0])); in find_alias()
759 infovec = xzalloc(2 * sizeof(infovec[0])); in process_module()
944 modinfo = xzalloc(sizeof(modinfo[0])); in modprobe_main()
/busybox-1.35.0/networking/udhcp/
Ddomain_codec.c13 # define xzalloc(s) calloc(s, 1) macro
115 res = xzalloc(strlen(src) + 2); in convert_dname()
/busybox-1.35.0/util-linux/volume_id/
Dunused_mac.c90 id->partitions = xzalloc(part_count * sizeof(struct volume_id_partition)); in volume_id_probe_mac_partition_map()

123456