Searched defs:xmalloc (Results 1 - 10 of 10) sorted by path

/external/bison/lib/
H A Dxmalloc.c0 /* xmalloc.c -- malloc with out of memory checking
63 xmalloc (size_t n) function
205 return memset (xmalloc (s), 0, s);
232 return memcpy (xmalloc (s), p, s);
/external/dbus/tools/
H A Ddbus-cleanup-sockets.c51 xmalloc (size_t bytes) function
123 se = xmalloc (sizeof (SocketEntry));
126 se->name = xmalloc (len);
165 entries = xmalloc (sizeof (SocketEntry*) * allocated);
/external/dhcpcd/
H A Dcommon.c210 **e = xmalloc(len);
255 xmalloc(size_t s) function
269 void *value = xmalloc(s);
/external/dropbear/
H A Dscpmisc.c27 /* For xmalloc, xfree etc:
41 /*RCSID("OpenBSD: xmalloc.c,v 1.16 2001/07/23 18:21:46 stevesk Exp ");*/
47 xmalloc(size_t size) function
52 fprintf(stderr, "xmalloc: zero size\n");
57 fprintf(stderr, "xmalloc: out of memory (allocating %lu bytes)\n", (u_long) size);
100 cp = xmalloc(len);
/external/e2fsprogs/intl/
H A Drelocatable.c43 # define xmalloc malloc macro
119 memory = (char *) xmalloc (orig_prefix_len + 1 + curr_prefix_len + 1);
203 q = (char *) xmalloc (p - curr_pathname + 1);
263 curr_prefix = (char *) xmalloc (curr_prefix_len + 1);
433 (char *) xmalloc (curr_prefix_len + strlen (pathname_tail) + 1);
/external/elfutils/lib/
H A Dxmalloc.c44 xmalloc (n) function
/external/openssh/
H A Dxmalloc.c1 /* $OpenBSD: xmalloc.c,v 1.27 2006/08/03 03:34:42 deraadt Exp $ */
24 #include "xmalloc.h"
28 xmalloc(size_t size) function
33 fatal("xmalloc: zero size");
36 fatal("xmalloc: out of memory (allocating %lu bytes)", (u_long) size);
91 cp = xmalloc(len);
/external/oprofile/libutil/
H A Dop_libiberty.h37 /* Set the program name used by xmalloc. */
43 void * xmalloc(size_t) OP_ATTRIB_MALLOC;
45 /* Reallocate memory without fail. This works like xmalloc. Note,
50 /* Allocate memory without fail and set it to zero. This works like xmalloc */
67 #define xmalloc(s) malloc(s) macro
/external/valgrind/main/coregrind/m_demangle/
H A Dvg_libciface.h70 #define xmalloc(_nn) \ macro
71 VG_(arena_malloc)(VG_AR_DEMANGLE, "m_demangle.xmalloc", (_nn))
88 ((_Ty *) xmalloc(sizeof (_Ty) * (_Nn)))
97 ((_Ty *) xmalloc(sizeof (_Ty)))
/external/webkit/Tools/android/flex-2.5.4a/MISC/Macintosh/
H A Dxmalloc.c0 /* xmalloc.c -- malloc with out of memory checking
35 xmalloc (n) function
49 If P is NULL, run xmalloc.
58 return xmalloc (n);

Completed in 2380 milliseconds