Lines Matching refs:path1
1210 unsigned long *n_arg, char **path1, char **path2) in parse_args() argument
1256 *path1 = *path2 = NULL; in parse_args()
1272 *path1 = xstrdup(argv[optidx]); in parse_args()
1297 *path1 = xstrdup(argv[optidx]); in parse_args()
1300 undo_glob_escape(*path1); in parse_args()
1317 *path1 = xstrdup(argv[optidx]); in parse_args()
1320 undo_glob_escape(*path1); in parse_args()
1328 *path1 = NULL; in parse_args()
1330 *path1 = xstrdup(argv[optidx]); in parse_args()
1331 undo_glob_escape(*path1); in parse_args()
1339 *path1 = xstrdup(argv[optidx]); in parse_args()
1376 *path1 = xstrdup(argv[optidx + 1]); in parse_args()
1399 char *path1, *path2, *tmp; in parse_dispatch_command() local
1410 path1 = path2 = NULL; in parse_dispatch_command()
1412 &iflag, &lflag, &pflag, &rflag, &sflag, &n_arg, &path1, &path2); in parse_dispatch_command()
1431 err = process_get(conn, path1, path2, *pwd, pflag, in parse_dispatch_command()
1438 err = process_put(conn, path1, path2, *pwd, pflag, in parse_dispatch_command()
1442 path1 = make_absolute(path1, *pwd); in parse_dispatch_command()
1444 err = do_rename(conn, path1, path2, lflag); in parse_dispatch_command()
1450 path1 = make_absolute(path1, *pwd); in parse_dispatch_command()
1452 err = (sflag ? do_symlink : do_hardlink)(conn, path1, path2); in parse_dispatch_command()
1455 path1 = make_absolute(path1, *pwd); in parse_dispatch_command()
1456 remote_glob(conn, path1, GLOB_NOCHECK, NULL, &g); in parse_dispatch_command()
1466 path1 = make_absolute(path1, *pwd); in parse_dispatch_command()
1470 err = do_mkdir(conn, path1, &a, 1); in parse_dispatch_command()
1473 path1 = make_absolute(path1, *pwd); in parse_dispatch_command()
1474 err = do_rmdir(conn, path1); in parse_dispatch_command()
1477 path1 = make_absolute(path1, *pwd); in parse_dispatch_command()
1478 if ((tmp = do_realpath(conn, path1)) == NULL) { in parse_dispatch_command()
1504 if (!path1) { in parse_dispatch_command()
1511 if (*path1 != '/') in parse_dispatch_command()
1514 path1 = make_absolute(path1, *pwd); in parse_dispatch_command()
1515 err = do_globbed_ls(conn, path1, tmp, lflag); in parse_dispatch_command()
1519 if (path1 == NULL) in parse_dispatch_command()
1520 path1 = xstrdup(*pwd); in parse_dispatch_command()
1521 path1 = make_absolute(path1, *pwd); in parse_dispatch_command()
1522 err = do_df(conn, path1, hflag, iflag); in parse_dispatch_command()
1525 tmp = tilde_expand_filename(path1, getuid()); in parse_dispatch_command()
1526 free(path1); in parse_dispatch_command()
1527 path1 = tmp; in parse_dispatch_command()
1528 if (chdir(path1) == -1) { in parse_dispatch_command()
1530 "\"%s\": %s", path1, strerror(errno)); in parse_dispatch_command()
1535 if (mkdir(path1, 0777) == -1) { in parse_dispatch_command()
1537 "\"%s\": %s", path1, strerror(errno)); in parse_dispatch_command()
1552 path1 = make_absolute(path1, *pwd); in parse_dispatch_command()
1556 remote_glob(conn, path1, GLOB_NOCHECK, NULL, &g); in parse_dispatch_command()
1567 path1 = make_absolute(path1, *pwd); in parse_dispatch_command()
1568 remote_glob(conn, path1, GLOB_NOCHECK, NULL, &g); in parse_dispatch_command()
1636 free(path1); in parse_dispatch_command()