Searched refs:argflag (Results 1 - 12 of 12) sorted by relevance

/osnet-11/usr/src/lib/libshell/common/include/
H A Dargnod.h101 unsigned char argflag; member in struct:argnod
109 #define sh_argstr(ap) ((ap)->argflag&ARG_RAW?sh_fmtq((ap)->argval):(ap)->argval)
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dtrestore.c109 if((t->ar.arexpr)->argflag&ARG_RAW)
196 ap->argflag = sfgetc(infile);
198 if((ap->argflag&ARG_MESSAGE) && *ap->argval)
202 ap->argflag &= ~ARG_MESSAGE;
203 if(!(ap->argflag&(ARG_MAC|ARG_EXP)))
208 if(ap->argflag==0)
209 ap->argflag = ARG_RAW;
215 if(*ap->argval==0 && (ap->argflag&~(ARG_APPEND|ARG_MESSAGE|ARG_QUOTED))==0)
276 if(com->comarg->argflag==ARG_RAW)
H A Dargs.c771 if(!(argp->argflag&ARG_RAW))
773 if(!(argp=nextarg) || (argp->argflag&ARG_MAKE))
813 ap->argflag |= ARG_MAKE;
814 ap->argflag &= ~ARG_RAW;
818 fd = argp->argflag&ARG_RAW;
849 argp->argflag &= ~ARG_MAKE;
851 if(*argp->argval==0 && (argp->argflag&ARG_EXP))
861 if(!(argp->argflag&ARG_RAW))
873 ap->argflag |= ARG_RAW;
874 ap->argflag
[all...]
H A Dexpand.c235 ap->argflag = ARG_RAW|ARG_MAKE;
401 (*arghead)->argflag |= ARG_MAKE;
454 ap->argflag = ARG_RAW;
H A Dtdump.c163 if((n = strlen(arg->argval)) || (arg->argflag&~(ARG_APPEND|ARG_MESSAGE|ARG_QUOTED)))
178 sfputc(outfile,arg->argflag);
H A Dmacro.c202 register int flags = argp->argflag;
249 argp->argflag |= ARG_MAKE;
414 if((arg->argflag&ARG_RAW))
423 if(!(flags&ARG_OPTIMIZE) || !(arg->argflag&ARG_MAKE))
425 arg->argflag &= ~ARG_MAKE;
2028 else if((t->ar.arexpr->argflag&ARG_RAW))
2417 argp->argflag = 0;
2442 (*mp->arghead)->argflag |= ARG_MAKE;
2444 argp->argflag |= ARG_RAW|ARG_EXP;
H A Dparse.c196 if(!(ap->argflag&ARG_RAW) || memcmp(ap->argval,"--",2))
204 else if((ap->argnxt.ap)->argflag&ARG_RAW)
284 if(ap->argflag&ARG_RAW)
288 if(sh_isoption(SH_NOEXEC) && (ap->argflag&ARG_MAC) && paramsub(ap->argval))
667 int argflag = lexp->arg->argflag; local
679 argp->argflag = argflag;
965 ap->argflag &= ARG_QUOTED;
966 ap->argflag |
[all...]
H A Dname.c279 if(*arg->argval==0 && arg->argchn.ap && !(arg->argflag&~(ARG_APPEND|ARG_QUOTED|ARG_MESSAGE)))
333 if(arg->argflag&ARG_MAC)
342 if(*arg->argval==0 && arg->argchn.ap && !(arg->argflag&~(ARG_APPEND|ARG_QUOTED|ARG_MESSAGE)))
349 if(arg->argflag&ARG_QUOTED)
355 array |= (tp->com.comset->argflag&ARG_MESSAGE)?NV_IARRAY:NV_ARRAY;
396 if(!(arg->argflag&ARG_APPEND) && (!ap || !ap->fixed))
400 if(!(arg->argflag&ARG_APPEND))
434 if(!(arg->argflag&ARG_APPEND))
443 nv_setvec(np,(arg->argflag&ARG_APPEND),argc,argv);
448 if(arg->argflag
[all...]
H A Ddeparse.c415 else if((arg->argflag&ARG_RAW) && (cp[1] || (*cp!='[' && *cp!=']')))
H A Dlex.c302 if(tok==0 && (flag=lp->arg->argflag))
1366 lp->arg->argflag = (c?c:ARG_RAW);
1375 lp->arg->argflag |= ARG_ASSIGN;
2161 argp->argflag = ARG_RAW|ARG_QUOTED;
H A Dxec.c331 if(strlen(arg->argval) || (arg->argflag==ARG_RAW))
931 if(argp && *com && !(argp->argflag&ARG_RAW))
2278 if(!(t->ar.arexpr->argflag&ARG_RAW))
2344 if(rex->argflag&ARG_MAC)
2352 type = (rex->argflag&ARG_RAW);
3600 if(tchild->com.comarg->argflag&ARG_RAW)
H A Dio.c1170 ap->argflag = ARG_MAC;
1179 ap->argflag = ARG_RAW;

Completed in 92 milliseconds