• Home
  • Raw
  • Download

Lines Matching refs:src_path

1470     for (const char* src_path : srcs) {  in do_sync_push()  local
1473 if (stat(src_path, &st) == -1) { in do_sync_push()
1474 sc.Error("cannot stat '%s': %s", src_path, strerror(errno)); in do_sync_push()
1494 dst_dir.append(android::base::Basename(src_path)); in do_sync_push()
1498 copy_local_dir_remote(sc, src_path, dst_dir, sync, false, compression, dry_run); in do_sync_push()
1501 sc.Warning("skipping special file '%s' (mode = 0o%o)", src_path, st.st_mode); in do_sync_push()
1513 path_holder += android::base::Basename(src_path); in do_sync_push()
1519 success &= sync_send(sc, src_path, dst_path, st.st_mtime, st.st_mode, sync, compression, in do_sync_push()
1521 sc.ReportTransferRate(src_path, TransferDirection::push); in do_sync_push()
1697 for (const char* src_path : srcs) { in do_sync_pull() local
1700 if (!sync_stat_fallback(sc, src_path, &src_st)) { in do_sync_pull()
1702 sc.Error("remote object '%s' does not exist", src_path); in do_sync_pull()
1704 sc.Error("failed to stat remote object '%s': %s", src_path, strerror(errno)); in do_sync_pull()
1725 dst_dir.append(android::base::Basename(src_path)); in do_sync_pull()
1728 success &= copy_remote_dir_local(sc, src_path, dst_dir, copy_attrs, compression); in do_sync_pull()
1731 sc.Warning("skipping special file '%s' (mode = 0o%o)", src_path, src_st.st_mode); in do_sync_pull()
1741 android::base::Basename(src_path).c_str()); in do_sync_pull()
1747 if (!sync_recv(sc, src_path, dst_path, name, src_st.st_size, compression)) { in do_sync_pull()
1756 sc.ReportTransferRate(src_path, TransferDirection::pull); in do_sync_pull()