Searched refs:new_of (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvtree.c148 struct nvdir *save, *dp = new_of(struct nvdir,len);
232 if(!(save = new_of(struct nvdir,0)))
331 if(!(save = new_of(struct nvdir,0)))
H A Djobs.c1168 pw = new_of(struct process,0);
1782 struct back_save *bp = new_of(struct back_save,0);
H A Dargs.c528 dp=new_of(struct dolnod,n*sizeof(char*)+size+n);
H A Dname.c1431 up->ldp = new_of(Sfdouble_t,0);
1451 up->dp = new_of(double,0);
1495 up->llp = new_of(Sflong_t,0);
1556 up->lp = new_of(int32_t,0);
H A Darray.c647 ap = new_of(struct index_array,i);
H A Dinit.c555 np->nvalue.dp = new_of(double,0);
H A Dxec.c2069 np->nvalue.rp = new_of(struct Ufunction,shp->funload?sizeof(Dtlink_t):0);
/illumos-gate/usr/src/lib/libshell/common/include/
H A Ddefs.h248 #define new_of(type,x) ((type*)malloc((unsigned)sizeof(type)+(x))) macro
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dhistory.c90 # define new_of(type,x) ((type*)malloc((unsigned)sizeof(type)+(x))) macro
310 if(!(hp=new_of(History_t,(--histmask)*sizeof(off_t))))

Completed in 122 milliseconds