Home | History | Annotate | Download | only in sh

Lines Matching defs:subtype

732 subevalvar(const char *p, const char *str, int subtype, int startloc,
740 subtype, p, p-str, str, startloc, varflags));
741 argstr(p, subtype == VSASSIGN ? EXP_VARTILDE : EXP_TILDE);
746 switch (subtype) {
771 subevalvar_trim(const char *p, int strloc, int subtype, int startloc,
782 switch (subtype) {
795 p, strloc, subtype, startloc, varflags, quotes));
803 switch (subtype) {
890 int subtype;
904 subtype = varflags & VSTYPE;
906 special = subtype != VSUNKNOWN && !is_name(*p);
910 ("evalvar \"%.*s\", flag=%#X quotes=%#X vf=%#X subtype=%X\n",
911 (int)(p - var - 1), var, flag, quotes, varflags, subtype));
941 switch (subtype) {
955 if (!set && subtype != VSPLUS && special && *var == '@')
960 if (set && subtype != VSPLUS) {
975 varvalue(var, varflags&VSQUOTE, subtype, flag);
976 if (subtype == VSLENGTH) {
982 if (subtype == VSLENGTH) {
1032 switch (subtype) {
1071 if (subevalvar_trim(p, patloc, subtype, startloc, varflags,
1085 if (subevalvar(p, var, subtype, startloc, varflags)) {
1127 if (subtype != VSNORMAL) { /* skip to end of alternative */
1204 varvalue(const char *name, int quoted, int subtype, int flag)
1216 quoted ? ", quoted" : "", subtype, flag));
1218 if (subtype == VSLENGTH) /* no magic required ... */