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

123456

/external/elfutils/0.153/lib/
H A Dxstrdup.c39 return strcpy (xmalloc (strlen (string) + 1), string);
H A Dxstrndup.c42 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
H A DMakefile.am33 libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c \
H A Dxmalloc.c44 xmalloc (n) function
/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/bison/lib/
H A Dbasename.c48 char *p = xmalloc (length + 3);
H A Dxmalloc.c0 /* 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);
H A Dxalloc.h54 void *xmalloc (size_t s)
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/
H A Dnamed-ref.c28 named_ref *res = xmalloc (sizeof *res);
H A Dsymlist.c35 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);
H A Dstate.c44 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);
H A DInadequacyList.c33 InadequacyList *result = xmalloc (sizeof *result);
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
H A DMakefile.inc19 genperf_LDADD += gp-xmalloc.$(OBJEXT)
35 gp-xmalloc.$(OBJEXT): libyasm/xmalloc.c
37 -c -o $@ `test -f libyasm/xmalloc.c || echo '$(srcdir)/'`libyasm/xmalloc.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/dhcpcd/
H A Dconfigure.c104 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(
[all...]
H A Dcommon.h80 void *xmalloc(size_t);
/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/oprofile/daemon/liblegacy/
H A Dopd_kernel.c81 struct opd_module * module = xmalloc(sizeof(struct opd_module));
202 modname = xmalloc((size_t)((cp2-cp) + 1));
225 filename = xmalloc((size_t)(cp3 - cp2 + 1));
282 module_names = xmalloc(size);
/external/oprofile/libop/tests/
H A Dmangle_tests.c53 char * expect = xmalloc(strlen(test->result) +
/external/oprofile/daemon/
H A Doprofiled.c167 cbuf = xmalloc(strlen(op_session_dir) + 5);
288 struct opd_hashed_name * elt = xmalloc(sizeof(struct opd_hashed_name));
289 elt->name = xmalloc(PATH_MAX);
424 tmp = xmalloc(PATH_MAX);
452 tmp = xmalloc(PATH_MAX);
H A Dopd_cookie.c105 struct cookie_entry * entry = xmalloc(sizeof(struct cookie_entry));
108 entry->name = xmalloc(PATH_MAX + 1);
/external/elfutils/0.153/libcpu/
H A Di386_parse.y48 #define obstack_chunk_alloc xmalloc
266 struct synonym *newp = xmalloc (sizeof (*newp));
342 struct suffix *ns = xmalloc (sizeof (*ns));
419 $$ = xmalloc (sizeof (struct bitvalue));
426 $$ = xmalloc (sizeof (struct bitvalue));
433 $$ = xmalloc (sizeof (struct bitvalue));
464 runp->next = xmalloc (sizeof (struct argument));
471 $$ = xmalloc (sizeof (struct argument));
490 $$ = xmalloc (sizeof (struct argname));
522 $$ = xmalloc (sizeo
[all...]

Completed in 331 milliseconds

123456