Lines Matching defs:stype
202 short stype; /* [=+-?%#] action after expanded word */
367 int stype;
372 type = varsub(&x, varname, sp, &stype, &slen);
403 st->stype = stype;
418 if (stype)
420 switch (stype & 0x17F) {
494 if (!(stype & 0x80) &&
512 if ((stype & 0x80) &&
518 stype &= ~0x80;
575 if (stype & 0x80)
663 switch (st->stype & 0x17F) {
679 dp, st->stype);
1062 int stype; /* substitution type */
1068 if ((stype = sp[0]) == '\0')
1079 if (stype == '%' && c == '\0')
1081 if ((stype == '#' || stype == '%') && c != '\0') {
1091 if (stype != '#')
1101 if (stype != '#')
1107 if (stype == '#')
1144 stype = 0;
1148 stype = 0x80;
1151 if (!stype && c == '/') {
1153 stype = c;
1156 stype |= 0x80;
1158 } else if (stype == 0x80 && (c == ' ' || c == '0')) {
1159 stype |= '0';
1162 stype |= c;
1166 stype = c;
1168 stype |= 0x80;
1174 stype |= 0x100;
1176 stype |= word[slen + 1];
1179 } else if (stype)
1182 if (!stype && *word != CSUBST)
1184 *stypep = stype;
1189 switch (stype & 0x17F) {
1219 switch (stype & 0x17F) {
1257 if ((stype & 0x17F) == '=' &&
1277 c = stype & 0x7F;
1279 if (((stype < 0x100) && (ctype(c, C_SUBOP2) || c == '/' ||
1280 (((stype & 0x80) ? *xp->str == '\0' : xp->str == null) &&
1284 stype == (0x80 | '0') || stype == (0x100 | '#') ||
1285 stype == (0x100 | 'Q'))