Home | History | Annotate | Download | only in src

Lines Matching refs:stype

194 	short	stype;		/* [=+-?%#] action after expanded word */
345 int stype;
350 type = varsub(&x, varname, sp, &stype, &slen);
379 st->stype = stype;
394 if (stype)
396 switch (stype & 0x17F) {
610 if (stype & 0x80)
689 switch (st->stype & 0x17F) {
705 dp, st->stype);
1051 int stype; /* substitution type */
1057 if ((stype = sp[0]) == '\0')
1068 if (stype == '%' && c == '\0')
1070 if ((stype == '#' || stype == '%') && c != '\0') {
1080 if (stype != '#')
1090 if (stype != '#')
1096 if (stype == '#')
1133 stype = 0;
1137 stype = 0x80;
1140 if (!stype && c == '/') {
1142 stype = c;
1145 stype |= 0x80;
1147 } else if (stype == 0x80 && (c == ' ' || c == '0')) {
1148 stype |= '0';
1151 stype |= c;
1155 stype = c;
1157 stype |= 0x80;
1163 stype |= 0x100;
1165 stype |= word[slen + 1];
1168 } else if (stype)
1171 if (!stype && *word != CSUBST)
1173 *stypep = stype;
1178 switch (stype & 0x17F) {
1206 switch (stype & 0x17F) {
1242 if ((stype & 0x17F) == '=' &&
1267 c = stype & 0x7F;
1269 if (((stype < 0x100) && (ctype(c, C_SUBOP2) || c == '/' ||
1270 (((stype&0x80) ? *xp->str=='\0' : xp->str==null) ? /* undef? */
1272 stype == (0x80 | '0') || stype == (0x100 | '#') ||
1273 stype == (0x100 | 'Q'))