/freebsd/usr.bin/locate/bigram/ |
H A D | locate.bigram.c | 52 u_char *oldpath = buf1, *path = buf2; in main() local 68 for (cp = path; *cp == *oldpath; cp++, oldpath++) in main() 80 oldpath = buf1; in main() 83 oldpath = buf2; in main()
|
/freebsd/usr.bin/locate/code/ |
H A D | locate.code.c | 104 u_char *cp, *oldpath, *path; in main() local 141 oldpath = buf1; in main() 159 for (cp = path; *cp == *oldpath; cp++, oldpath++) in main() 213 oldpath = buf1; in main() 216 oldpath = buf2; in main()
|
/freebsd/crypto/openssh/ |
H A D | sftp-server.c | 1270 char *oldpath, *newpath; in process_rename() local 1274 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 || in process_rename() 1279 logit("rename old \"%s\" new \"%s\"", oldpath, newpath); in process_rename() 1281 if (lstat(oldpath, &sb) == -1) in process_rename() 1285 if (link(oldpath, newpath) == -1) { in process_rename() 1301 if (rename(oldpath, newpath) == -1) in process_rename() 1310 } else if (unlink(oldpath) == -1) { in process_rename() 1317 if (rename(oldpath, newpath) == -1) in process_rename() 1323 free(oldpath); in process_rename() 1355 char *oldpath, *newpath; in process_symlink() local [all …]
|
H A D | sftp-client.c | 1103 sftp_copy(struct sftp_conn *conn, const char *oldpath, const char *newpath) in sftp_copy() argument 1119 if (sftp_stat(conn, oldpath, 0, &attr) != 0) in sftp_copy() 1127 error("Cannot copy non-regular file: %s", oldpath); in sftp_copy() 1149 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_copy() 1154 debug3("Sent message SSH2_FXP_OPEN I:%u P:%s", id, oldpath); in sftp_copy() 1159 "remote open(\"%s\")", oldpath); in sftp_copy() 1200 oldpath, newpath); in sftp_copy() 1204 error("Couldn't copy file \"%s\" to \"%s\": %s", oldpath, in sftp_copy() 1218 sftp_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, in sftp_rename() argument 1232 "\"%s\" to \"%s\"", oldpath, newpath); in sftp_rename() [all …]
|
H A D | PROTOCOL | 503 string oldpath 507 rename(oldpath, newpath) and will respond with a SSH_FXP_STATUS message. 560 string oldpath 564 link(oldpath, newpath) and will respond with a SSH_FXP_STATUS message.
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | renameat2.c | 67 sys_renameat2(int olddirfd, const char *oldpath, in sys_renameat2() argument 70 int ret = syscall(SYS_renameat2, olddirfd, oldpath, newdirfd, newpath, in sys_renameat2()
|
/freebsd/crypto/openssl/util/perl/OpenSSL/ |
H A D | Test.pm | 1122 my $oldpath = abs_path($directories{$_}); 1123 my $newpath = abs2rel($oldpath, $absdir); 1125 print STDERR "DEBUG: [dir $_] old path: $oldpath\n"; 1138 my $oldpath = abs_path($ENV{$_}); 1139 my $newpath = abs2rel($oldpath, $absdir); 1141 print STDERR "DEBUG: [env $_] old path: $oldpath\n";
|
/freebsd/libexec/nuageinit/ |
H A D | nuage.lua | 26 local function dirname(oldpath) 27 if not oldpath then 30 local path = oldpath:gsub("[^/]+/*$", "")
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_solaris.cpp | 154 DECLARE__REAL_AND_INTERNAL(uptr, rename, const char *oldpath, in DECLARE__REAL_AND_INTERNAL() argument 156 return _REAL(rename)(oldpath, newpath); in DECLARE__REAL_AND_INTERNAL()
|
H A D | sanitizer_netbsd.cpp | 202 uptr internal_rename(const char *oldpath, const char *newpath) { in internal_rename() argument 204 return _REAL(rename, oldpath, newpath); in internal_rename()
|
H A D | sanitizer_posix.h | 56 uptr internal_rename(const char *oldpath, const char *newpath);
|
H A D | sanitizer_linux.cpp | 550 uptr internal_rename(const char *oldpath, const char *newpath) { in internal_rename() argument 552 return internal_syscall(SYSCALL(renameat2), AT_FDCWD, (uptr)oldpath, AT_FDCWD, in internal_rename() 555 return internal_syscall(SYSCALL(renameat), AT_FDCWD, (uptr)oldpath, AT_FDCWD, in internal_rename() 558 return internal_syscall(SYSCALL(rename), (uptr)oldpath, (uptr)newpath); in internal_rename()
|
H A D | sanitizer_mac.cpp | 369 uptr internal_rename(const char *oldpath, const char *newpath) { in internal_rename() argument 370 return rename(oldpath, newpath); in internal_rename()
|
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/ |
H A D | zutil_import_os.c | 787 const char *oldpath = NULL; in update_vdev_config_dev_sysfs_path() local 789 (void) nvlist_lookup_string(nv, key, &oldpath); in update_vdev_config_dev_sysfs_path() 803 if (!oldpath) { in update_vdev_config_dev_sysfs_path()
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_xpt.c | 2070 struct cam_path *path, *oldpath; in scsi_scan_bus() local 2079 oldpath = request_ccb->ccb_h.path; in scsi_scan_bus() 2186 xpt_free_path(oldpath); in scsi_scan_bus() 2259 xpt_free_path(oldpath); in scsi_scan_bus()
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | ztest.c | 3718 char *oldpath, *newpath; in ztest_vdev_attach_detach() local 3730 oldpath = umem_alloc(MAXPATHLEN, UMEM_NOFAIL); in ztest_vdev_attach_detach() 3811 (void) strlcpy(oldpath, oldvd->vdev_path, MAXPATHLEN); in ztest_vdev_attach_detach() 3832 oldpath, error); in ztest_vdev_attach_detach() 3950 oldpath, oldsize, newpath, in ztest_vdev_attach_detach() 3956 umem_free(oldpath, MAXPATHLEN); in ztest_vdev_attach_detach()
|
/freebsd/sys/cam/ |
H A D | cam_xpt.c | 2997 struct cam_path *oldpath; in xpt_action_default() local 3007 oldpath = cam_dpath; in xpt_action_default() 3009 xpt_free_path(oldpath); in xpt_action_default()
|
/freebsd/contrib/tcsh/ |
H A D | complete.tcsh | 859 n/--excludepath/x:'<oldpath>'/ n/--prefix/x:'<newpath>'/ \ 860 n/--relocate/x:'<oldpath=newpath>'/ n/--target/x:'<platform>'/\
|
/freebsd/stand/forth/ |
H A D | support.4th | 1435 1+ + \ add oldpath -- XXX why the 1+ ?
|