/external/elfutils/0.153/lib/ |
xstrdup.c | 39 return strcpy (xmalloc (strlen (string) + 1), string);
|
xstrndup.c | 42 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
|
Makefile.am | 33 libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c \
|
xmalloc.c | 44 xmalloc (n) function
|
/external/oprofile/libutil/ |
op_libiberty.h | 37 /* 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
|
op_libiberty.c | 21 void * ptr = xmalloc(n_elem * sz);
|
/external/bison/lib/ |
basename.c | 48 char *p = xmalloc (length + 3);
|
xmalloc.c | 0 /* xmalloc.c -- malloc with out of memory checking 39 xmalloc (size_t n) function 86 return memset (xmalloc (s), 0, s); 113 return memcpy (xmalloc (s), p, s);
|
xalloc.h | 54 void *xmalloc (size_t s) 74 /* extern t *XMALLOC (typename t); */ 75 #define XMALLOC(t) ((t *) xmalloc (sizeof (t))) 80 ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t)))) 104 return xmalloc (n * s); 209 /* Return a pointer to a new buffer of N bytes. This is like xmalloc,
|
/external/bison/src/ |
named-ref.c | 28 named_ref *res = xmalloc (sizeof *res);
|
symlist.c | 35 symbol_list *res = xmalloc (sizeof *res); 66 symbol_list *res = xmalloc (sizeof *res); 85 symbol_list *res = xmalloc (sizeof *res); 103 symbol_list *res = xmalloc (sizeof *res);
|
state.c | 44 transitions *res = xmalloc (offsetof (transitions, states) + states_size); 82 errs *res = xmalloc (offsetof (errs, symbols) + symbols_size); 104 reductions *res = xmalloc (offsetof (reductions, rules) + rules_size); 138 res = xmalloc (offsetof (state, items) + items_size); 165 res = xmalloc (offsetof (state, items) + items_size); 395 state *probe = xmalloc (offsetof (state, items) + items_size);
|
InadequacyList.c | 33 InadequacyList *result = xmalloc (sizeof *result);
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
xmalloc.c | 0 /* xmalloc.c -- malloc with out of memory checking 43 xmalloc (size_t n) function 82 return memset (xmalloc (s), 0, s); 109 return memcpy (xmalloc (s), p, s);
|
dirname.c | 60 Return the leading directories part of FILE, allocated with xmalloc. 78 char *dir = xmalloc (length + append_dot + 1);
|
xalloc.h | 55 void *xmalloc (size_t s) ATTRIBUTE_MALLOC; 85 /* extern t *XMALLOC (typename t); */ 86 # define XMALLOC(t) ((t *) xmalloc (sizeof (t))) 91 ((t *) (sizeof (t) == 1 ? xmalloc (n) : xnmalloc (n, sizeof (t)))) 125 return xmalloc (n * s); 228 /* Return a pointer to a new buffer of N bytes. This is like xmalloc,
|
/external/valgrind/main/coregrind/m_demangle/ |
vg_libciface.h | 70 #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)))
|
/ndk/sources/host-tools/make-3.81/ |
rule.c | 129 name = (char *) xmalloc (namelen + 1); 186 targname = xmalloc (1 + len + 1); 192 names = (char **) xmalloc (2 * sizeof (char *)); 204 depname = xmalloc (1 + len + 1); 368 r = (struct rule *) xmalloc (sizeof (struct rule)); 370 r->targets = (char **) xmalloc (2 * sizeof (char *)); 371 r->suffixes = (char **) xmalloc (2 * sizeof (char *)); 372 r->lens = (unsigned int *) xmalloc (2 * sizeof (unsigned int)); 397 r->cmds = (struct commands *) xmalloc (sizeof (struct commands)); 481 struct rule *r = (struct rule *) xmalloc (sizeof (struct rule)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/pulse/ |
pulseaudio.h | 39 #include <pulse/xmalloc.h> 54 * operation.h,\ref volume.h, \ref xmalloc.h, \ref utf8.h, \ref
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/ |
pulseaudio.h | 39 #include <pulse/xmalloc.h> 54 * operation.h,\ref volume.h, \ref xmalloc.h, \ref utf8.h, \ref
|
/external/dhcpcd/ |
configure.c | 104 v = xmalloc(len); 154 *s = p = xmalloc(len); 188 env = xmalloc(sizeof(char *) * (elen + 1)); 190 env[0] = xmalloc(e); 193 env[1] = xmalloc(e); 199 env[2] = xmalloc(e); 201 env[3] = xmalloc(e); 203 env[4] = xmalloc(e); 205 env[5] = xmalloc(e); 207 env[6] = xmalloc(e) [all...] |
common.h | 80 void *xmalloc(size_t);
|
/external/e2fsprogs/intl/ |
relocatable.c | 43 # 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/ |
op_alloc_counter.c | 50 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/ |
opjitconv.c | 91 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);
|