| /freebsd-14.2/usr.bin/locate/bigram/ |
| H A D | locate.bigram.c | 65 u_char *oldpath = buf1, *path = buf2; in main() local 81 for (cp = path; *cp == *oldpath; cp++, oldpath++) in main() 93 oldpath = buf1; in main() 96 oldpath = buf2; in main()
|
| /freebsd-14.2/usr.bin/locate/code/ |
| H A D | locate.code.c | 116 u_char *cp, *oldpath, *path; in main() local 153 oldpath = buf1; in main() 171 for (cp = path; *cp == *oldpath; cp++, oldpath++) in main() 225 oldpath = buf1; in main() 228 oldpath = buf2; in main()
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | sftp-server.c | 1270 char *oldpath, *newpath; in process_rename() local 1281 if (lstat(oldpath, &sb) == -1) in process_rename() 1323 free(oldpath); in process_rename() 1355 char *oldpath, *newpath; in process_symlink() local 1368 free(oldpath); in process_symlink() 1375 char *oldpath, *newpath; in process_extended_posix_rename() local 1384 r = rename(oldpath, newpath); in process_extended_posix_rename() 1387 free(oldpath); in process_extended_posix_rename() 1433 char *oldpath, *newpath; in process_extended_hardlink() local 1442 r = link(oldpath, newpath); in process_extended_hardlink() [all …]
|
| H A D | sftp-client.c | 1119 if (sftp_stat(conn, oldpath, 0, &attr) != 0) in sftp_copy() 1149 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_copy() 1159 "remote open(\"%s\")", oldpath); in sftp_copy() 1200 oldpath, newpath); in sftp_copy() 1232 "\"%s\" to \"%s\"", oldpath, newpath); in sftp_rename() 1240 oldpath, newpath); in sftp_rename() 1245 if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_rename() 1251 "SSH2_FXP_RENAME", oldpath, newpath); in sftp_rename() 1274 "\"%s\" to \"%s\"", oldpath, newpath); in sftp_hardlink() 1284 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_hardlink() [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-14.2/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-14.2/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-14.2/libexec/nuageinit/ |
| H A D | nuage.lua | 26 local function dirname(oldpath) 27 if not oldpath then 30 local path = oldpath:gsub("[^/]+/*$", "")
|
| /freebsd-14.2/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 | 489 uptr internal_rename(const char *oldpath, const char *newpath) { in internal_rename() argument 491 return internal_syscall(SYSCALL(renameat2), AT_FDCWD, (uptr)oldpath, AT_FDCWD, in internal_rename() 494 return internal_syscall(SYSCALL(renameat), AT_FDCWD, (uptr)oldpath, AT_FDCWD, in internal_rename() 497 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-14.2/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-14.2/sys/cam/scsi/ |
| H A D | scsi_xpt.c | 2074 struct cam_path *path, *oldpath; in scsi_scan_bus() local 2083 oldpath = request_ccb->ccb_h.path; in scsi_scan_bus() 2190 xpt_free_path(oldpath); in scsi_scan_bus() 2263 xpt_free_path(oldpath); in scsi_scan_bus()
|
| /freebsd-14.2/sys/contrib/openzfs/cmd/ |
| H A D | ztest.c | 3595 char *oldpath, *newpath; in ztest_vdev_attach_detach() local 3607 oldpath = umem_alloc(MAXPATHLEN, UMEM_NOFAIL); in ztest_vdev_attach_detach() 3679 (void) strlcpy(oldpath, oldvd->vdev_path, MAXPATHLEN); in ztest_vdev_attach_detach() 3700 oldpath, error); in ztest_vdev_attach_detach() 3818 oldpath, oldsize, newpath, in ztest_vdev_attach_detach() 3824 umem_free(oldpath, MAXPATHLEN); in ztest_vdev_attach_detach()
|
| /freebsd-14.2/sys/cam/ |
| H A D | cam_xpt.c | 3001 struct cam_path *oldpath; in xpt_action_default() local 3011 oldpath = cam_dpath; in xpt_action_default() 3013 xpt_free_path(oldpath); in xpt_action_default()
|
| /freebsd-14.2/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-14.2/stand/forth/ |
| H A D | support.4th | 1435 1+ + \ add oldpath -- XXX why the 1+ ?
|