Searched refs:oldpath (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.0-release/usr.bin/locate/bigram/
H A Dlocate.bigram.c73 u_char *oldpath = buf1, *path = buf2; local
86 for (cp = path; *cp == *oldpath; cp++, oldpath++)
98 oldpath = buf1;
101 oldpath = buf2;
/freebsd-10.0-release/usr.bin/locate/code/
H A Dlocate.code.c129 u_char *cp, *oldpath, *path; local
166 oldpath = buf1;
191 for (cp = path; *cp == *oldpath; cp++, oldpath++)
245 oldpath = buf1;
248 oldpath = buf2;
/freebsd-10.0-release/crypto/openssh/
H A Dsftp-server.c1064 char *oldpath, *newpath; local
1069 oldpath = get_string(NULL);
1072 logit("rename old \"%s\" new \"%s\"", oldpath, newpath);
1076 else if (lstat(oldpath, &sb) == -1)
1080 if (link(oldpath, newpath) == -1) {
1096 if (rename(oldpath, newpath) == -1)
1105 } else if (unlink(oldpath) == -1) {
1112 if (rename(oldpath, newpath) == -1)
1118 free(oldpath);
1151 char *oldpath, *newpat local
1174 char *oldpath, *newpath; local
1231 char *oldpath, *newpath; local
[all...]
H A Dsftp-client.c771 do_rename(struct sftp_conn *conn, char *oldpath, char *newpath) argument
788 buffer_put_cstring(&msg, oldpath);
793 "SSH2_FXP_RENAME", oldpath, newpath);
798 error("Couldn't rename file \"%s\" to \"%s\": %s", oldpath,
805 do_hardlink(struct sftp_conn *conn, char *oldpath, char *newpath) argument
822 buffer_put_cstring(&msg, oldpath);
826 oldpath, newpath);
831 error("Couldn't link file \"%s\" to \"%s\": %s", oldpath,
838 do_symlink(struct sftp_conn *conn, char *oldpath, char *newpath) argument
854 buffer_put_cstring(&msg, oldpath);
[all...]
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dremote-fileio.c906 char *oldpath, *newpath; local
910 /* 1. Parameter: Ptr to oldpath / length incl. trailing zero */
916 /* Request oldpath using 'm' packet */
917 oldpath = alloca (length);
918 retlength = remote_read_bytes (ptrval, oldpath, length);
940 of = stat (oldpath, &ost);
950 ret = rename (oldpath, newpath);
973 cygwin_conv_to_full_posix_path (oldpath, oldfullpath);
/freebsd-10.0-release/sys/cam/scsi/
H A Dscsi_xpt.c1976 struct cam_path *path, *oldpath; local
1985 oldpath = request_ccb->ccb_h.path;
2104 xpt_free_path(oldpath);
2173 xpt_free_path(oldpath);
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_repos/
H A Ddump.c57 svn_fs_root_t *oldroot, const char *oldpath,
74 SVN_ERR(svn_fs_get_file_delta_stream(&delta_stream, oldroot, oldpath,
55 store_delta(apr_file_t **tempfile, svn_filesize_t *len, svn_fs_root_t *oldroot, const char *oldpath, svn_fs_root_t *newroot, const char *newpath, apr_pool_t *pool) argument
/freebsd-10.0-release/sys/cam/
H A Dcam_xpt.c2966 struct cam_path *oldpath; local
2978 oldpath = cam_dpath;
2980 oldsim = xpt_path_sim(oldpath);
2983 xpt_free_path(oldpath);
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c2747 char oldpath[MAXPATHLEN], newpath[MAXPATHLEN]; local
2802 (void) strcpy(oldpath, oldvd->vdev_path);
2814 fatal(0, "detach (%s) returned %d", oldpath, error);
2905 oldpath, oldsize, newpath,

Completed in 168 milliseconds