Lines Matching refs:toys
96 toys.exitval = 2; in test_main()
97 if (!strcmp("[", toys.which->name)) in test_main()
98 if (!toys.optc || strcmp("]", toys.optargs[--toys.optc])) in test_main()
102 if (toys.optc) for (pos = paren = pstack = 0; ; pos++) { in test_main()
103 int len = toys.optc-pos; in test_main()
105 if (!toys.optargs[pos]) perror_exit("need arg @%d", pos); in test_main()
108 result = do_test(toys.optargs+pos, &len); in test_main()
112 if (toys.optargs[pos+1]) { in test_main()
113 if (!strcmp("!", toys.optargs[pos])) { in test_main()
117 if (!strcmp("(", toys.optargs[pos])) { in test_main()
123 result = *toys.optargs[pos++]; in test_main()
125 s = toys.optargs[pos]; in test_main()
138 s = toys.optargs[++pos]; in test_main()
159 toys.exitval = !result; in test_main()