Home
last modified time | relevance | path

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

/freebsd/contrib/kyua/utils/fs/
H A Dlua_module.cpp92 to_path(lutok::state& state, const int index) in to_path() function
113 const fs::path path = to_path(state, -1); in lua_fs_basename()
133 const fs::path path = to_path(state, -1); in lua_fs_dirname()
153 const fs::path path = qualify_path(state, to_path(state, -1)); in lua_fs_exists()
232 const fs::path path = qualify_path(state, to_path(state, -1)); in lua_fs_files()
270 const fs::path path = to_path(state, -1); in lua_fs_is_absolute()
292 const fs::path path1 = to_path(state, -2); in lua_fs_join()
293 const fs::path path2 = to_path(state, -1); in lua_fs_join()
/freebsd/usr.sbin/config/
H A Dmain.cc585 char *from_path, *to_path; in moveifchanged() local
594 to_path = path(to_name); in moveifchanged()
598 if ((to_fd = open(to_path, O_RDONLY)) < 0) in moveifchanged()
605 err(EX_OSERR, "moveifchanged fstat(%s)", to_path); in moveifchanged()
620 err(EX_OSERR, "mmap %s", to_path); in moveifchanged()
628 if (rename(from_path, to_path) < 0) in moveifchanged()
629 err(EX_OSERR, "rename(%s, %s)", from_path, to_path); in moveifchanged()
640 free(to_path); in moveifchanged()
/freebsd/crypto/openssh/
H A Dsftp-client.h173 const char *from_path, const char *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, in handle_dest_replies() argument
2454 const char *from_path, const char *to_path, in sftp_crossload() argument
2470 debug2_f("crossload src \"%s\" to dst \"%s\"", from_path, to_path); in sftp_crossload()
2505 if (send_open(to, to_path, "dest", in sftp_crossload()
2553 handle_dest_replies(to, to_path, 0, in sftp_crossload()
2650 handle_dest_replies(to, to_path, 1, &num_upload_req, &write_error); in sftp_crossload()
2657 debug("truncating \"%s\" at 0", to_path); in sftp_crossload()
2660 if (send_open(to, to_path, "dest", in sftp_crossload()
2663 error("dest truncate \"%s\" failed", to_path); in sftp_crossload()
2674 error("write dest \"%s\": %s", to_path, fx2txt(write_error)); in sftp_crossload()
[all …]