Lines Matching refs:toys
34 #include "toys.h"
210 if (toys.optflags & FLAG_i)
213 if (toys.optflags & FLAG_w && is_space) continue;
215 if (toys.optflags & FLAG_b) {
393 if (toys.optflags & FLAG_a) return create_j_vector();
423 if (toys.optflags & FLAG_T) putchar('\t');
430 if ((cc == '\t') && (toys.optflags & FLAG_t))
456 int len = strlen(toys.optargs[TT.dir_num]), ret = 0;
463 tmp = concat_file_path(toys.optargs[1 - TT.dir_num], ptr);
494 if (S_ISDIR(node->st.st_mode) && (toys.optflags & FLAG_r)) {
495 if (!(toys.optflags & FLAG_N)) ret = skip(node);
541 if ((toys.optflags & FLAG_B)) {
566 if (!(toys.optflags & FLAG_q) && change) { //start of !FLAG_q
568 xprintf("--- %s\n", (toys.optflags & FLAG_L) ? llist->arg : files[0]);
569 if (((toys.optflags & FLAG_L) && !llist->next) || !(toys.optflags & FLAG_L))
641 if (toys.optflags & FLAG_s)
645 if ((toys.optflags & FLAG_q) || TT.is_binary)
657 if (j > 0 && (toys.optflags & FLAG_N)) {
664 else if (j < 0 && (toys.optflags & FLAG_N)) {
701 if ((toys.optflags & FLAG_N) && j) {
715 (dir[1].list[r] + TT.len[1]))) && !(toys.optflags & FLAG_N)) {
745 if (!(toys.optflags & FLAG_N)) {
754 if (!(toys.optflags & FLAG_N)) {
773 files[j] = toys.optargs[j];
808 if (toys.optflags & FLAG_S) {
836 toys.exitval = TT.status; //exit status will be the status