Home
last modified time | relevance | path

Searched refs:xcalloc (Results 1 – 25 of 95) sorted by relevance

1234

/freebsd/contrib/mandoc/
H A Dtest-ohash.c7 static void *xcalloc(size_t, size_t, void *);
17 xcalloc(size_t nmemb, size_t sz, void *arg) in xcalloc() function
34 i.calloc = xcalloc; in main()
/freebsd/contrib/tcsh/
H A Dtc.func.c262 nextword = xcalloc(1, sizeof cmd); in dolist()
267 nextword = xcalloc(1, sizeof cmd); in dolist()
274 nextword = xcalloc(1, sizeof cmd); in dolist()
283 nextword = xcalloc(1, sizeof cmd); in dolist()
291 nextword = xcalloc(1, sizeof cmd); in dolist()
1006 new1 = xcalloc(1, sizeof w); in aliasrun()
1015 new2 = xcalloc(1, sizeof w); in aliasrun()
1326 now->word = xcalloc(1, 5 * sizeof(Char)); in insert()
1329 now = xcalloc(1, sizeof(struct wordent)); in insert()
1330 now->word = xcalloc(1, 6 * sizeof(Char)); in insert()
[all …]
H A Dsh.parse.c262 t = xcalloc(1, sizeof(*t)); in syn0()
270 t = xcalloc(1, sizeof(*t)); in syn0()
313 t = xcalloc(1, sizeof(*t)); in syn1()
354 t = xcalloc(1, sizeof(*t)); in syn1a()
394 t = xcalloc(1, sizeof(*t)); in syn1b()
437 t = xcalloc(1, sizeof(*t)); in syn2()
541 t = xcalloc(1, sizeof(*t)); in syn3()
542 av = xcalloc(n + 1, sizeof(Char **)); in syn3()
H A Dtc.sched.c165 tp = xcalloc(1, sizeof *tp); in dosched()
220 nextword = xcalloc(1, sizeof cmd); in sched_run()
H A Dsh.misc.c185 onewv = newv = xcalloc(blklen(v) + 1, sizeof(Char **)); in saveblk()
230 Char **wp = xcalloc(blklen(up) + blklen(vp) + 1, sizeof(Char **)); in blkspl()
441 Char **nv = xcalloc(blklen(v) + 1, sizeof(Char **)); in copyblk()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-cygwin_util.c106 p = xcalloc(WENV_SIZ + 1, sizeof(char *)); in fetch_windows_environment()
199 ws = (wchar_t *) xcalloc(len + 1, sizeof (wchar_t)); in _match_pattern()
203 wpattern = (wchar_t *) xcalloc(len + 1, sizeof (wchar_t)); in _match_pattern()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Ddwarf.c568 intr = xcalloc(sizeof (intr_t)); in tdesc_intr_common()
573 tdp = xcalloc(sizeof (tdesc_t)); in tdesc_intr_common()
658 ctdp = xcalloc(sizeof (tdesc_t)); in tdesc_array_create()
836 el = xcalloc(sizeof (elist_t)); in die_enum_create()
981 ml = xcalloc(sizeof (mlist_t)); in die_sou_create()
1079 ii = xcalloc(sizeof (iidesc_t)); in die_sou_create()
1230 fn = xcalloc(sizeof (fndef_t)); in die_funcptr_create()
1341 intr = xcalloc(sizeof (intr_t)); in die_base_name_parse()
1593 ii = xcalloc(sizeof (iidesc_t)); in die_function_create()
1666 ii = xcalloc(sizeof (iidesc_t)); in die_variable_create()
[all …]
/freebsd/contrib/diff/lib/
H A Dxalloc.h54 void *xcalloc (size_t n, size_t s);
82 # define XCALLOC(type, n) xcalloc (n, sizeof (type))
/freebsd/crypto/openssh/
H A Dgroupaccess.c64 groups_bygid = xcalloc(ngroups, sizeof(*groups_bygid)); in ga_init()
71 groups_byname = xcalloc(ngroups, sizeof(*groups_byname)); in ga_init()
H A Dauth-bsdauth.c88 *prompts = xcalloc(*numprompts, sizeof(char *)); in bsdauth_query()
89 *echo_on = xcalloc(*numprompts, sizeof(u_int)); in bsdauth_query()
H A Dmonitor_wrap.c287 pw = xcalloc(sizeof(*pw), 1); in mm_getpwnamallow()
314 newopts = xcalloc(sizeof(*newopts), 1); in mm_getpwnamallow()
324 NULL : xcalloc(newopts->nx, sizeof(*newopts->x)); \ in mm_getpwnamallow()
539 *sig_detailsp = xcalloc(1, sizeof(**sig_detailsp)); in mm_sshkey_verify()
740 *prompts = xcalloc((*num + 1), sizeof(char *)); in mm_sshpam_query()
741 *echo_on = xcalloc((*num + 1), sizeof(u_int)); in mm_sshpam_query()
815 *prompts = xcalloc(*numprompts, sizeof(char *)); in mm_chall_setup()
816 *echo_on = xcalloc(*numprompts, sizeof(u_int)); in mm_chall_setup()
H A Dxmalloc.h20 void *xcalloc(size_t, size_t);
H A Dsandbox-null.c50 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
H A Dsandbox-pledge.c50 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
H A Dsandbox-rlimit.c53 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
H A Dsshd.c1000 item = xcalloc(1, sizeof(*item));
1160 startup_pipes = xcalloc(options.max_startups, sizeof(int));
1161 startup_flags = xcalloc(options.max_startups, sizeof(int));
1162 startup_pollfd = xcalloc(options.max_startups, sizeof(int));
1179 pfd = xcalloc(num_listen_socks + options.max_startups,
1638 saved_argv = xcalloc(ac + 1, sizeof(*saved_argv));
1898 sensitive_data.host_keys = xcalloc(options.num_host_key_files,
1900 sensitive_data.host_pubkeys = xcalloc(options.num_host_key_files,
2008 sensitive_data.host_certificates = xcalloc(options.num_host_key_files,
2086 rexec_argv = xcalloc(rexec_argc + 2, sizeof(char *));
[all …]
H A Dsandbox-darwin.c53 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
H A Dsandbox-solaris.c50 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc344 st = (struct shared_state *)xcalloc(1, sizeof(*st)); in main()
350 ts = (struct test_state *)xcalloc(1, sizeof(*ts)); in main()
430 st = (struct shared_state *)xcalloc(1, sizeof(*st)); in LLVMFuzzerTestOneInput()
437 ts = (struct test_state *)xcalloc(1, sizeof(*ts)); in LLVMFuzzerTestOneInput()
447 ts = (struct test_state *)xcalloc(1, sizeof(*ts)); in LLVMFuzzerTestOneInput()
H A Dagent_fuzz_helper.c65 id = xcalloc(1, sizeof(Identity)); in add_key()
74 id = xcalloc(1, sizeof(Identity)); in add_key()
/freebsd/cddl/contrib/opensolaris/tools/ctf/common/
H A Dmemory.h44 void *xcalloc(size_t);
H A Dmemory.c73 xcalloc(size_t size) in xcalloc() function
/freebsd/usr.bin/diff/
H A Dxmalloc.h23 void *xcalloc(size_t, size_t);
H A Dxmalloc.c39 xcalloc(size_t nmemb, size_t size) in xcalloc() function
/freebsd/libexec/rtld-elf/
H A Dxmalloc.c39 xcalloc(size_t number, size_t size) in xcalloc() function

1234