/freebsd-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/sys/sys/ |
H A D | malloc.h | 155 #define MALLOC(space, cast, size, type, flags) \ macro
|
/freebsd-10.1-release/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-10.1-release/sys/fs/nfsclient/ |
H A D | nfs_clnode.c | 112 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize, 161 MALLOC(np->n_fhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
|
H A D | nfs_clsubs.c | 299 MALLOC(dp, struct nfsdmap *, sizeof (struct nfsdmap), 314 MALLOC(dp2, struct nfsdmap *, sizeof (struct nfsdmap),
|
H A D | nfs_clcomsubs.c | 417 MALLOC(dp, struct nfsdmap *, sizeof (struct nfsdmap), 432 MALLOC(dp2, struct nfsdmap *, sizeof (struct nfsdmap),
|
H A D | nfs_clport.c | 169 MALLOC(newd, struct nfsv4node *, 238 MALLOC(np->n_v4, struct nfsv4node *, sizeof (struct nfsv4node) 305 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
|
H A D | nfs_clstate.c | 229 * Might need one or both of these, so MALLOC them now, to 230 * avoid a tsleep() in MALLOC later. 232 MALLOC(nowp, struct nfsclowner *, sizeof (struct nfsclowner), 235 MALLOC(nop, struct nfsclopen *, sizeof (struct nfsclopen) + 747 MALLOC(newclp, struct nfsclclient *, 951 * Might need these, so MALLOC them now, to 952 * avoid a tsleep() in MALLOC later. 954 MALLOC(nlp, struct nfscllockowner *, 956 MALLOC(otherlop, struct nfscllock *, 958 MALLOC(nlo [all...] |
/freebsd-10.1-release/contrib/byacc/ |
H A D | mstring.c | 126 if ((n->base = n->ptr = MALLOC(HEAD)) != 0)
|
H A D | lr0.c | 230 p = (core *)MALLOC(sizeof(core) + i * sizeof(Value_t));
|
/freebsd-10.1-release/contrib/nvi/vi/ |
H A D | v_match.c | 167 MALLOC(sp, *mp, CHAR_T *, len * sizeof(CHAR_T));
|
/freebsd-10.1-release/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 | 410 MALLOC(sp, host, char *, hostmax + 1); 954 MALLOC(sp, data, char *, dlen + len / 4 * 3 + 2);
|
H A D | mem.h | 177 #define MALLOC(sp, p, cast, size) { \ macro
|
/freebsd-10.1-release/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-10.1-release/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-10.1-release/contrib/expat/lib/ |
H A D | xmlparse.c | 562 #define MALLOC(s) (parser->m_mem.malloc_fcn((s))) macro 761 atts = (ATTRIBUTE *)MALLOC(attsSize * sizeof(ATTRIBUTE)); 767 attInfo = (XML_AttrInfo*)MALLOC(attsSize * sizeof(XML_AttrInfo)); 774 dataBuf = (XML_Char *)MALLOC(INIT_DATA_BUF_SIZE * sizeof(XML_Char)); 1589 ? (char *)MALLOC(len * 2) 1742 newBuf = (char *)MALLOC(bufferSize); 1917 return MALLOC(size); 2412 tag = (TAG *)MALLOC(sizeof(TAG)); 2415 tag->buf = (char *)MALLOC(INIT_TAG_BUF_SIZE); 3041 uri = (XML_Char *)MALLOC(( [all...] |
/freebsd-10.1-release/sys/kern/ |
H A D | kern_gzio.c | 391 MALLOC(ptr, void *, items * size, M_TEMP, M_NOWAIT | M_ZERO);
|