Lines Matching defs:type

873 		register int 	type = flags;
875 int errorflg = (type&sh_state(SH_ERREXIT))|OPTIMIZE;
876 int execflg = (type&sh_state(SH_NOFORK));
877 int execflg2 = (type&sh_state(SH_FORKED));
878 int mainloop = (type&sh_state(SH_INTERACTIVE));
880 int ntflag = (type&sh_state(SH_NTFORK));
907 type = t->tre.tretyp;
913 switch(type&COMMSK)
922 shp->bltindata.invariant = type>>(COMBITS+2);
923 type &= (COMMSK|COMSCAN);
1211 type=1;
1213 type=1+!com[1];
1215 type = (execflg && !shp->subshell && !shp->st.trapcom[0]);
1216 sh_redirect(shp,io,type);
1345 type=0;
1453 if((type&(FAMP|TFORK))==(FAMP|TFORK))
1456 no_fork = !ntflag && !(type&(FAMP|FPOU)) &&
1467 if(!(type&FAMP))
1470 else if(!(type&FINT))
1480 if(((type&(FAMP|FINT)) == (FAMP|FINT)) && (maxjob=nv_getnum(JOBMAXNOD))>0)
1491 if(type&FCOOP)
1513 if((type&(FAMP|FINT)) == (FAMP|FINT))
1524 if((type&(FAMP|FINT)) == (FAMP|FINT))
1527 parent = sh_fork(shp,type,&jobid);
1540 parent = sh_fork(shp,type,&jobid);
1552 parent = sh_fork(shp,type,&jobid);
1569 if(type&FPCL)
1571 if(type&(FCOOP|FAMP))
1573 else if(!(type&(FAMP|FPOU)))
1596 if(type&FAMP)
1627 if((type&FINT) && !sh_isstate(SH_MONITOR))
1641 if((type&FAMP) && sh_isoption(SH_BGNICE))
1644 if(type&FPIN)
1651 if(!(type&FPOU) || (type&FCOOP))
1654 if(type&FPOU)
1663 if((type&COMMSK)!=TCOM)
1685 if((type&COMMSK)!=TCOM)
1691 if(!no_fork && !(type&FPOU))
1730 if(type&FPIN)
1764 if(type&FPIN)
1767 type = shp->exitval;
1768 if(!(type&SH_EXITSIG))
1774 type = shp->exitval;
1778 if(type || !sh_isoption(SH_PIPEFAIL))
1779 shp->exitval = type;
1830 else if(((type=t->par.partre->tre.tretyp)&FAMP) && ((type&COMMSK)==TFORK))
1907 type = sh_coexec(shp,t,1+copipe);
1910 if(type>0)
1912 job_post(shp,type,0);
1913 type = 0;
1938 type = sh_exec(t->lst.lstlef, errorflg);
1948 while(!type && t->tre.tretyp==TFIL);
1952 if(type == 0)
1998 if(type&TTEST)
2009 if(type&TTEST)
2089 while(type = *cp++)
2090 if(type < '0' && type > '9')
2092 if(type!=0)
2093 type = nargs;
2095 type = (int)strtol(val, (char**)0, 10)-1;
2096 if(type<0 || type >= nargs)
2099 cp = args[type];
2175 if(type==TWH && tt->tre.tretyp==TCOM && !tt->com.comarg && tt->com.comio)
2184 if((sh_exec(tt,0)==0)!=(type==TWH))
2205 if(type==TWH && tt->tre.tretyp==TCOM && !tt->com.comarg && tt->com.comio)
2233 if((sh_exec(tt,first)==0)!=(type==TWH))
2352 type = (rex->argflag&ARG_RAW);
2353 if((type && strcmp(r,s)==0) ||
2354 (!type && (strmatch(r,s)
2391 if(type!=TTIME)
2621 if(type&FPOSIX)
2625 if(type&FPIN)
2627 if(type&FOPTGET)
2637 int negate = (type&TNEGATE)!=0;
2642 if(type&TTEST)
2646 if((type&TPAREN)==TPAREN)
2657 n = type>>TSHIFT;
2659 if(type&TBINARY)
2662 argv[0] = (type&TNEGATE)?((char*)e_tstbegin):"[[";
2666 sfwrite(sfstderr,e_tstbegin,(type&TNEGATE?5:3));
2668 if(type&TUNARY)
2686 else if(type&TBINARY)
2692 type >>= TSHIFT;
2693 if(type==TEST_PEQ || type==TEST_PNE)