Home | History | Annotate | Download | only in posix

Lines Matching refs:toys

51 #include "toys.h"
76 if (toys.optflags & FLAG_q) for (; *s; s++) if (!isprint(*s)) *s = '?';
81 if (toys.optflags & FLAG_q) *s = '?';
95 if ((toys.optflags&(FLAG_F|FLAG_p)) && S_ISDIR(mode)) return '/';
96 if (toys.optflags & FLAG_F) {
131 unsigned flags = toys.optflags;
162 int ret = 0, reverse = (toys.optflags & FLAG_r) ? -1 : 1;
164 if (toys.optflags & FLAG_S) {
168 if (toys.optflags & FLAG_t) {
180 int flags = toys.optflags;
195 O_PATH|(O_NOFOLLOW*!(toys.optflags&FLAG_L)));
237 if (!(toys.optflags & FLAG_C)) {
290 unsigned width, flags = toys.optflags, totals[8], len[8], totpad = 0,
531 if (!(toys.optflags & FLAG_m)) toys.optflags |= FLAG_1;
532 if (TT.color) toys.optflags ^= FLAG_color;
533 } else if (toys.optflags&(FLAG_l|FLAG_o|FLAG_n|FLAG_g))
534 toys.optflags |= FLAG_1;
535 else if (!(toys.optflags&(FLAG_1|FLAG_x|FLAG_m))) toys
539 if (toys.optflags & FLAG_d) toys.optflags &= ~FLAG_R;
545 for (s = *toys.optargs ? toys.optargs : noargs; *s; s++) {
546 dt = dirtree_start(*s, !(toys.optflags&(FLAG_l|FLAG_d|FLAG_F)) ||
547 (toys.optflags&(FLAG_L|FLAG_H)));
551 else toys.exitval = 1;