Home | History | Annotate | Download | only in openssh

Lines Matching refs:lflag

405 parse_ls_flags(char **argv, int argc, int *lflag)
413 *lflag = LS_NAME_SORT;
417 *lflag &= ~VIEW_FLAGS;
418 *lflag |= LS_SHORT_VIEW;
421 *lflag &= ~SORT_FLAGS;
422 *lflag |= LS_SIZE_SORT;
425 *lflag |= LS_SHOW_ALL;
428 *lflag &= ~SORT_FLAGS;
431 *lflag |= LS_SI_UNITS;
434 *lflag &= ~LS_SHORT_VIEW;
435 *lflag |= LS_LONG_VIEW;
438 *lflag &= ~LS_SHORT_VIEW;
439 *lflag |= LS_NUMERIC_VIEW|LS_LONG_VIEW;
442 *lflag |= LS_REVERSE_SORT;
445 *lflag &= ~SORT_FLAGS;
446 *lflag |= LS_TIME_SORT;
698 do_ls_dir(struct sftp_conn *conn, char *path, char *strip_path, int lflag)
707 if (!(lflag & LS_SHORT_VIEW)) {
714 if (d[n]->filename[0] != '.' || (lflag & LS_SHOW_ALL))
732 if (lflag & SORT_FLAGS) {
735 sort_flag = lflag & (SORT_FLAGS|LS_REVERSE_SORT);
742 if (d[n]->filename[0] == '.' && !(lflag & LS_SHOW_ALL))
749 if (lflag & LS_LONG_VIEW) {
750 if (lflag & (LS_NUMERIC_VIEW|LS_SI_UNITS)) {
757 (lflag & LS_SI_UNITS));
774 if (!(lflag & LS_LONG_VIEW) && (c != 1))
784 int lflag)
813 err = do_ls_dir(conn, g.gl_pathv[0], strip_path, lflag);
821 if (!(lflag & LS_SHORT_VIEW)) {
833 if (lflag & LS_LONG_VIEW) {
839 (lflag & LS_SI_UNITS));
853 if (!(lflag & LS_LONG_VIEW) && (c != 1))
1115 parse_args(const char **cpp, int *pflag, int *rflag, int *lflag, int *iflag,
1160 *lflag = *pflag = *rflag = *hflag = *n_arg = 0;
1229 if ((optidx = parse_ls_flags(argv, argc, lflag)) == -1)
1290 int pflag = 0, rflag = 0, lflag = 0, iflag = 0, hflag = 0, sflag = 0;
1299 cmdnum = parse_args(&cmd, &pflag, &rflag, &lflag, &iflag, &hflag,
1384 do_ls_dir(conn, *pwd, *pwd, lflag);
1394 err = do_globbed_ls(conn, path1, tmp, lflag);