/freebsd-11-stable/contrib/gdtoa/ |
H A D | g__fmt.c | 59 if ((decimalpoint_cache = (char*)MALLOC(strlen(s0) + 1))) {
|
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, 212 #ifdef MALLOC 213 extern Char *MALLOC ANSI((size_t)); 215 #define MALLOC malloc macro
|
H A D | gethex.c | 60 if ((decimalpoint_cache = (char*)MALLOC(strlen(s0) + 1))) {
|
H A D | misc.c | 66 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(ULong)); 75 rv = (Bigint*)MALLOC(len*sizeof(double));
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_source.c | 68 MALLOC(sp, bp, char *, (size_t)sb.st_size + 1);
|
H A D | ex_subst.c | 235 MALLOC(sp, sp->repl, CHAR_T *, len * sizeof(CHAR_T)); 957 MALLOC(sp, *ptrnp, CHAR_T *, (plen + 1) * sizeof(CHAR_T)); 1292 MALLOC(sp, oe, char *, s);
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | parse.h | 66 #define MALLOC(_X_) (char *)kmem_alloc(_X_) macro 70 #define MALLOC(_X_) (char *)kmem_alloc(_X_, KM_SLEEP) macro 74 #define MALLOC(_X_) malloc(_X_) macro
|
/freebsd-11-stable/gnu/usr.bin/grep/ |
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); 1511 MALLOC(d->states[i].elems.elems, position, s->nelem); 1557 MALLOC(visite [all...] |
/freebsd-11-stable/contrib/nvi/vi/ |
H A D | v_match.c | 167 MALLOC(sp, *mp, CHAR_T *, len * sizeof(CHAR_T));
|
/freebsd-11-stable/contrib/byacc/ |
H A D | mstring.c | 126 if ((n->base = n->ptr = MALLOC(HEAD)) != 0)
|
H A D | lr0.c | 232 p = (core *)MALLOC(sizeof(core) + i * sizeof(Value_t));
|
/freebsd-11-stable/sys/sys/ |
H A D | malloc.h | 153 #define MALLOC(space, cast, size, type, flags) \ macro
|
/freebsd-11-stable/sys/fs/nfsclient/ |
H A D | nfs_clnode.c | 112 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize, 164 MALLOC(np->n_fhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
|
H A D | nfs_clsubs.c | 279 MALLOC(dp, struct nfsdmap *, sizeof (struct nfsdmap), 294 MALLOC(dp2, struct nfsdmap *, sizeof (struct nfsdmap),
|
H A D | nfs_clcomsubs.c | 420 MALLOC(dp, struct nfsdmap *, sizeof (struct nfsdmap), 435 MALLOC(dp2, struct nfsdmap *, sizeof (struct nfsdmap),
|
H A D | nfs_clstate.c | 230 * Might need one or both of these, so MALLOC them now, to 231 * avoid a tsleep() in MALLOC later. 233 MALLOC(nowp, struct nfsclowner *, sizeof (struct nfsclowner), 236 MALLOC(nop, struct nfsclopen *, sizeof (struct nfsclopen) + 794 MALLOC(newclp, struct nfsclclient *, 1008 * Might need these, so MALLOC them now, to 1009 * avoid a tsleep() in MALLOC later. 1011 MALLOC(nlp, struct nfscllockowner *, 1013 MALLOC(otherlop, struct nfscllock *, 1015 MALLOC(nlo [all...] |
H A D | nfs_clport.c | 182 MALLOC(newd, struct nfsv4node *, 253 MALLOC(np->n_v4, struct nfsv4node *, sizeof (struct nfsv4node) 321 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
|
/freebsd-11-stable/contrib/nvi/common/ |
H A D | cut.c | 310 MALLOC(sp, tp->lb, CHAR_T *, tp->lb_len);
|
H A D | screen.c | 97 MALLOC(sp, sp->newl, size_t *, len);
|
H A D | recover.c | 407 MALLOC(sp, host, char *, hostmax + 1); 951 MALLOC(sp, data, char *, dlen + len / 4 * 3 + 2);
|
H A D | mem.h | 177 #define MALLOC(sp, p, cast, size) { \ macro
|
/freebsd-11-stable/contrib/ntp/libparse/ |
H A D | parse.c | 800 parse->parse_pdata = MALLOC(parse->parse_plen); 817 parse->parse_data = (char*)MALLOC((unsigned)(parse->parse_dsize * 2 + 2));
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | wince-stub.c | 31 #define MALLOC(n) (void *) LocalAlloc (LMEM_MOVEABLE | LMEM_ZEROINIT, (UINT)(n)) macro 76 outs[outn] = (LPWSTR) MALLOC (len);
|
/freebsd-11-stable/contrib/expat/lib/ |
H A D | xmlparse.c | 621 #define MALLOC(parser, s) (parser->m_mem.malloc_fcn((s))) macro 907 = (ATTRIBUTE *)MALLOC(parser, parser->m_attsSize * sizeof(ATTRIBUTE)); 913 parser->m_attInfo = (XML_AttrInfo *)MALLOC( 922 = (XML_Char *)MALLOC(parser, INIT_DATA_BUF_SIZE * sizeof(XML_Char)); 1995 newBuf = (char *)MALLOC(parser, bufferSize); 2197 return MALLOC(parser, size); 2704 tag = (TAG *)MALLOC(parser, sizeof(TAG)); 2707 tag->buf = (char *)MALLOC(parser, INIT_TAG_BUF_SIZE); 3396 uri = (XML_Char *)MALLOC(parser, (n + EXPAND_SPARE) * sizeof(XML_Char)); 3500 b = (BINDING *)MALLOC(parse [all...] |
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_compat.h | 485 # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), _M_IPF, M_NOWAIT) 488 # define KMALLOCS(a, b, c) MALLOC((a), b, (c), _M_IPF, M_NOWAIT)
|