/external/elfutils/0.153/lib/ |
H A D | xstrdup.c | 39 return strcpy (xmalloc (strlen (string) + 1), string);
|
H A D | xstrndup.c | 42 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
|
H A D | Makefile.am | 33 libeu_a_SOURCES = xstrdup.c xstrndup.c xmalloc.c next_prime.c \
|
H A D | xmalloc.c | 44 xmalloc (n) function
|
/external/oprofile/libutil/ |
H A D | 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
|
H A D | op_libiberty.c | 21 void * ptr = xmalloc(n_elem * sz);
|
/external/bison/lib/ |
H A D | basename.c | 48 char *p = xmalloc (length + 3);
|
H A D | 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);
|
H A D | xalloc.h | 54 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 D | named-ref.c | 28 named_ref *res = xmalloc (sizeof *res);
|
H A D | 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);
|
H A D | 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);
|
H A D | InadequacyList.c | 33 InadequacyList *result = xmalloc (sizeof *result);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/ |
H A D | Makefile.inc | 19 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 D | 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)))
|
/external/dhcpcd/ |
H A D | 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( [all...] |
H A D | common.h | 80 void *xmalloc(size_t);
|
/external/e2fsprogs/intl/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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);
|
/external/oprofile/daemon/liblegacy/ |
H A D | opd_kernel.c | 81 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 D | mangle_tests.c | 53 char * expect = xmalloc(strlen(test->result) +
|
/external/oprofile/daemon/ |
H A D | oprofiled.c | 167 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 D | opd_cookie.c | 105 struct cookie_entry * entry = xmalloc(sizeof(struct cookie_entry)); 108 entry->name = xmalloc(PATH_MAX + 1);
|
/external/elfutils/0.153/libcpu/ |
H A D | i386_parse.y | 48 #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...] |