| /freebsd-12.1/usr.bin/locate/bigram/ |
| H A D | locate.bigram.c | 77 u_char *oldpath = buf1, *path = buf2; in main() local 93 for (cp = path; *cp == *oldpath; cp++, oldpath++) in main() 105 oldpath = buf1; in main() 108 oldpath = buf2; in main()
|
| /freebsd-12.1/usr.bin/locate/code/ |
| H A D | locate.code.c | 131 u_char *cp, *oldpath, *path; in main() local 168 oldpath = buf1; in main() 193 for (cp = path; *cp == *oldpath; cp++, oldpath++) in main() 247 oldpath = buf1; in main() 250 oldpath = buf2; in main()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | sftp-server.c | 1175 char *oldpath, *newpath; in process_rename() local 1186 if (lstat(oldpath, &sb) == -1) in process_rename() 1228 free(oldpath); in process_rename() 1260 char *oldpath, *newpath; in process_symlink() local 1273 free(oldpath); in process_symlink() 1280 char *oldpath, *newpath; in process_extended_posix_rename() local 1289 r = rename(oldpath, newpath); in process_extended_posix_rename() 1292 free(oldpath); in process_extended_posix_rename() 1338 char *oldpath, *newpath; in process_extended_hardlink() local 1347 r = link(oldpath, newpath); in process_extended_hardlink() [all …]
|
| H A D | sftp-client.c | 883 do_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, in do_rename() argument 906 if ((r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_rename() 912 "SSH2_FXP_RENAME", oldpath, newpath); in do_rename() 917 error("Couldn't rename file \"%s\" to \"%s\": %s", oldpath, in do_rename() 943 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_hardlink() 948 oldpath, newpath); in do_hardlink() 953 error("Couldn't link file \"%s\" to \"%s\": %s", oldpath, in do_hardlink() 960 do_symlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) in do_symlink() argument 978 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in do_symlink() 982 debug3("Sent message SSH2_FXP_SYMLINK \"%s\" -> \"%s\"", oldpath, in do_symlink() [all …]
|
| H A D | PROTOCOL | 382 string oldpath 386 rename(oldpath, newpath) and will respond with a SSH_FXP_STATUS message. 439 string oldpath 443 link(oldpath, newpath) and will respond with a SSH_FXP_STATUS message.
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | remote-fileio.c | 906 char *oldpath, *newpath; in remote_fileio_func_rename() local 917 oldpath = alloca (length); in remote_fileio_func_rename() 918 retlength = remote_read_bytes (ptrval, oldpath, length); in remote_fileio_func_rename() 940 of = stat (oldpath, &ost); in remote_fileio_func_rename() 950 ret = rename (oldpath, newpath); in remote_fileio_func_rename() 973 cygwin_conv_to_full_posix_path (oldpath, oldfullpath); in remote_fileio_func_rename()
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_solaris.cc | 140 DECLARE__REAL_AND_INTERNAL(uptr, rename, const char *oldpath, in DECLARE__REAL_AND_INTERNAL() argument 142 return _REAL(rename)(oldpath, newpath); in DECLARE__REAL_AND_INTERNAL()
|
| H A D | sanitizer_netbsd.cc | 192 uptr internal_rename(const char *oldpath, const char *newpath) { in internal_rename() argument 194 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_mac.cc | 266 uptr internal_rename(const char *oldpath, const char *newpath) { in internal_rename() argument 267 return rename(oldpath, newpath); in internal_rename()
|
| H A D | sanitizer_linux.cc | 416 uptr internal_rename(const char *oldpath, const char *newpath) { in internal_rename() argument 418 return internal_syscall(SYSCALL(renameat), AT_FDCWD, (uptr)oldpath, AT_FDCWD, in internal_rename() 421 return internal_syscall(SYSCALL(rename), (uptr)oldpath, (uptr)newpath); in internal_rename()
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_xpt.c | 2087 struct cam_path *path, *oldpath; in scsi_scan_bus() local 2096 oldpath = request_ccb->ccb_h.path; in scsi_scan_bus() 2203 xpt_free_path(oldpath); in scsi_scan_bus() 2276 xpt_free_path(oldpath); in scsi_scan_bus()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_repos/ |
| H A D | dump.c | 325 svn_fs_root_t *oldroot, const char *oldpath, in store_delta() argument 342 SVN_ERR(svn_fs_get_file_delta_stream(&delta_stream, oldroot, oldpath, in store_delta()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/ztest/ |
| H A D | ztest.c | 2961 char oldpath[MAXPATHLEN], newpath[MAXPATHLEN]; in ztest_vdev_attach_detach() local 3028 (void) strcpy(oldpath, oldvd->vdev_path); in ztest_vdev_attach_detach() 3041 fatal(0, "detach (%s) returned %d", oldpath, error); in ztest_vdev_attach_detach() 3140 oldpath, oldsize, newpath, in ztest_vdev_attach_detach()
|
| /freebsd-12.1/sys/cam/ |
| H A D | cam_xpt.c | 3155 struct cam_path *oldpath; in xpt_action_default() local 3165 oldpath = cam_dpath; in xpt_action_default() 3167 xpt_free_path(oldpath); in xpt_action_default()
|
| /freebsd-12.1/contrib/tcsh/ |
| H A D | complete.tcsh | 860 n/--excludepath/x:'<oldpath>'/ n/--prefix/x:'<newpath>'/ \ 861 n/--relocate/x:'<oldpath=newpath>'/ n/--target/x:'<platform>'/\
|
| /freebsd-12.1/stand/forth/ |
| H A D | support.4th | 1349 1+ + \ add oldpath -- XXX why the 1+ ?
|
| /freebsd-12.1/contrib/gdb/gdb/doc/ |
| H A D | gdb.info-3 | 3128 int rename(const char *oldpath, const char *newpath); 3140 newpath is an existing directory, but oldpath is not a directory. 3146 oldpath or newpath is a directory that is in use by some process. 3152 A component used as a directory in oldpath or new path is not a 3153 directory. Or oldpath is a directory and newpath exists but is 3163 oldpath or newpath was too long. 3166 A directory component in oldpath or newpath does not exist.
|
| H A D | gdb.texinfo | 21226 int rename(const char *oldpath, const char *newpath); 21239 newpath is an existing directory, but oldpath is not a 21246 oldpath or newpath is a directory that is in use by some 21254 A component used as a directory in oldpath or new 21255 path is not a directory. Or oldpath is a directory 21266 oldpath or newpath was too long. 21269 A directory component in oldpath or newpath does not exist.
|