Searched refs:to_path (Results 1 - 4 of 4) sorted by relevance

/freebsd-current/contrib/kyua/utils/fs/
H A Dlua_module.cpp92 to_path(lutok::state& state, const int index) function in namespace:__anon930
113 const fs::path path = to_path(state, -1);
133 const fs::path path = to_path(state, -1);
153 const fs::path path = qualify_path(state, to_path(state, -1));
232 const fs::path path = qualify_path(state, to_path(state, -1));
270 const fs::path path = to_path(state, -1);
292 const fs::path path1 = to_path(state, -2);
293 const fs::path path2 = to_path(state, -1);
/freebsd-current/crypto/openssh/
H A Dsftp-client.h170 * to 'to' connection at 'to_path'.
173 const char *from_path, const char *to_path,
178 * connection and upload it to 'to' connection at 'to_path'.
181 const char *from_path, const char *to_path,
H A Dsftp-client.c2386 handle_dest_replies(struct sftp_conn *to, const char *to_path, int synchronous, argument
2454 const char *from_path, const char *to_path,
2470 debug2_f("crossload src \"%s\" to dst \"%s\"", from_path, to_path);
2505 if (send_open(to, to_path, "dest",
2553 handle_dest_replies(to, to_path, 0,
2650 handle_dest_replies(to, to_path, 1, &num_upload_req, &write_error);
2657 debug("truncating \"%s\" at 0", to_path);
2660 if (send_open(to, to_path, "dest",
2663 error("dest truncate \"%s\" failed", to_path);
2674 error("write dest \"%s\": %s", to_path, fx2tx
2453 sftp_crossload(struct sftp_conn *from, struct sftp_conn *to, const char *from_path, const char *to_path, Attrib *a, int preserve_flag) argument
2700 crossload_dir_internal(struct sftp_conn *from, struct sftp_conn *to, const char *from_path, const char *to_path, int depth, Attrib *dirattrib, int preserve_flag, int print_flag, int follow_link_flag) argument
2821 sftp_crossload_dir(struct sftp_conn *from, struct sftp_conn *to, const char *from_path, const char *to_path, Attrib *dirattrib, int preserve_flag, int print_flag, int follow_link_flag) argument
[all...]
/freebsd-current/usr.sbin/config/
H A Dmain.cc580 char *from_path, *to_path; local
589 to_path = path(to_name);
593 if ((to_fd = open(to_path, O_RDONLY)) < 0)
600 err(EX_OSERR, "moveifchanged fstat(%s)", to_path);
615 err(EX_OSERR, "mmap %s", to_path);
623 if (rename(from_path, to_path) < 0)
624 err(EX_OSERR, "rename(%s, %s)", from_path, to_path);
635 free(to_path);

Completed in 90 milliseconds