Home | History | Annotate | Download | only in src

Lines Matching defs:stype

192 	short	stype;		/* [=+-?%#] action after expanded word */
334 int stype;
339 type = varsub(&x, varname, sp, &stype, &slen);
368 st->stype = stype;
374 if (stype)
376 switch (stype & 0x17F) {
562 if (stype & 0x80)
641 switch (st->stype & 0x17F) {
657 dp, st->stype);
993 int stype; /* substitution type */
999 if ((stype = sp[0]) == '\0')
1010 if (stype == '%' && c == '\0')
1012 if ((stype == '#' || stype == '%') && c != '\0') {
1022 if (stype != '#')
1032 if (stype != '#')
1038 if (stype == '#')
1075 stype = 0;
1079 stype = 0x80;
1082 if (!stype && c == '/') {
1084 stype = c;
1087 stype |= 0x80;
1089 } else if (stype == 0x80 && (c == ' ' || c == '0')) {
1090 stype |= '0';
1093 stype |= c;
1097 stype = c;
1099 stype |= 0x80;
1105 stype |= 0x100;
1107 stype |= word[slen + 1];
1110 } else if (stype)
1113 if (!stype && *word != CSUBST)
1115 *stypep = stype;
1120 switch (stype & 0x17F) {
1146 switch (stype & 0x17F) {
1180 if ((stype & 0x17F) == '=' &&
1205 c = stype & 0x7F;
1207 if (((stype < 0x100) && (ctype(c, C_SUBOP2) || c == '/' ||
1208 (((stype&0x80) ? *xp->str=='\0' : xp->str==null) ? /* undef? */
1210 stype == (0x80 | '0') || stype == (0x100 | '#'))