HomeSort by relevance Sort by last modified time
    Searched refs:xmalloc (Results 1 - 25 of 136) sorted by null

1 2 3 4 5 6

  /onnv/onnv-gate/usr/src/cmd/backup/include/
memutils.h 38 extern void *xmalloc(size_t);
42 extern void *xmalloc();
47 NOTE(ALIGNMENT(xmalloc, 8))
  /onnv/onnv-gate/usr/src/cmd/ssh/include/
xmalloc.h 1 /* $OpenBSD: xmalloc.h,v 1.9 2002/06/19 00:27:55 deraadt Exp $ */
29 void *xmalloc(size_t);
  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
util_dup.c 36 if ((ret = (char *) xmalloc(strlen(str)+1)) == NULL)
util_buffer.c 42 if ((buffer->value = (void *) xmalloc(buffer->length + 1)) == NULL) {
util_localhost.c 55 if (! (ptr = xmalloc(strlen(buf) + 1)))
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) {
  /onnv/onnv-gate/usr/src/tools/ctf/common/
memory.h 42 void *xmalloc(size_t);
memory.c 47 xmalloc(size_t size) function
62 mem = xmalloc(size);
  /onnv/onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/
port-aix.c 31 #include <../xmalloc.h>
46 cp = xmalloc(16 + 2 * strlen(pw->pw_name));
  /onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/
rsa.c 69 #include "xmalloc.h"
81 outbuf = xmalloc(olen);
84 inbuf = xmalloc(ilen);
106 outbuf = xmalloc(olen);
109 inbuf = xmalloc(ilen);
xlist.c 10 #include "xmalloc.h"
28 a = (char **)xmalloc(sizeof (char *) * (n + 2));
37 a[n] = (char *)xmalloc((q - p + 2));
72 list = (char *)xmalloc(n);
xmalloc.c 16 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);
mpaux.c 22 #include "xmalloc.h"
37 u_char *buf = xmalloc(bytes);
uuencode.c 30 #include "xmalloc.h"
63 char *buf = xmalloc(2*len);
tildexpand.c 22 #include "xmalloc.h"
27 * Expands tildes in the file name. Returns data allocated by xmalloc.
91 expanded = xmalloc(len);
  /onnv/onnv-gate/usr/src/cmd/ssh/sshd/
auth-skey.c 33 #include "xmalloc.h"
57 *prompts = xmalloc(*numprompts * sizeof(char *));
58 *echo_on = xmalloc(*numprompts * sizeof(u_int));
62 p = xmalloc(len);
auth-bsdauth.c 30 #include "xmalloc.h"
73 *prompts = xmalloc(*numprompts * sizeof(char *));
74 *echo_on = xmalloc(*numprompts * sizeof(u_int));
  /onnv/onnv-gate/usr/src/lib/libparted/common/lib/
xmalloc.c 0 /* 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);
dirname.c 61 Return the leading directories part of FILE, allocated with xmalloc.
79 char *dir = xmalloc (length + append_dot + 1);
xalloc.h 48 void *xmalloc (size_t s);
78 /* extern t *XMALLOC (typename t); */
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,
  /onnv/onnv-gate/usr/src/tools/ctf/cvt/
stack.c 55 sp = xmalloc(sizeof (stk_t));
58 sp->st_data = xmalloc(sizeof (void *) * sp->st_nument);
  /onnv/onnv-gate/usr/src/cmd/backup/lib/
memutils.c 39 xmalloc(bytes) function
  /onnv/onnv-gate/usr/src/cmd/cron/
cron.h 98 extern void *xmalloc(size_t);
elm.c 63 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(sizeof (struct notice))
    [all...]
  /onnv/onnv-gate/usr/src/cmd/backup/dump/
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));

Completed in 3480 milliseconds

1 2 3 4 5 6