Home
last modified time | relevance | path

Searched refs:MALLOC (Results 1 – 9 of 9) sorted by relevance

/ndk/sources/host-tools/make-3.81/
Dhash.c23 #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/
Dutils.c141 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()
Dregexp.c185 regs->start = MALLOC (need_regs, regoff_t);
186 regs->end = MALLOC (need_regs, regoff_t);
Dsed.c270 in_place_extension = MALLOC (strlen(optarg) + 2, char);
Dcompile.c1044 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);
Dexecute.c394 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/
Dbasicdefs.h89 #define MALLOC(n,t) (VCAST(t *)ck_malloc((n)*sizeof(t))) macro
DChangeLog1620 * 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/
Dstrtod.c174 #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()