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

/osnet-11/usr/src/lib/libshell/common/sh/
H A Dnvtree.c152 struct nvdir *save, *dp = new_of(struct nvdir,len+1);
237 if(!(save = new_of(struct nvdir,0)))
338 if(!(save = new_of(struct nvdir,len+1)))
H A Djobs.c1320 pw = new_of(struct process,0);
1951 struct back_save *bp = new_of(struct back_save,0);
H A Dargs.c536 dp=new_of(struct dolnod,n*sizeof(char*)+size+n);
H A Dname.c1582 up->ldp = new_of(Sfdouble_t,0);
1602 up->dp = new_of(double,0);
1646 up->llp = new_of(Sflong_t,0);
1707 up->lp = new_of(int32_t,0);
H A Darray.c787 ap = new_of(struct index_array,i);
H A Dinit.c598 np->nvalue.dp = new_of(double,0);
H A Dxec.c2581 np->nvalue.rp = new_of(struct Ufunction,shp->funload?sizeof(Dtlink_t):0);
/osnet-11/usr/src/lib/libshell/common/include/
H A Ddefs.h274 #define new_of(type,x) ((type*)malloc((unsigned)sizeof(type)+(x))) macro
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dhistory.c90 # define new_of(type,x) ((type*)malloc((unsigned)sizeof(type)+(x))) macro
309 if(!(hp=new_of(History_t,(--histmask)*sizeof(off_t))))

Completed in 50 milliseconds