Searched refs:comsub (Results 1 – 11 of 11) sorted by relevance
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | subshell.c | 103 char comsub; member 215 shp->comsub = 0; in sh_subfork() 469 * If comsub is not null, then output will be placed in temp file (or buffer) 470 * If comsub is not null, the return value will be a stream consisting of 474 Sfio_t *sh_subshell(Shell_t *shp,Shnode_t *t, volatile int flags, int comsub) in sh_subshell() argument 531 if(comsub) in sh_subshell() 536 sp->comsub = shp->comsub; in sh_subshell() 537 shp->subshare = comsub==2 || (comsub in sh_subshell() [all...] |
H A D | lex.c | 136 static int comsub(Lex_t*,int); 289 lp->comsub = 0; in sh_lexopen() 879 wordflags |= comsub(lp,c); in sh_lex() 1238 if(mode==ST_BEGIN && (lp->lex.reservok||lp->comsub)) in sh_lex() 1240 if(lp->comsub) in sh_lex() 1259 if(lp->comsub && c==RBRACE) in sh_lex() 1362 else if(n==RBRACE && lp->comsub) in sh_lex() 1566 static int comsub(register Lex_t *lp, int endtok) in comsub() function 1574 csub = lp->comsub; in comsub() 1579 lp->comsub in comsub() [all...] |
H A D | xec.c | 582 char comsub = shp->comsub; in sh_eval() local 585 shp->comsub = 0; in sh_eval() 625 shp->comsub = comsub; in sh_eval() 1610 if(shp->comsub==1 && !(shp->fdstatus[1]&IONOSEEK)) in sh_exec() 1689 if(shp->comsub==1 && usepipe && unpipe) in sh_exec() 1706 if(shp->comsub==1 && usepipe && unpipe) in sh_exec() 1939 if(shp->comsub==1) in sh_exec() 1968 if(shp->comsub in sh_exec() 3496 int level, pipepid=shp->pipepid, comsub=shp->comsub; sh_funct() local [all...] |
H A D | parse.c | 418 lp->comsub = 1; in sh_dolparen() 432 lp->comsub = 0; in sh_dolparen() 1124 int showme=0, comsub; in item() local 1310 comsub = lexp->comsub; in item() 1311 lexp->comsub = 0; in item() 1313 lexp->comsub = comsub; in item() 1729 if(token==RPAREN && (iof&IOLSEEK) && lexp->comsub) in inout()
|
H A D | io.c | 1289 if(shp->comsub==1) in sh_redirect()
|
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | subshell.c | 469 Sfio_t *sh_subshell(Shnode_t *t, int flags, int comsub) in sh_subshell() argument 513 if(comsub) in sh_subshell() 516 shp->subshare = comsub==2 || (comsub==1 && sh_isoption(SH_SUBSHARE)); in sh_subshell() 517 if(!comsub || !shp->subshare) in sh_subshell() 541 if(comsub) in sh_subshell() 575 if(comsub!=2 && jmpval!=SH_JMPSUB && shp->st.trapcom[0] && shp->subshell) in sh_subshell() 593 if(comsub) in sh_subshell() 649 if(comsub) in sh_subshell() 652 if(comsub && iop && sp->pipefd<0) in sh_subshell() 740 if(sp->subpid && !comsub) in sh_subshell()
|
H A D | lex.c | 131 static int comsub(Lex_t*,int); 278 lp->comsub = 0; in sh_lexopen() 828 wordflags |= comsub(lp,c); in sh_lex() 1163 if(mode==ST_BEGIN && (lp->lex.reservok||lp->comsub)) in sh_lex() 1177 if(lp->comsub && c==RBRACE) in sh_lex() 1277 else if(n==RBRACE && lp->comsub) in sh_lex() 1483 static int comsub(register Lex_t *lp, int endtok) in comsub() function 1491 csub = lp->comsub; in comsub() 1496 lp->comsub = (endtok==LBRACE); in comsub() 1539 lp->comsub = 0; in comsub() [all …]
|
H A D | parse.c | 402 lp->comsub = 1; in sh_dolparen() 416 lp->comsub = 0; in sh_dolparen() 1028 int showme=0, comsub; in item() local 1213 comsub = lexp->comsub; in item() 1214 lexp->comsub = 0; in item() 1216 lexp->comsub = comsub; in item() 1604 if(token==RPAREN && (iof&IOLSEEK) && lexp->comsub) in inout()
|
/titanic_51/usr/src/lib/libshell/common/include/ |
H A D | shlex.h | 50 char comsub; /* parsing command substitution */ member
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/include/ |
H A D | shlex.h | 50 char comsub; /* parsing command substitution */ member
|
H A D | defs.h | 205 char comsub; /* set when in $() comsub */ \ 206 char subshare; /* set when in ${..} comsub */ \
|