Home
last modified time | relevance | path

Searched refs:dolnod (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/sh/
H A Dargs.c40 static struct dolnod *dolh;
229 struct dolnod *argblk; in freedolh()
243 struct dolnod *
245 struct dolnod *blk; in freeargs()
248 struct dolnod *argr = 0;
249 struct dolnod *argblk;
278 static struct dolnod *
281 struct dolnod *np = (struct dolnod *)alloc(sizeof (struct dolnod)); in copyargs()
297 struct dolnod *
302 struct dolnod *argblk; in clean_args()
[all …]
H A Dxec.c185 struct dolnod *olddolh;
198 olddolh = (struct dolnod *)savargs(funcnt);
408 struct dolnod *argsav = 0;
436 argfor = (struct dolnod *)freeargs(argsav);
H A Dmode.h152 struct dolnod struct
154 struct dolnod *dolnxt; argument
H A Ddefs.c52 struct dolnod *argfor;
H A Ddefs.h180 extern struct dolnod *useargs();
245 extern struct dolnod *argfor;
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dargs.c91 struct dolnod *dolh;
490 struct dolnod *sh_argfree(Shell_t *shp, struct dolnod *blk,int flag) in sh_argfree()
492 register struct dolnod* argr=blk; in sh_argfree()
493 register struct dolnod* argblk; in sh_argfree()
513 return(NIL(struct dolnod*)); in sh_argfree()
530 register struct dolnod *dp; in sh_argcreate()
555 struct dolnod *sh_argnew(Shell_t *shp,char *argi[], struct dolnod **savargfor) in sh_argnew()
569 void sh_argreset(Shell_t *shp,struct dolnod *blk, struct dolnod *afor) in sh_argreset()
584 struct dolnod *sh_arguse(Shell_t* shp) in sh_arguse()
586 register struct dolnod *dh; in sh_arguse()
[all …]
H A Dtrestore.c35 static struct dolnod *r_comlist(Shell_t*);
282 cmdname = ((struct dolnod*)(com->comarg))->dolval[ARG_SPARE]; in r_comarg()
300 static struct dolnod *r_comlist(Shell_t *shp) in r_comlist()
302 register struct dolnod *dol=0; in r_comlist()
307 dol = (struct dolnod*)stkalloc(shp->stk,sizeof(struct dolnod) + sizeof(char*)*(l+ARG_SPARE)); in r_comlist()
H A Dtdump.c35 static int p_comlist(const struct dolnod*);
225 p_comlist((struct dolnod*)com->comarg); in p_comarg()
229 static int p_comlist(const struct dolnod *dol) in p_comlist()
H A Dshcomp.c163 struct dolnod *ap = (struct dolnod*)t->com.comarg; in main()
H A Dparse.c217 struct dolnod *dp = (struct dolnod*)tp->comarg; in check_typedef()
830 argv0 = argv = ((struct dolnod*)ac->comarg)->dolval+ARG_SPARE; in funct()
840 size += sizeof(struct dolnod)+(nargs+ARG_SPARE)*sizeof(char*); in funct()
846 np->nvalue.rp->argc = ((struct dolnod*)ac->comarg)->dolnum; in funct()
881 struct dolnod *dp = (struct dolnod*)stakalloc(size); in funct()
882 char *cp, *sp, **argv, **old = ((struct dolnod*)t->funct.functargs->comarg)->dolval+1; in funct()
884 dp->dolnum = ((struct dolnod*)t->funct.functargs->comarg)->dolnum; in funct()
1832 register struct dolnod* dp; in qscan()
1864 …dp = (struct dolnod*)stakalloc((unsigned)sizeof(struct dolnod) + ARG_SPARE*sizeof(char*) + argn*si… in qscan()
H A Ddeparse.c47 static void p_comlist(const struct dolnod*,int);
531 p_comlist((struct dolnod*)com->comarg,flag); in p_comarg()
538 static void p_comlist(const struct dolnod *dol,int endchar) in p_comlist()
H A Dxec.c2250 struct dolnod *argsav=0; in sh_exec()
2799 np->nvalue.rp->argv = ac?((struct dolnod*)ac->comarg)->dolval+1:0; in sh_exec()
2800 np->nvalue.rp->argc = ac?((struct dolnod*)ac->comarg)->dolnum:0; in sh_exec()
2977 register struct dolnod *dp; in sh_run()
2986 …dp = (struct dolnod*)stakalloc((unsigned)sizeof(struct dolnod) + ARG_SPARE*sizeof(char*) + argn*si… in sh_run()
3341 struct dolnod *argsav=0,*saveargfor; in sh_funscope()
3819 path = ((struct dolnod*)tchild->com.comarg)->dolval[ARG_SPARE]; in sh_ntfork()
H A Dsubshell.c487 struct dolnod *argsav=0; in sh_subshell()
H A Dmacro.c1045 struct dolnod dol; in sh_macfun()
1046 char buff[sizeof(struct dolnod)+sizeof(char*)]; in sh_macfun()
H A Dinit.c1671 sh_argreset(shp,shp->arglist,NIL(struct dolnod*)); in sh_reinit()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h219 struct dolnod *arglist; \
395 extern struct dolnod *sh_argfree(Shell_t *, struct dolnod*,int);
396 extern struct dolnod *sh_argnew(Shell_t*,char*[],struct dolnod**);
399 extern void sh_argreset(Shell_t*,struct dolnod*,struct dolnod*);
401 extern struct dolnod *sh_arguse(Shell_t*);
H A Dargnod.h72 struct dolnod struct
78 struct dolnod *dolnxt; /* used when list are chained */ argument
130 extern struct dolnod *sh_argcreate(char*[]);
H A Dshnodes.h199 struct dolnod dol;
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dmisc.c216 struct dolnod *saveargfor; in b_dot_cmd()
217 volatile struct dolnod *argsave=0; in b_dot_cmd()
305 sh_argreset(shp,(struct dolnod*)argsave,saveargfor); in b_dot_cmd()