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

1234567

/external/openssh/
H A Dxmalloc.h1 /* $OpenBSD: xmalloc.h,v 1.13 2006/08/03 03:34:42 deraadt Exp $ */
19 void *xmalloc(size_t);
H A Drsa.c70 #include "xmalloc.h"
84 outbuf = xmalloc(olen);
87 inbuf = xmalloc(ilen);
110 outbuf = xmalloc(olen);
113 inbuf = xmalloc(ilen);
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);
H A Dssh-dss.c36 #include "xmalloc.h"
89 *sigp = xmalloc(SIGBLOB_LEN);
101 *sigp = xmalloc(len);
128 sigblob = xmalloc(signaturelen);
H A Dbufbn.c49 #include "xmalloc.h"
63 u_char *buf = xmalloc(bin_size);
163 buf = xmalloc(bytes);
H A Dkexdhc.c37 #include "xmalloc.h"
117 kbuf = xmalloc(klen);
154 kex->session_id = xmalloc(kex->session_id_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
H A Dop_libiberty.c21 void * ptr = xmalloc(n_elem * sz);
/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);
H A Dalloca.c6 Use xmalloc instead of malloc.
59 extern pointer xmalloc();
180 register pointer new = xmalloc (sizeof (header) + size);
/external/elfutils/lib/
H A Dxstrndup.c42 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
H A DMakefile.am38 libeu_a_SOURCES = xstrndup.c xmalloc.c next_prime.c \
H A Dsystem.h55 extern void *xmalloc (size_t) __attribute__ ((__malloc__));
H A Dxmalloc.c44 xmalloc (n) function
/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);
H A Dxalloc.h48 void *xmalloc (size_t s);
H A Ddirname.c48 allocated with xmalloc.
57 char *dir = xmalloc (length + append_dot + 1);
70 basename.c dirname.c xmalloc.c error.c
/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/dropbear/
H A Dscpmisc.h40 /* from xmalloc.h */
41 void *xmalloc(size_t);
/external/bison/src/
H A Dstate.c46 transitions *res = xmalloc (offsetof (transitions, states) + states_size);
84 errs *res = xmalloc (offsetof (errs, symbols) + symbols_size);
106 reductions *res = xmalloc (offsetof (reductions, rules) + rules_size);
140 res = xmalloc (offsetof (state, items) + items_size);
345 state *probe = xmalloc (offsetof (state, items) + items_size);
/external/dhcpcd/
H A Dconfigure.c104 v = xmalloc(len);
154 *s = p = xmalloc(len);
175 env = xmalloc(sizeof(char *) * (elen + 1));
177 env[0] = xmalloc(e);
180 env[1] = xmalloc(e);
183 env[2] = xmalloc(e);
185 env[3] = xmalloc(e);
187 env[4] = xmalloc(e);
189 env[5] = xmalloc(e);
191 env[6] = xmalloc(
[all...]
/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/oprofile/libop/
H A Dop_alloc_counter.c50 ctr_arc = xmalloc(nr_events * sizeof(*ctr_arc));
60 xmalloc(sizeof(counter_arc));
231 counter_map = xmalloc(nr_events * sizeof(size_t));
/external/oprofile/opjitconv/
H A Dopjitconv.c91 struct pathname * pn = xmalloc(sizeof(struct pathname));
291 proc_id = xmalloc(proc_id_length + 1);
297 tmp_dumpfile = xmalloc(tmp_conv_dir_length + 1 + strlen(dumpfilename) + 1);
329 elf_file = xmalloc(result_dir_length +
336 tmp_elffile = xmalloc(strlen(tmp_conv_dir) + 1 +
425 proc_id = xmalloc(proc_id_length + 1);
462 xmalloc(sizeof(struct procid));
529 samples_dir = xmalloc(samples_dir_len + 1);
/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);

Completed in 439 milliseconds

1234567