Searched refs:MALLOC (Results 1 – 9 of 9) sorted by relevance
/ndk/sources/host-tools/make-3.81/ |
D | hash.c | 23 #define MALLOC(t, n) ((t *) xmalloc (sizeof (t) * (n))) macro 25 #define CLONE(o, t, n) ((t *) memcpy (MALLOC (t, (n)), (o), sizeof (t) * (n))) 302 vector_0 = MALLOC (void *, ht->ht_fill + 1); in hash_dump()
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
D | utils.c | 141 p = MALLOC(1, struct open_file); 486 char *ret = MALLOC(strlen(str)+1, char); 525 struct buffer *b = MALLOC(1, struct buffer); in init_buffer() 526 b->b = MALLOC(MIN_ALLOCATE, char); in init_buffer()
|
D | regexp.c | 185 regs->start = MALLOC (need_regs, regoff_t); 186 regs->end = MALLOC (need_regs, regoff_t);
|
D | sed.c | 270 in_place_extension = MALLOC (strlen(optarg) + 2, char);
|
D | compile.c | 1044 vector = MALLOC(1, struct vector); 1310 size_t *src_lens = MALLOC(len, size_t); 1337 trans_pairs = MALLOC(2 * src_char_num + 1, char*); 1345 trans_pairs[2 * i] = MALLOC(src_lens[i] + 1, char); 1359 trans_pairs[2 * i + 1] = MALLOC(mbclen + 1, char);
|
D | execute.c | 394 buf->text = MALLOC(initial_size, char); 452 to->text = MALLOC(to->alloc, char); 590 struct append_queue *n = MALLOC(1, struct append_queue); in next_append_slot()
|
/ndk/sources/host-tools/sed-4.2.1/ |
D | basicdefs.h | 89 #define MALLOC(n,t) (VCAST(t *)ck_malloc((n)*sizeof(t))) macro
|
D | ChangeLog | 1620 * sed/execute.c(line_copy): use FREE()+MALLOC() instead of 2064 know about "void *"s. Also define MALLOC, REALLOC, 2070 pervasively use the new VCAST, MALLOC, REALLOC, MEMDUP,
|
/ndk/sources/android/support/src/stdio/ |
D | strtod.c | 174 #ifdef MALLOC 176 extern char *MALLOC(); 178 extern void *MALLOC(size_t); 181 #define MALLOC malloc macro 628 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(Long)); 3230 if ((decimalpoint_cache = (char*)MALLOC(strlen(s0) + 1))) { in gethex()
|