/illumos-gate/usr/src/cmd/sh/ |
H A D | args.c | 37 static struct dolnod *copyargs(); 39 extern struct dolnod *freeargs(); 40 static struct dolnod *dolh; 43 static struct dolnod *globdolh; 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 * [all …]
|
H A D | xec.c | 185 struct dolnod *olddolh; 198 olddolh = (struct dolnod *)savargs(funcnt); 408 struct dolnod *argsav = 0; 436 argfor = (struct dolnod *)freeargs(argsav);
|
H A D | mode.h | 152 struct dolnod struct 154 struct dolnod *dolnxt; argument
|
H A D | defs.c | 52 struct dolnod *argfor;
|
H A D | defs.h | 180 extern struct dolnod *useargs(); 245 extern struct dolnod *argfor;
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | args.c | 90 struct dolnod *argfor; /* linked list of blocks to be cleaned up */ 91 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() 528 struct dolnod *sh_argcreate(register char *argv[]) in sh_argcreate() 530 register struct dolnod *dp; in sh_argcreate() 537 dp=new_of(struct dolnod,n*sizeof(char*)+size+n); in sh_argcreate() 542 sp = (char*)dp + sizeof(struct dolnod) + n*sizeof(char*); in sh_argcreate() [all …]
|
H A D | trestore.c | 35 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 D | tdump.c | 35 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 D | shcomp.c | 163 struct dolnod *ap = (struct dolnod*)t->com.comarg; in main()
|
H A D | parse.c | 217 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 D | deparse.c | 47 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 D | xec.c | 2250 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 D | subshell.c | 487 struct dolnod *argsav=0; in sh_subshell()
|
H A D | macro.c | 1045 struct dolnod dol; in sh_macfun() 1046 char buff[sizeof(struct dolnod)+sizeof(char*)]; in sh_macfun()
|
H A D | init.c | 1671 sh_argreset(shp,shp->arglist,NIL(struct dolnod*)); in sh_reinit()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | defs.h | 219 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 D | argnod.h | 72 struct dolnod struct 78 struct dolnod *dolnxt; /* used when list are chained */ argument 130 extern struct dolnod *sh_argcreate(char*[]);
|
H A D | shnodes.h | 199 struct dolnod dol;
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | misc.c | 216 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()
|