Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/sh/
H A Dargs.c39 static struct dolnod *copyargs();
41 extern struct dolnod *freeargs();
42 static struct dolnod *dolh;
45 static struct dolnod *globdolh;
231 struct dolnod *argblk; in freedolh()
245 struct dolnod *
247 struct dolnod *blk; in freeargs()
250 struct dolnod *argr = 0;
251 struct dolnod *argblk;
280 static struct dolnod *
[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.c53 struct dolnod *argfor;
H A Ddefs.h180 extern struct dolnod *useargs();
245 extern struct dolnod *argfor;
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dargs.c87 struct dolnod *argfor; /* linked list of blocks to be cleaned up */
88 struct dolnod *dolh;
481 struct dolnod *sh_argfree(Shell_t *shp, struct dolnod *blk,int flag) in sh_argfree()
483 register struct dolnod* argr=blk; in sh_argfree()
484 register struct dolnod* argblk; in sh_argfree()
504 return(NIL(struct dolnod*)); in sh_argfree()
519 struct dolnod *sh_argcreate(register char *argv[]) in sh_argcreate()
521 register struct dolnod *dp; in sh_argcreate()
528 dp=new_of(struct dolnod,n*sizeof(char*)+size+n); in sh_argcreate()
533 sp = (char*)dp + sizeof(struct dolnod) + n*sizeof(char*); in sh_argcreate()
[all …]
H A Dtrestore.c35 static struct dolnod *r_comlist(Shell_t*);
278 cmdname = ((struct dolnod*)(com->comarg))->dolval[ARG_SPARE]; in r_comarg()
296 static struct dolnod *r_comlist(Shell_t *shp) in r_comlist()
298 register struct dolnod *dol=0; in r_comlist()
303 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*);
223 p_comlist((struct dolnod*)com->comarg); in p_comarg()
227 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 Ddeparse.c47 static void p_comlist(const struct dolnod*,int);
512 p_comlist((struct dolnod*)com->comarg,flag); in p_comarg()
519 static void p_comlist(const struct dolnod *dol,int endchar) in p_comlist()
H A Dparse.c213 struct dolnod *dp = (struct dolnod*)tp->comarg; in check_typedef()
1700 register struct dolnod* dp; in qscan()
1732 …dp = (struct dolnod*)stakalloc((unsigned)sizeof(struct dolnod) + ARG_SPARE*sizeof(char*) + argn*si… in qscan()
H A Dxec.c1589 struct dolnod *argsav=0; in sh_exec()
2250 register struct dolnod *dp; in sh_run()
2259 …dp = (struct dolnod*)stakalloc((unsigned)sizeof(struct dolnod) + ARG_SPARE*sizeof(char*) + argn*si… in sh_run()
2556 struct dolnod *argsav=0,*saveargfor; in sh_funscope()
3022 path = ((struct dolnod*)tchild->com.comarg)->dolval[ARG_SPARE]; in sh_ntfork()
H A Dmacro.c980 char buff[sizeof(struct dolnod)+sizeof(char*)]; in sh_macfun()
982 struct dolnod *dp = (struct dolnod*)buff; in sh_macfun()
H A Dsubshell.c482 struct dolnod *argsav=0; in sh_subshell()
H A Dinit.c1396 sh_argreset(shp,shp->arglist,NIL(struct dolnod*)); in sh_reinit()
/titanic_41/usr/src/lib/libshell/common/include/
H A Ddefs.h186 struct dolnod *arglist; \
359 extern struct dolnod *sh_argfree(Shell_t *, struct dolnod*,int);
360 extern struct dolnod *sh_argnew(Shell_t*,char*[],struct dolnod**);
363 extern void sh_argreset(Shell_t*,struct dolnod*,struct dolnod*);
365 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.h198 struct dolnod dol;
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dmisc.c216 struct dolnod *argsave=0, *saveargfor; in b_dot_cmd()