• Home
  • Raw
  • Download

Lines Matching refs:src_path

1483     for (const char* src_path : srcs) {  in do_sync_push()  local
1486 if (stat(src_path, &st) == -1) { in do_sync_push()
1487 sc.Error("cannot stat '%s': %s", src_path, strerror(errno)); in do_sync_push()
1507 dst_dir.append(android::base::Basename(src_path)); in do_sync_push()
1511 copy_local_dir_remote(sc, src_path, dst_dir, sync, false, compression, dry_run); in do_sync_push()
1514 sc.Warning("skipping special file '%s' (mode = 0o%o)", src_path, st.st_mode); in do_sync_push()
1526 path_holder += android::base::Basename(src_path); in do_sync_push()
1532 success &= sync_send(sc, src_path, dst_path, st.st_mtime, st.st_mode, sync, compression, in do_sync_push()
1534 sc.ReportTransferRate(src_path, TransferDirection::push); in do_sync_push()
1710 for (const char* src_path : srcs) { in do_sync_pull() local
1713 if (!sync_stat_fallback(sc, src_path, &src_st)) { in do_sync_pull()
1715 sc.Error("remote object '%s' does not exist", src_path); in do_sync_pull()
1717 sc.Error("failed to stat remote object '%s': %s", src_path, strerror(errno)); in do_sync_pull()
1738 dst_dir.append(android::base::Basename(src_path)); in do_sync_pull()
1741 success &= copy_remote_dir_local(sc, src_path, dst_dir, copy_attrs, compression); in do_sync_pull()
1744 sc.Warning("skipping special file '%s' (mode = 0o%o)", src_path, src_st.st_mode); in do_sync_pull()
1754 android::base::Basename(src_path).c_str()); in do_sync_pull()
1760 if (!sync_recv(sc, src_path, dst_path, name, src_st.st_size, compression)) { in do_sync_pull()
1769 sc.ReportTransferRate(src_path, TransferDirection::pull); in do_sync_pull()