Home
last modified time | relevance | path

Searched refs:subtype (Results 1 – 4 of 4) sorted by relevance

/system/core/sh/
Dshow.c170 int subtype; in sharg() local
185 subtype = *++p; in sharg()
186 if (subtype == VSLENGTH) in sharg()
192 if (subtype & VSNUL) in sharg()
195 switch (subtype & VSTYPE) { in sharg()
228 printf("<subtype %d>", subtype); in sharg()
Dexpand.c483 subevalvar(char *p, char *str, int strloc, int subtype, int startloc, int varflags) in subevalvar() argument
502 switch (subtype) { in subevalvar()
607 int subtype; in evalvar() local
621 subtype = varflags & VSTYPE; in evalvar()
643 switch (subtype) { in evalvar()
655 if (set && subtype != VSPLUS) { in evalvar()
658 varvalue(var, varflags & VSQUOTE, subtype, flag); in evalvar()
659 if (subtype == VSLENGTH) { in evalvar()
667 if (subtype == VSLENGTH) { in evalvar()
685 switch (subtype) { in evalvar()
[all …]
Dparser.c1260 int subtype; in readtoken1() local
1281 subtype = VSNORMAL; in readtoken1()
1288 subtype = VSLENGTH; in readtoken1()
1291 subtype = 0; in readtoken1()
1313 if (subtype == 0) { in readtoken1()
1323 subtype = p - types + VSNORMAL; in readtoken1()
1329 subtype = c == '#' ? VSTRIMLEFT : in readtoken1()
1333 subtype++; in readtoken1()
1344 *(stackblock() + typeloc) = subtype | flags; in readtoken1()
1345 if (subtype != VSNORMAL) { in readtoken1()
Djobs.c1399 int subtype = 0; in cmdputs() local
1413 subtype = *p++; in cmdputs()
1414 if ((subtype & VSTYPE) == VSLENGTH) in cmdputs()
1418 if (!(subtype & VSQUOTE) != !(quoted & 1)) { in cmdputs()
1431 subtype = 0; in cmdputs()
1454 if (subtype == 0) in cmdputs()
1456 str = vstype[subtype & VSTYPE]; in cmdputs()
1457 if (subtype & VSNUL) in cmdputs()