/netbsd-6-1-5-RELEASE/external/bsd/byacc/dist/ |
H A D | symtab.c | 40 bp = (bucket *)MALLOC(sizeof(bucket)); 46 bp->name = MALLOC(strlen(name) + 1); 89 symbol_table = (bucket **)MALLOC(TABLE_SIZE * sizeof(bucket *));
|
H A D | reader.c | 90 line = MALLOC(linesize); 131 p = MALLOC(s - line + 1); 692 buf = MALLOC(linesize); 740 p = MALLOC(sizeof(*p)); 897 s = MALLOC(n); 1068 : MALLOC((unsigned)tagmax * sizeof(char *))); 1072 s = MALLOC(cinc); 1253 cache = MALLOC(cache_size); 1323 pitem = (bucket **)MALLOC((unsigned)maxitems * sizeof(bucket *)); 1334 plhs = (bucket **)MALLOC((unsigne [all...] |
H A D | lr0.c | 234 p = (core *)MALLOC(sizeof(core) + i * sizeof(short)); 545 nullable = MALLOC(nsyms);
|
H A D | main.c | 371 dest = MALLOC(len + strlen(suffix) + 1); \ 402 file_prefix = MALLOC(len + 1);
|
H A D | verbose.c | 30 null_rules = (short *)MALLOC((unsigned)nrules * sizeof(short));
|
H A D | mkpar.c | 187 rules_used = (Value_t *) MALLOC((unsigned)nrules * sizeof(Value_t));
|
/netbsd-6-1-5-RELEASE/sys/arch/atari/stand/tostools/libtos/ |
H A D | aout.c | 41 #define MALLOC(x) malloc(x) macro 50 #define MALLOC(x) alloc(x) macro 123 if ((od->kstart = (u_char *)MALLOC(od->ksize)) == NULL)
|
H A D | elf.c | 40 #define MALLOC(x) malloc(x) macro 49 #define MALLOC(x) alloc(x) macro 91 if ((phdrs = (Elf32_Phdr *)MALLOC(i)) == NULL) 142 if ((od->kstart = (u_char *)MALLOC(od->ksize)) == NULL)
|
/netbsd-6-1-5-RELEASE/dist/nvi/common/ |
H A D | util.c | 131 MALLOC(sp, copy, char *, (len + 1)); 150 MALLOC(sp, copy, CHAR_T *, (len + 1) * sizeof(CHAR_T));
|
H A D | cut.c | 313 MALLOC(sp, tp->lb, CHAR_T *, tp->lb_len * sizeof(CHAR_T));
|
H A D | screen.c | 98 MALLOC(sp, sp->newl, size_t *, len);
|
H A D | mem.h | 175 #define MALLOC(sp, p, cast, size) { \ macro
|
/netbsd-6-1-5-RELEASE/dist/nvi/perl_api/ |
H A D | perlsfio.c | 82 MALLOC(scrp, disc, Sfdisc_t*, sizeof(Sfdisc_t));
|
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/ |
H A D | hash.m4c | 89 dnl # The m4 code uses MALLOC, FREE, and STRDUP for dynamic allocation. 92 define(`MALLOC', `malloc($1)') 162 qi = (llistitem *)MALLOC(sizeof(llistitem) + size); 236 result = (hash_table *)MALLOC(sizeof(hash_table)); 243 result->buckets = b = (bucket_t *)MALLOC(bytes);
|
/netbsd-6-1-5-RELEASE/dist/nvi/ex/ |
H A D | ex_source.c | 70 MALLOC(sp, bp, char *, (size_t)sb.st_size + 1);
|
/netbsd-6-1-5-RELEASE/lib/libc/gdtoa/ |
H A D | g__fmt.c | 59 if ((decimalpoint_cache = MALLOC(strlen(s0) + 1)) != NULL) {
|
H A D | gdtoaimp.h | 120 * #define MALLOC your_malloc, where your_malloc(n) acts like malloc(n) 122 * appropriate. If MALLOC is undefined, malloc will be invoked 125 * recycle memory acquired from MALLOC, #define FREE to be the 133 * suffices to get rid of MALLOC calls except for unusual cases, 218 #ifdef MALLOC 219 extern Char *MALLOC ANSI((size_t)); 221 #define MALLOC malloc macro
|
H A D | gethex.c | 62 if ((decimalpoint_cache = MALLOC(strlen(s0) + 1)) != NULL) {
|
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/include/ |
H A D | parse.h | 68 #define MALLOC(_X_) (char *)kmem_alloc(_X_) macro 72 #define MALLOC(_X_) (char *)kmem_alloc(_X_, KM_SLEEP) macro 76 #define MALLOC(_X_) malloc(_X_) macro
|
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/ |
H A D | hash.c | 24 #define MALLOC(t, n) ((t *) xmalloc (sizeof (t) * (n))) macro 26 #define CLONE(o, t, n) ((t *) memcpy (MALLOC (t, (n)), (o), sizeof (t) * (n))) 338 vector_0 = MALLOC (void *, ht->ht_fill + 1);
|
/netbsd-6-1-5-RELEASE/gnu/dist/grep/src/ |
H A D | dfa.c | 165 #define MALLOC(p, t, n) ((p) = (t *) xmalloc((n) * sizeof (t))) macro 484 MALLOC(work_mbc->chars, wchar_t, chars_al); 557 MALLOC(work_mbc->ch_classes, wchar_t, ++ch_classes_al); 567 MALLOC(elem, char, len + 1); 574 MALLOC(work_mbc->equivs, char*, ++equivs_al); 585 MALLOC(work_mbc->coll_elems, char*, ++coll_elems_al); 631 MALLOC(work_mbc->range_sts, wchar_t, ++range_sts_al); 632 MALLOC(work_mbc->range_ends, wchar_t, ++range_ends_al); 1513 MALLOC(d->states[i].elems.elems, position, s->nelem); 1559 MALLOC(visite [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/libgrep/ |
H A D | dfa.c | 139 #define MALLOC(p, t, n) ((p) = (t *) xmalloc((n) * sizeof (t))) macro 457 MALLOC(work_mbc->chars, wchar_t, chars_al); 531 MALLOC(work_mbc->ch_classes, wctype_t, ++ch_classes_al); 541 MALLOC(elem, char, len + 1); 548 MALLOC(work_mbc->equivs, char*, ++equivs_al); 559 MALLOC(work_mbc->coll_elems, char*, ++coll_elems_al); 605 MALLOC(work_mbc->range_sts, wchar_t, ++range_sts_al); 606 MALLOC(work_mbc->range_ends, wchar_t, ++range_ends_al); 1492 MALLOC(d->states[i].elems.elems, position, s->nelem); 1538 MALLOC(visite [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/stbi/ |
H A D | stb_image.c | 447 #define MALLOC(size) malloc((size), M_TEMP, M_WAITOK) macro 451 #define MALLOC(size) malloc((size)) macro 987 good = (unsigned char *) MALLOC(req_comp * x * y); 1027 float *output = (float *) MALLOC(x * y * comp * sizeof(float)); 1045 stbi_uc *output = (stbi_uc *) MALLOC(x * y * comp); 1722 z->img_comp[i].raw_data = MALLOC(z->img_comp[i].w2 * z->img_comp[i].h2+15); 1985 z->img_comp[k].linebuf = (uint8 *) MALLOC(z->s.img_x + 3); 2003 output = (uint8 *) MALLOC(n * z->s.img_x * z->s.img_y + 1); 2076 jpeg *j = (jpeg *) MALLOC(sizeof(*j)); 2514 char *p = (char *) MALLOC(initial_siz [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libparse/ |
H A D | parse.c | 806 parse->parse_pdata = MALLOC(parse->parse_plen); 823 parse->parse_data = (char*)MALLOC((unsigned)(parse->parse_dsize * 2 + 2));
|
/netbsd-6-1-5-RELEASE/usr.sbin/syslogd/ |
H A D | syslogd.h | 209 #define MALLOC(ptr, size) do { \ macro 214 DPRINTF(D_MEM2, "MALLOC(%s@%p, %zu)\n", #ptr, ptr, size); \
|