/freebsd/contrib/mandoc/ |
H A D | test-ohash.c | 7 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 D | tc.func.c | 262 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() 1319 cmd = xcalloc(1, (cmd_len + 1) * sizeof(Char)); in insert() 1326 now->word = xcalloc(1, 5 * sizeof(Char)); in insert() 1329 now = xcalloc(1, sizeof(struct wordent)); in insert() [all …]
|
H A D | sh.parse.c | 262 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 D | tc.sched.c | 165 tp = xcalloc(1, sizeof *tp); in dosched() 220 nextword = xcalloc(1, sizeof cmd); in sched_run()
|
H A D | sh.misc.c | 185 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/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | dwarf.c | 464 tdesc_t *tdp = xcalloc(sizeof (tdesc_t)); in die_add() 568 intr = xcalloc(sizeof (intr_t)); in tdesc_intr_common() 573 tdp = xcalloc(sizeof (tdesc_t)); in tdesc_intr_common() 623 tdesc_t *new = xcalloc(sizeof (tdesc_t)); in tdesc_intr_clone() 636 new->t_intr = xcalloc(sizeof (intr_t)); in tdesc_intr_clone() 658 ctdp = xcalloc(sizeof (tdesc_t)); in tdesc_array_create() 669 dimtdp->t_ardef = ar = xcalloc(sizeof (ardef_t)); in tdesc_array_create() 836 el = xcalloc(sizeof (elist_t)); in die_enum_create() 862 iidesc_t *ii = xcalloc(sizeof (iidesc_t)); in die_enum_create() 981 ml = xcalloc(sizeof (mlist_t)); in die_sou_create() [all …]
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-cygwin_util.c | 106 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/contrib/diff/lib/ |
H A D | xalloc.h | 54 void *xcalloc (size_t n, size_t s); 82 # define XCALLOC(type, n) xcalloc (n, sizeof (type))
|
/freebsd/crypto/openssh/ |
H A D | groupaccess.c | 64 groups_bygid = xcalloc(ngroups, sizeof(*groups_bygid)); in ga_init() 71 groups_byname = xcalloc(ngroups, sizeof(*groups_byname)); in ga_init()
|
H A D | auth-bsdauth.c | 88 *prompts = xcalloc(*numprompts, sizeof(char *)); in bsdauth_query() 89 *echo_on = xcalloc(*numprompts, sizeof(u_int)); in bsdauth_query()
|
H A D | monitor_wrap.c | 287 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 D | xmalloc.h | 20 void *xcalloc(size_t, size_t);
|
H A D | sandbox-null.c | 50 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
|
H A D | sandbox-pledge.c | 50 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
|
H A D | sshd.c | 998 item = xcalloc(1, sizeof(*item)); 1158 startup_pipes = xcalloc(options.max_startups, sizeof(int)); 1159 startup_flags = xcalloc(options.max_startups, sizeof(int)); 1160 startup_pollfd = xcalloc(options.max_startups, sizeof(int)); 1177 pfd = xcalloc(num_listen_socks + options.max_startups, 1636 saved_argv = xcalloc(ac + 1, sizeof(*saved_argv)); 1896 sensitive_data.host_keys = xcalloc(options.num_host_key_files, 1898 sensitive_data.host_pubkeys = xcalloc(options.num_host_key_files, 2006 sensitive_data.host_certificates = xcalloc(options.num_host_key_files, 2084 rexec_argv = xcalloc(rexec_argc + 2, sizeof(char *)); [all …]
|
H A D | sandbox-rlimit.c | 53 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
|
H A D | sandbox-darwin.c | 53 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
|
H A D | gss-genr.c | 80 ctx->oid = xcalloc(1, sizeof(gss_OID_desc)); in ssh_gssapi_set_oid_data() 164 *ctx = xcalloc(1, sizeof (Gssctxt)); in ssh_gssapi_build_ctx()
|
/freebsd/crypto/openssh/regress/misc/fuzz-harness/ |
H A D | kex_fuzz.cc | 344 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 D | agent_fuzz_helper.c | 65 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 D | memory.h | 44 void *xcalloc(size_t);
|
H A D | memory.c | 73 xcalloc(size_t size) in xcalloc() function
|
/freebsd/usr.bin/diff/ |
H A D | xmalloc.h | 23 void *xcalloc(size_t, size_t);
|
H A D | xmalloc.c | 39 xcalloc(size_t nmemb, size_t size) in xcalloc() function
|
/freebsd/libexec/rtld-elf/ |
H A D | xmalloc.c | 39 xcalloc(size_t number, size_t size) in xcalloc() function
|