/illumos-gate/usr/src/cmd/backup/include/ |
H A D | memutils.h | 36 extern void *xmalloc(size_t); 40 extern void *xmalloc(); 45 NOTE(ALIGNMENT(xmalloc, 8))
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | elm.c | 63 extern void *xmalloc(size_t); 150 n = (struct notice *)xmalloc(sizeof (struct notice)); in el_init() 156 k = (struct key *)xmalloc(sizeof (struct key)); in el_init() 170 n = (struct notice *)xmalloc(sizeof (struct notice)); in el_init() 176 k = (struct key *)xmalloc(sizeof (struct key)); in el_init() 184 ind = (struct index *)xmalloc(sizeof (struct index)); in el_init() 192 n = (struct notice *)xmalloc(sizeof (struct notice)); in el_init() 199 k = (struct key *)xmalloc(sizeof (struct key)); in el_init() 208 ind = (struct index *)xmalloc(sizeof (struct index)); in el_init() 244 n = (struct notice *)xmalloc(sizeof (struct notice)); in el_add() [all …]
|
H A D | funcs.c | 115 xmalloc(size_t size) in xmalloc() function 145 p = xmalloc(len + 1); in xstrdup()
|
H A D | cron.c | 947 u->home = xmalloc(strlen(pw->pw_dir) + 1); in mod_ctab() 958 u->home = xmalloc(strlen(pw->pw_dir) + 1); in mod_ctab() 962 u->home = xmalloc(strlen(pw->pw_dir) + 1); in mod_ctab() 1069 e = xmalloc(sizeof (struct event)); in add_atevent() 1071 e->cmd = xmalloc(strlen(job) + 1); in add_atevent() 1228 e = xmalloc(sizeof (struct event)); in readcron() 1262 e->cmd = xmalloc(cursor-start + 1); in readcron() 1267 e->of.ct.input = xmalloc(strlen(line)-cursor + 1); in readcron() 1325 cte_text = xmalloc(MAILBUFLEN); in cte_init() 1413 temp = xmalloc(strlen(MAIL) + strlen(usrname) + 2); in mail() [all …]
|
H A D | cron.h | 118 extern void *xmalloc(size_t);
|
H A D | crontab.c | 248 cf = xmalloc(strlen(CRONDIR)+strlen(login)+2); in main() 324 buf = xmalloc(buflen); in main() 437 tnam = xmalloc(strlen(CRONDIR)+strlen(TMPFILE)+7); in copycron()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumpfstab.c | 120 mnt = (struct mnttab *)xmalloc(sizeof (*mnt)); 131 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm)); 134 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm)); 169 new = (struct mntent *)xmalloc(sizeof (*mnt)); 219 mnttable = pm = (struct pmntent *)xmalloc(sizeof (*pm)); 222 pm->pm_next = (struct pmntent *)xmalloc(sizeof (*pm));
|
H A D | dumponline.c | 114 (struct inodesc **)xmalloc(2*sizeof (*ialloc)); in allocino() 343 archivefile = xmalloc(strlen(old) + strlen(defext) + in activepass()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_cksum.c | 60 if ((cksum->contents = (krb5_octet *) xmalloc(cksum->length)) == NULL) { 74 if ((buf = (char *) xmalloc(len)) == NULL) 107 if ((temp = xmalloc(cksum->length)) == NULL) {
|
H A D | util_dup.c | 35 if ((ret = (char *) xmalloc(strlen(str)+1)) == NULL)
|
H A D | util_localhost.c | 53 if (! (ptr = xmalloc(strlen(buf) + 1))) in g_local_host_name()
|
H A D | util_buffer.c | 40 if ((buffer->value = (void *) xmalloc(buffer->length + 1)) == NULL) {
|
H A D | import_name.c | 87 (char *) xmalloc(input_name_buffer->length + 1)) == NULL) { 139 (char *) xmalloc(input_name_buffer->length + 1)) == NULL) {
|
H A D | lucid_context.c | 202 if ((lctx = xmalloc(bufsize)) == NULL) { in make_external_lucid_ctx_v1() 267 if ((lkey->data = xmalloc(k5key->length)) == NULL) { in copy_keyblock_to_lucid_key()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/tools/ctf/common/ |
H A D | memory.c | 45 xmalloc(size_t size) in xmalloc() function 60 mem = xmalloc(size); in xcalloc()
|
H A D | memory.h | 40 void *xmalloc(size_t);
|
/illumos-gate/usr/src/cmd/vtfontcvt/ |
H A D | vtfontcvt.c | 201 xmalloc(size_t size) in xmalloc() function 218 mp = xmalloc(sizeof (*mp)); in add_mapping() 283 gl = xmalloc(sizeof (*gl)); in add_glyph() 284 gl->g_data = xmalloc(wbytes * height); in add_glyph() 453 bytes = xmalloc(wbytes * height); in parse_hex() 454 bytes_r = xmalloc(wbytes * height); in parse_hex() 751 uncompressed = xmalloc(uncompressed_size); in write_fnt_source() 752 compressed = xmalloc(uncompressed_size); in write_fnt_source()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | k5unseal.c | 209 if ((plain = (unsigned char *) xmalloc(tmsglen)) == NULL) { 293 if ((token.value = (void *) xmalloc(token.length)) == NULL) { 360 xmalloc(8 + (ctx->big_endian ? token.length : plainlen)))) { 452 xmalloc(sizeof(ctx->seed) + 8 + 518 xmalloc(8 + (ctx->big_endian ? token.length : plainlen)))) {
|
H A D | k5seal.c | 134 if ((t = (unsigned char *) xmalloc(tlen)) == NULL) in make_seal_token_v1() 195 if ((plain = (unsigned char *) xmalloc(msglen ? msglen : 1)) == NULL) { in make_seal_token_v1() 216 if (! (data_ptr = (char *) xmalloc(8 + in make_seal_token_v1()
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | memutils.c | 37 xmalloc(bytes) in xmalloc() function
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | df.c | 83 #define NEW(type) xmalloc(sizeof (type)) 374 xmalloc(size_t size) in xmalloc() function 534 mount_table = xmalloc( in mtab_read_file() 893 argv = xmalloc(size); in run_fs_specific_df() 1320 temp_buf = xmalloc( in g_output() 1756 requests = xmalloc(size); in create_request_list() 1796 arg_stat = xmalloc(argc * sizeof (struct stat64)); in create_request_list() 1797 valid_stat = xmalloc(argc * sizeof (bool_int)); in create_request_list()
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4.c | 858 xmalloc(size_t size) in xmalloc() function 872 ptr = xmalloc(nbr * size); in xcalloc() 1042 ret = xmalloc((len + 1) * sizeof (wchar_t)); in wstrdup() 1061 ret = p = xmalloc(wcslen(from) * mb_cur_max + 1); in wstr2str() 1105 ret = p = xmalloc((strlen(from) + 1) * sizeof (wchar_t)); in str2wstr()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | gssapiP_generic.h | 111 #define xmalloc(n) MALLOC(n) macro 113 #define xmalloc(n) malloc(n) macro
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | progerr.c | 131 xmalloc(size_t size) in xmalloc() function
|