Searched refs:new_of (Results 1 - 9 of 9) sorted by relevance
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | nvtree.c | 148 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 D | jobs.c | 1168 pw = new_of(struct process,0); 1782 struct back_save *bp = new_of(struct back_save,0);
|
H A D | args.c | 528 dp=new_of(struct dolnod,n*sizeof(char*)+size+n);
|
H A D | name.c | 1431 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 D | array.c | 647 ap = new_of(struct index_array,i);
|
H A D | init.c | 555 np->nvalue.dp = new_of(double,0);
|
H A D | xec.c | 2069 np->nvalue.rp = new_of(struct Ufunction,shp->funload?sizeof(Dtlink_t):0);
|
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | defs.h | 248 #define new_of(type,x) ((type*)malloc((unsigned)sizeof(type)+(x))) macro
|
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 90 # 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