/freebsd-9.3-release/contrib/nvi/ex/ |
H A D | ex_source.c | 65 MALLOC(sp, bp, char *, (size_t)sb.st_size + 1);
|
/freebsd-9.3-release/contrib/nvi/perl_api/ |
H A D | perlsfio.c | 74 MALLOC(scrp, disc, Sfdisc_t*, sizeof(Sfdisc_t));
|
/freebsd-9.3-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-9.3-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-9.3-release/sys/sys/ |
H A D | malloc.h | 153 #define MALLOC(space, cast, size, type, flags) \ macro
|
/freebsd-9.3-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-9.3-release/sys/fs/nfsclient/ |
H A D | nfs_clnode.c | 112 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize, 167 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 | 361 MALLOC(dp, struct nfsdmap *, sizeof (struct nfsdmap), 376 MALLOC(dp2, struct nfsdmap *, sizeof (struct nfsdmap),
|
H A D | nfs_clstate.c | 209 * Might need one or both of these, so MALLOC them now, to 210 * avoid a tsleep() in MALLOC later. 212 MALLOC(nowp, struct nfsclowner *, sizeof (struct nfsclowner), 215 MALLOC(nop, struct nfsclopen *, sizeof (struct nfsclopen) + 723 MALLOC(newclp, struct nfsclclient *, 922 * Might need these, so MALLOC them now, to 923 * avoid a tsleep() in MALLOC later. 925 MALLOC(nlp, struct nfscllockowner *, 927 MALLOC(otherlop, struct nfscllock *, 929 MALLOC(nlo [all...] |
H A D | nfs_clport.c | 169 MALLOC(newd, struct nfsv4node *, 244 MALLOC(np->n_v4, struct nfsv4node *, sizeof (struct nfsv4node) 311 MALLOC(nfhp, struct nfsfh *, sizeof (struct nfsfh) + fhsize,
|
/freebsd-9.3-release/contrib/nvi/common/ |
H A D | util.c | 136 MALLOC(sp, copy, CHAR_T *, len + 1);
|
H A D | cut.c | 325 MALLOC(sp, tp->lb, CHAR_T *, tp->lb_len);
|
H A D | mem.h | 136 #define MALLOC(sp, p, cast, size) { \ macro
|
H A D | screen.c | 96 MALLOC(sp, sp->newl, size_t *, len);
|
/freebsd-9.3-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-9.3-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_compat.h | 486 # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), M_IOSYS, M_NOWAIT) 487 # define KMALLOCS(a, b, c) MALLOC((a), b, (c), M_IOSYS, M_NOWAIT) 713 # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), M_PFILT, M_NOWAIT) 714 # define KMALLOCS(a, b, c) MALLOC((a), b, (c), M_PFILT, \ 1359 # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), M_TEMP, M_NOWAIT) 1360 # define KMALLOCS(a, b, c) MALLOC((a), b, (c), M_TEMP, \ 1674 # define KMALLOC(a, b) MALLOC((a), b, sizeof(*(a)), _M_IPF, M_NOWAIT) 1676 # define KMALLOCS(a, b, c) MALLOC((a), b, (c), _M_IPF, M_NOWAIT)
|
/freebsd-9.3-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-9.3-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-9.3-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdserv.c | 2195 MALLOC(stp, struct nfsstate *, sizeof (struct nfsstate) + i, 2219 MALLOC(stp, struct nfsstate *, sizeof (struct nfsstate), 2238 MALLOC(lop, struct nfslock *, sizeof (struct nfslock), 2344 MALLOC(stp, struct nfsstate *, sizeof (struct nfsstate) + i, 2448 MALLOC(stp, struct nfsstate *, sizeof (struct nfsstate), 2450 MALLOC(lop, struct nfslock *, sizeof (struct nfslock), 2563 MALLOC(stp, struct nfsstate *, sizeof (struct nfsstate) + i, 3301 MALLOC(clp, struct nfsclient *, sizeof (struct nfsclient) + i, 3498 MALLOC(stp, struct nfsstate *, sizeof (struct nfsstate) + len,
|
/freebsd-9.3-release/sys/kern/ |
H A D | kern_gzio.c | 397 MALLOC(ptr, void *, items * size, M_TEMP, M_NOWAIT | M_ZERO);
|
/freebsd-9.3-release/usr.sbin/route6d/ |
H A D | route6d.c | 285 #define MALLOC(type) ((type *)malloc(sizeof(type))) macro 1421 if ((rrt = MALLOC(struct riprt)) == NULL) { 1554 if ((ifcp = MALLOC(struct ifc)) == NULL) { 1633 if ((ifac = MALLOC(struct ifac)) == NULL) { 2206 if ((rrt = MALLOC(struct riprt)) == NULL) 2355 if ((rrt = MALLOC(struct riprt)) == NULL) { 2745 if ((rrt = MALLOC(struct riprt)) == NULL) {
|