Home
last modified time | relevance | path

Searched refs:new_of (Results 1 – 23 of 23) sorted by relevance

/titanic_51/usr/src/lib/libshell/common/include/
H A Ddefs.h248 #define new_of(type,x) ((type*)malloc((unsigned)sizeof(type)+(x))) macro
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dnvtree.c148 struct nvdir *save, *dp = new_of(struct nvdir,len); in nv_diropen()
232 if(!(save = new_of(struct nvdir,0))) in nv_diropen()
331 if(!(save = new_of(struct nvdir,0))) in nv_dirnext()
H A Djobs.c1168 pw = new_of(struct process,0); in job_post()
1782 struct back_save *bp = new_of(struct back_save,0); in job_subsave()
H A Dname.c1431 up->ldp = new_of(Sfdouble_t,0); in nv_putval()
1451 up->dp = new_of(double,0); in nv_putval()
1495 up->llp = new_of(Sflong_t,0); in nv_putval()
1556 up->lp = new_of(int32_t,0); in nv_putval()
H A Dargs.c528 dp=new_of(struct dolnod,n*sizeof(char*)+size+n); in sh_argcreate()
H A Dio.c2006 item = new_of(struct openlist, 0); in sftrack()
2057 if(!(ep = new_of(struct eval,0))) in sh_sfeval()
H A Darray.c647 ap = new_of(struct index_array,i); in array_grow()
H A Dinit.c555 np->nvalue.dp = new_of(double,0); in put_seconds()
H A Dxec.c2069 np->nvalue.rp = new_of(struct Ufunction,shp->funload?sizeof(Dtlink_t):0); in sh_exec()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h284 #define new_of(type,x) ((type*)malloc((unsigned)sizeof(type)+(x))) macro
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvtree.c149 struct nvdir *save, *dp = new_of(struct nvdir,len+1); in nv_diropen()
234 if(!(save = new_of(struct nvdir,0))) in nv_diropen()
335 if(!(save = new_of(struct nvdir,len+1))) in nv_dirnext()
H A Dargs.c537 dp=new_of(struct dolnod,n*sizeof(char*)+size+n); in sh_argcreate()
H A Djobs.c1395 pw = new_of(struct process,0); in job_post()
2041 struct back_save *bp = new_of(struct back_save,0); in job_subsave()
H A Dname.c1692 up->ldp = new_of(Sfdouble_t,0); in nv_putval()
1712 up->dp = new_of(double,0); in nv_putval()
1756 up->llp = new_of(Sflong_t,0); in nv_putval()
1817 up->lp = new_of(int32_t,0); in nv_putval()
H A Dio.c2300 item = new_of(struct openlist, 0); in sftrack()
2351 if(!(ep = new_of(struct eval,0))) in sh_sfeval()
H A Darray.c823 ap = new_of(struct index_array,i); in array_grow()
H A Dinit.c613 np->nvalue.dp = new_of(double,0); in put_seconds()
H A Dparse.c837 np->nvalue.rp = new_of(struct Ufunction,shp->funload?sizeof(Dtlink_t):0); in funct()
H A Dxec.c2779 np->nvalue.rp = new_of(struct Ufunction,shp->funload?sizeof(Dtlink_t):0); in sh_exec()
/titanic_51/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)))) in sh_histinit()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/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)))) in sh_histinit()
/titanic_51/usr/src/lib/libshell/common/bltins/
H A Dprint.c696 if (np->nvalue.lp = new_of(int32_t,0)) in extend()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dprint.c777 if (np->nvalue.lp = new_of(int32_t,0)) in extend()