Lines Matching +defs:env +defs:any
710 struct env {
716 struct env *oenv;
719 static struct env e = {
725 (struct env *) NULL /* oenv: struct env ptr */
1417 struct env *ep;
1426 ep = (struct env *) space(sizeof(*ep));
1441 struct env *ep;
1460 static int any(int c, const char *s)
1469 * Is any character from s1 in s2?
1474 if (any(*s1++, s2))
2200 if (any(c, "0123456789")) {
2285 while ((c = my_getc(0)) != '\0' && !any(c, "`$ '\"\t;&<>()|^\n")) {
2294 if (any(c, "\"'`$"))
3068 sp = any('/', c) ? "" : path->value;
3323 sp = any('/', cp) ? ":" : path->value;
3391 if (nl || (wp[1] && any(*cp, ifs->value)))
3820 if (f & DOBLANK && any(c, ifs->value))
3832 if (c == '\'' || !any(c, "$`\""))
3844 f & (DOBLANK && any(c, ifs->value)) ||
3845 (!INSUB() && any(c, "\"'"))) {
3848 if (any(c, "\"'"))
3942 if (any(*cp, "=-+?")) {
4219 if (any(*pp, spcl))
4221 else if (!any(*pp & ~QUOTE, spcl))
4228 if (any(*pp, spcl)) {
4290 if (any(dname[k], spcl))
4622 /* Set env ptr for io source to next array spot and check for array overflow */
4852 * Quote them if required, and remove any trailing newline characters.