Lines Matching refs:toys
95 toys.exitval = 2; in test_main()
96 if (!strcmp("[", toys.which->name)) in test_main()
97 if (!toys.optc || strcmp("]", toys.optargs[--toys.optc])) in test_main()
101 if (toys.optc) for (pos = paren = pstack = 0; ; pos++) { in test_main()
102 int len = toys.optc-pos; in test_main()
104 if (!toys.optargs[pos]) perror_exit("need arg @%d", pos); in test_main()
107 result = do_test(toys.optargs+pos, &len); in test_main()
111 if (toys.optargs[pos+1]) { in test_main()
112 if (!strcmp("!", toys.optargs[pos])) { in test_main()
116 if (!strcmp("(", toys.optargs[pos])) { in test_main()
122 result = *toys.optargs[pos++]; in test_main()
124 s = toys.optargs[pos]; in test_main()
137 s = toys.optargs[++pos]; in test_main()
158 toys.exitval = !result; in test_main()