Lines Matching refs:optflags
72 if (toys.optflags&FLAG_q) *buf = '?'; in crunch_qb()
77 if (toys.optflags&FLAG_b) { in crunch_qb()
108 if ((toys.optflags&(FLAG_F|FLAG_p)) && S_ISDIR(mode)) return '/'; in endtype()
109 if (toys.optflags & FLAG_F) { in endtype()
125 if (toys.optflags&FLAG_h) return human_readable(s, value*units, 0); in print_with_h()
134 unsigned flags = toys.optflags; in entrylen()
163 int ret = 0, reverse = (toys.optflags & FLAG_r) ? -1 : 1; in compare()
165 if (toys.optflags & FLAG_S) { in compare()
169 if (toys.optflags & FLAG_t) { in compare()
183 int flags = toys.optflags; in filter()
198 O_PATH|(O_NOFOLLOW*!(toys.optflags&FLAG_L))); in filter()
240 if (!(toys.optflags & FLAG_C)) { in next_column()
293 unsigned width, flags = toys.optflags, totals[8], len[8], totpad = 0, in listfiles()
535 if (toys.optflags&FLAG_full_time) { in ls_main()
536 toys.optflags |= FLAG_l; in ls_main()
542 if (!(toys.optflags&FLAG_show_control_chars)) toys.optflags |= FLAG_b; in ls_main()
543 if (toys.optflags&(FLAG_l|FLAG_o|FLAG_n|FLAG_g)) toys.optflags |= FLAG_1; in ls_main()
544 else if (!(toys.optflags&(FLAG_1|FLAG_x|FLAG_m))) toys.optflags |= FLAG_C; in ls_main()
546 if (!(toys.optflags & FLAG_m)) toys.optflags |= FLAG_1; in ls_main()
547 if (TT.color) toys.optflags ^= FLAG_color; in ls_main()
553 if (toys.optflags&FLAG_b) TT.escmore = " \\"; in ls_main()
558 if (toys.optflags & FLAG_d) toys.optflags &= ~FLAG_R; in ls_main()
566 int sym = !(toys.optflags&(FLAG_l|FLAG_d|FLAG_F)) in ls_main()
567 || (toys.optflags&(FLAG_L|FLAG_H)); in ls_main()