Home
last modified time | relevance | path

Searched refs:oldpath (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/usr.bin/locate/bigram/
H A Dlocate.bigram.c77 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 Dlocate.code.c131 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 Dsftp-server.c1175 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 Dsftp-client.c883 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 DPROTOCOL382 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 Dremote-fileio.c906 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 Dsanitizer_solaris.cc140 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 Dsanitizer_netbsd.cc192 uptr internal_rename(const char *oldpath, const char *newpath) { in internal_rename() argument
194 return _REAL(rename, oldpath, newpath); in internal_rename()
H A Dsanitizer_posix.h56 uptr internal_rename(const char *oldpath, const char *newpath);
H A Dsanitizer_mac.cc266 uptr internal_rename(const char *oldpath, const char *newpath) { in internal_rename() argument
267 return rename(oldpath, newpath); in internal_rename()
H A Dsanitizer_linux.cc416 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 Dscsi_xpt.c2087 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 Ddump.c325 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 Dztest.c2961 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 Dcam_xpt.c3155 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 Dcomplete.tcsh860 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 Dsupport.4th1349 1+ + \ add oldpath -- XXX why the 1+ ?
/freebsd-12.1/contrib/gdb/gdb/doc/
H A Dgdb.info-33128 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 Dgdb.texinfo21226 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.