/titanic_44/usr/src/cmd/backup/include/ |
H A D | memutils.h | 38 extern void *xmalloc(size_t); 42 extern void *xmalloc(); 47 NOTE(ALIGNMENT(xmalloc, 8))
|
/titanic_44/usr/src/cmd/cron/ |
H A D | elm.c | 63 extern void *xmalloc(size_t); 153 n = (struct notice *)xmalloc(sizeof (struct notice)); 159 k = (struct key *)xmalloc(sizeof (struct key)); 173 n = (struct notice *)xmalloc(sizeof (struct notice)); 179 k = (struct key *)xmalloc(sizeof (struct key)); 187 ind = (struct index *)xmalloc(sizeof (struct index)); 195 n = (struct notice *)xmalloc(sizeof (struct notice)); 202 k = (struct key *)xmalloc(sizeof (struct key)); 211 ind = (struct index *)xmalloc(sizeof (struct index)); 252 n = (struct notice *)xmalloc(sizeof (struct notice)); [all …]
|
H A D | funcs.c | 115 xmalloc(size_t size) in xmalloc() function 145 p = xmalloc(len + 1); in xstrdup()
|
/titanic_44/usr/src/cmd/ssh/libssh/common/ |
H A D | rsa.c | 81 outbuf = xmalloc(olen); in rsa_public_encrypt() 84 inbuf = xmalloc(ilen); in rsa_public_encrypt() 106 outbuf = xmalloc(olen); in rsa_private_decrypt() 109 inbuf = xmalloc(ilen); in rsa_private_decrypt()
|
H A D | ssh-gss.c | 100 new_gss_enc2oid = xmalloc(sizeof (ssh_gss_kex_mapping *) * in ssh_gssapi_mech_oids_to_kexnames() 114 xmalloc(sizeof (ssh_gss_kex_mapping)); in ssh_gssapi_mech_oids_to_kexnames() 238 encoded = xmalloc(EVP_MD_size(evp_md)*2); in ssh_gssapi_encode_oid_for_kex() 271 new_kexalgs = xmalloc(len); in ssh_gssapi_make_kexalgs_list() 390 new_hostalgs = xmalloc(len); in ssh_gssapi_modify_kex() 484 str = xmalloc(str_buf.length + 1); in ssh_gssapi_oid_to_str() 513 ctx->actual_mech = xmalloc(sizeof (gss_OID_desc)); in ssh_gssapi_set_oid_data() 515 ctx->actual_mech->elements = xmalloc(len); in ssh_gssapi_set_oid_data() 621 newctx = (Gssctxt*)xmalloc(sizeof (Gssctxt)); in ssh_gssapi_build_ctx() 650 new_oid = xmalloc(sizeof (gss_OID_desc)); in ssh_gssapi_dup_oid() [all …]
|
H A D | xlist.c | 28 a = (char **)xmalloc(sizeof (char *) * (n + 2)); in xsplit() 37 a[n] = (char *)xmalloc((q - p + 2)); in xsplit() 72 list = (char *)xmalloc(n); in xjoin()
|
H A D | xmalloc.c | 24 xmalloc(size_t size) in xmalloc() function 83 cp = xmalloc(len); in xstrdup()
|
H A D | key.c | 57 k = xmalloc(sizeof(*k)); in key_new() 204 blob = xmalloc(len); in key_fingerprint_raw() 220 retval = xmalloc(EVP_MAX_MD_SIZE); in key_fingerprint_raw() 238 retval = xmalloc(dgst_raw_len * 3 + 1); in key_fingerprint_hex() 259 retval = xmalloc(sizeof(char) * (rounds*6)); in key_fingerprint_bubblebabble() 438 blob = xmalloc(len); in key_read() 515 uu = xmalloc(2*len); in key_write() 781 *blobp = xmalloc(len); in key_to_blob() 842 pk = xmalloc(sizeof(*pk)); in key_demote()
|
H A D | g11n.c | 92 langtag = (char *)xmalloc(LANGTAG_MAX + 1); in g11n_locale2langtag() 259 list = (char **) xmalloc(sizeof (char *) * (list_size + 1)); in g11n_getlocales() 327 r = (char **)xmalloc((locales + 1) * sizeof (char *)); in g11n_locales2langs() 428 list3 = (char **) xmalloc(sizeof (char *) * (n1 + n2 + 1)); in g11n_langtag_set_intersect() 598 result = (char **) xmalloc(sizeof (char *) * (max_results + 1)); in g11n_langtag_set_locale_set_intersect() 805 optr = xmalloc(olen + 1); in do_iconv() 829 obuf = op = xmalloc(strlen(s) * 4 + 1); in g11n_filter_string()
|
H A D | ssh-rsa.c | 70 sig = xmalloc(slen); in ssh_rsa_sign() 100 *sigp = xmalloc(len); in ssh_rsa_sign() 246 decrypted = xmalloc(rsasize); in openssh_RSA_verify()
|
H A D | kexdhc.c | 103 kbuf = xmalloc(klen); in kexdh_client() 137 kex->session_id = xmalloc(kex->session_id_len); in kexdh_client()
|
H A D | kexdhs.c | 89 kbuf = xmalloc(klen); in kexdh_server() 119 kex->session_id = xmalloc(kex->session_id_len); in kexdh_server()
|
H A D | bufaux.c | 63 u_char *buf = xmalloc(bin_size); in buffer_put_bignum_ret() 160 buf = xmalloc(bytes); in buffer_put_bignum2_ret() 343 value = xmalloc(len + 1); in buffer_get_string_ret()
|
/titanic_44/usr/src/cmd/backup/dump/ |
H A D | dumpfstab.c | 122 mnt = (struct mnttab *)xmalloc(sizeof (*mnt)); 133 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm)); 136 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm)); 171 new = (struct mntent *)xmalloc(sizeof (*mnt)); 221 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm)); 224 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm));
|
/titanic_44/usr/src/cmd/ssh/sshd/ |
H A D | auth-skey.c | 57 *prompts = xmalloc(*numprompts * sizeof(char *)); in skey_query() 58 *echo_on = xmalloc(*numprompts * sizeof(u_int)); in skey_query() 62 p = xmalloc(len); in skey_query()
|
H A D | auth-options.c | 110 forced_command = xmalloc(strlen(opts) + 1); in auth_parse_options() 143 s = xmalloc(strlen(opts) + 1); in auth_parse_options() 167 new_envstring = xmalloc(sizeof(struct envstring)); in auth_parse_options() 178 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options() 223 char *patterns = xmalloc(strlen(opts) + 1); in auth_parse_options()
|
H A D | auth-bsdauth.c | 73 *prompts = xmalloc(*numprompts * sizeof(char *)); in bsdauth_query() 74 *echo_on = xmalloc(*numprompts * sizeof(u_int)); in bsdauth_query()
|
H A D | altprivsep.c | 476 newkeys = xmalloc(sizeof (*newkeys)); in altprivsep_get_newkeys() 675 new_rec = xmalloc(sizeof (aps_login_rec)); in aps_record_login() 682 proc_path = xmalloc(proc_path_len + 1); in aps_record_login() 796 tmp = (unsigned char *)xmalloc(session_id2_len); in aps_read_auth_context() 890 setp = xmalloc(howmany(pipe_fd + 1, NFDBITS) * sizeof (fd_mask)); in altprivsep_packet_send() 955 setp = xmalloc(howmany(pipe_fd + 1, NFDBITS) * sizeof (fd_mask)); in altprivsep_packet_read()
|
H A D | auth.c | 239 Authctxt *authctxt = xmalloc(sizeof(*authctxt)); in authctxt_new() 426 file = xmalloc(MAXPATHLEN); in expand_filename() 656 env = xmalloc(envsize * sizeof (char *)); in run_auth_hook() 657 args = xmalloc(argsize * sizeof (char *)); in run_auth_hook() 720 ppid = xmalloc(sizeof (pid_t)); in run_auth_hook()
|
H A D | auth2-chall.c | 82 kbdintctxt = xmalloc(sizeof(KbdintAuthctxt)); in kbdint_alloc() 285 response = xmalloc(nresp * sizeof(char *)); in input_userauth_info_response() 325 method = xmalloc(len); in input_userauth_info_response()
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_cksum.c | 62 if ((cksum->contents = (krb5_octet *) xmalloc(cksum->length)) == NULL) { 76 if ((buf = (char *) xmalloc(len)) == NULL) 109 if ((temp = xmalloc(cksum->length)) == NULL) {
|
/titanic_44/usr/src/tools/ctf/common/ |
H A D | memory.c | 47 xmalloc(size_t size) in xmalloc() function 62 mem = xmalloc(size); in xcalloc()
|
/titanic_44/usr/src/cmd/fs.d/ufs/df/ |
H A D | df.c | 76 static char *xmalloc(unsigned int); 298 argstat = (struct stat64 *)xmalloc(argc * sizeof (*argstat)); in main() 299 devnames = (char **)xmalloc(argc * sizeof (char *)); in main() 964 xmalloc(unsigned int size) in xmalloc() function 981 new = (struct mnttab *)xmalloc(sizeof (*new)); in mntdup() 984 (char *)xmalloc((unsigned)(strlen(mnt->mnt_special) + 1)); in mntdup() 988 (char *)xmalloc((unsigned)(strlen(mnt->mnt_mountp) + 1)); in mntdup() 992 (char *)xmalloc((unsigned)(strlen(mnt->mnt_fstype) + 1)); in mntdup() 997 (char *)xmalloc((unsigned)(strlen(mnt->mnt_mntopts) + 1)); in mntdup() 1035 mntl = (struct mntlist *)xmalloc(sizeof (*mntl)); in mkmntlist()
|
/titanic_44/usr/src/tools/ctf/cvt/ |
H A D | stack.c | 55 sp = xmalloc(sizeof (stk_t)); in stack_new() 58 sp->st_data = xmalloc(sizeof (void *) * sp->st_nument); in stack_new()
|
/titanic_44/usr/src/cmd/ssh/include/ |
H A D | xmalloc.h | 29 void *xmalloc(size_t);
|