Searched refs:xmalloc (Results 1 - 25 of 134) sorted by relevance

123456

/opensolaris-onvv-gate/usr/src/cmd/backup/include/
H A Dmemutils.h38 extern void *xmalloc(size_t);
42 extern void *xmalloc();
47 NOTE(ALIGNMENT(xmalloc, 8))
/opensolaris-onvv-gate/usr/src/cmd/ssh/include/
H A Dxmalloc.h1 /* $OpenBSD: xmalloc.h,v 1.9 2002/06/19 00:27:55 deraadt Exp $ */
29 void *xmalloc(size_t);
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_dup.c36 if ((ret = (char *) xmalloc(strlen(str)+1)) == NULL)
H A Dutil_buffer.c42 if ((buffer->value = (void *) xmalloc(buffer->length + 1)) == NULL) {
H A Dutil_localhost.c55 if (! (ptr = xmalloc(strlen(buf) + 1)))
H A Dutil_cksum.c62 if ((cksum->contents = (krb5_octet *) xmalloc(cksum->length)) == NULL) {
76 if ((buf = (char *) xmalloc(len)) == NULL)
109 if ((temp = xmalloc(cksum->length)) == NULL) {
/opensolaris-onvv-gate/usr/src/tools/ctf/common/
H A Dmemory.h42 void *xmalloc(size_t);
H A Dmemory.c47 xmalloc(size_t size) function
62 mem = xmalloc(size);
/opensolaris-onvv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dport-aix.c31 #include <../xmalloc.h>
46 cp = xmalloc(16 + 2 * strlen(pw->pw_name));
/opensolaris-onvv-gate/usr/src/cmd/ssh/libssh/common/
H A Drsa.c69 #include "xmalloc.h"
81 outbuf = xmalloc(olen);
84 inbuf = xmalloc(ilen);
106 outbuf = xmalloc(olen);
109 inbuf = xmalloc(ilen);
H A Dxlist.c10 #include "xmalloc.h"
28 a = (char **)xmalloc(sizeof (char *) * (n + 2));
37 a[n] = (char *)xmalloc((q - p + 2));
72 list = (char *)xmalloc(n);
H A Dxmalloc.c16 RCSID("$OpenBSD: xmalloc.c,v 1.16 2001/07/23 18:21:46 stevesk Exp $");
20 #include "xmalloc.h"
24 xmalloc(size_t size) function
29 fatal("xmalloc: zero size");
32 fatal("xmalloc: out of memory (allocating %lu bytes)", (u_long) size);
83 cp = xmalloc(len);
H A Dmpaux.c22 #include "xmalloc.h"
37 u_char *buf = xmalloc(bytes);
H A Dtildexpand.c22 #include "xmalloc.h"
27 * Expands tildes in the file name. Returns data allocated by xmalloc.
91 expanded = xmalloc(len);
H A Duuencode.c30 #include "xmalloc.h"
63 char *buf = xmalloc(2*len);
/opensolaris-onvv-gate/usr/src/cmd/ssh/sshd/
H A Dauth-skey.c33 #include "xmalloc.h"
57 *prompts = xmalloc(*numprompts * sizeof(char *));
58 *echo_on = xmalloc(*numprompts * sizeof(u_int));
62 p = xmalloc(len);
H A Dauth-bsdauth.c30 #include "xmalloc.h"
73 *prompts = xmalloc(*numprompts * sizeof(char *));
74 *echo_on = xmalloc(*numprompts * sizeof(u_int));
/opensolaris-onvv-gate/usr/src/lib/libparted/common/lib/
H A Dxmalloc.c0 /* xmalloc.c -- malloc with out of memory checking
48 xmalloc (size_t n) function
87 return memset (xmalloc (s), 0, s);
114 return memcpy (xmalloc (s), p, s);
H A Ddirname.c61 Return the leading directories part of FILE, allocated with xmalloc.
79 char *dir = xmalloc (length + append_dot + 1);
H A Dxalloc.h48 void *xmalloc (size_t s);
79 # define XMALLOC(t) ((t *) xmalloc (sizeof (t)))
84 ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t))))
117 return xmalloc (n * s);
220 /* Return a pointer to a new buffer of N bytes. This is like xmalloc,
/opensolaris-onvv-gate/usr/src/tools/ctf/cvt/
H A Dstack.c55 sp = xmalloc(sizeof (stk_t));
58 sp->st_data = xmalloc(sizeof (void *) * sp->st_nument);
/opensolaris-onvv-gate/usr/src/cmd/backup/lib/
H A Dmemutils.c39 xmalloc(bytes) function
/opensolaris-onvv-gate/usr/src/cmd/cron/
H A Dcron.h98 extern void *xmalloc(size_t);
H A Delm.c63 extern void *xmalloc(size_t);
154 n = (struct notice *)xmalloc(sizeof (struct notice));
160 k = (struct key *)xmalloc(sizeof (struct key));
174 n = (struct notice *)xmalloc(sizeof (struct notice));
180 k = (struct key *)xmalloc(sizeof (struct key));
188 ind = (struct index *)xmalloc(sizeof (struct index));
196 n = (struct notice *)xmalloc(sizeof (struct notice));
203 k = (struct key *)xmalloc(sizeof (struct key));
212 ind = (struct index *)xmalloc(sizeof (struct index));
253 n = (struct notice *)xmalloc(sizeo
[all...]
/opensolaris-onvv-gate/usr/src/cmd/backup/dump/
H A Ddumpfstab.c122 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));

Completed in 180 milliseconds

123456