• Home
  • Raw
  • Download

Lines Matching refs:lflag

443 parse_rename_flags(const char *cmd, char **argv, int argc, int *lflag)  in parse_rename_flags()  argument
451 *lflag = 0; in parse_rename_flags()
455 *lflag = 1; in parse_rename_flags()
467 parse_ls_flags(char **argv, int argc, int *lflag) in parse_ls_flags() argument
475 *lflag = LS_NAME_SORT; in parse_ls_flags()
479 *lflag &= ~VIEW_FLAGS; in parse_ls_flags()
480 *lflag |= LS_SHORT_VIEW; in parse_ls_flags()
483 *lflag &= ~SORT_FLAGS; in parse_ls_flags()
484 *lflag |= LS_SIZE_SORT; in parse_ls_flags()
487 *lflag |= LS_SHOW_ALL; in parse_ls_flags()
490 *lflag &= ~SORT_FLAGS; in parse_ls_flags()
493 *lflag |= LS_SI_UNITS; in parse_ls_flags()
496 *lflag &= ~LS_SHORT_VIEW; in parse_ls_flags()
497 *lflag |= LS_LONG_VIEW; in parse_ls_flags()
500 *lflag &= ~LS_SHORT_VIEW; in parse_ls_flags()
501 *lflag |= LS_NUMERIC_VIEW|LS_LONG_VIEW; in parse_ls_flags()
504 *lflag |= LS_REVERSE_SORT; in parse_ls_flags()
507 *lflag &= ~SORT_FLAGS; in parse_ls_flags()
508 *lflag |= LS_TIME_SORT; in parse_ls_flags()
799 const char *strip_path, int lflag) in do_ls_dir() argument
808 if (!(lflag & LS_SHORT_VIEW)) { in do_ls_dir()
815 if (d[n]->filename[0] != '.' || (lflag & LS_SHOW_ALL)) in do_ls_dir()
833 if (lflag & SORT_FLAGS) { in do_ls_dir()
836 sort_flag = lflag & (SORT_FLAGS|LS_REVERSE_SORT); in do_ls_dir()
843 if (d[n]->filename[0] == '.' && !(lflag & LS_SHOW_ALL)) in do_ls_dir()
850 if (lflag & LS_LONG_VIEW) { in do_ls_dir()
851 if (lflag & (LS_NUMERIC_VIEW|LS_SI_UNITS)) { in do_ls_dir()
858 (lflag & LS_SI_UNITS)); in do_ls_dir()
875 if (!(lflag & LS_LONG_VIEW) && (c != 1)) in do_ls_dir()
885 const char *strip_path, int lflag) in do_globbed_ls() argument
918 err = do_ls_dir(conn, g.gl_pathv[0], strip_path, lflag); in do_globbed_ls()
926 if (!(lflag & LS_SHORT_VIEW)) { in do_globbed_ls()
938 if (lflag & LS_LONG_VIEW) { in do_globbed_ls()
944 (lflag & LS_SI_UNITS)); in do_globbed_ls()
958 if (!(lflag & LS_LONG_VIEW) && (c != 1)) in do_globbed_ls()
1233 int *fflag, int *hflag, int *iflag, int *lflag, int *pflag, in parse_args() argument
1279 *aflag = *fflag = *hflag = *iflag = *lflag = *pflag = 0; in parse_args()
1310 if ((optidx = parse_rename_flags(cmd, argv, argc, lflag)) == -1) in parse_args()
1360 if ((optidx = parse_ls_flags(argv, argc, lflag)) == -1) in parse_args()
1427 int lflag = 0, pflag = 0, rflag = 0, sflag = 0; in parse_dispatch_command() local
1437 &iflag, &lflag, &pflag, &rflag, &sflag, &n_arg, &path1, &path2); in parse_dispatch_command()
1469 err = do_rename(conn, path1, path2, lflag); in parse_dispatch_command()
1530 do_ls_dir(conn, *pwd, *pwd, lflag); in parse_dispatch_command()
1540 err = do_globbed_ls(conn, path1, tmp, lflag); in parse_dispatch_command()