| /src/usr.bin/locate/bigram/ |
| locate.bigram.c | 97 char *oldpath = buf1, *path = buf2; local 111 for ( cp = path; *cp == *oldpath; cp++, oldpath++ ) 112 if ( *oldpath == '\0' ) 122 path = buf2, oldpath = buf1; 124 path = buf1, oldpath = buf2;
|
| /src/usr.bin/locate/code/ |
| locate.code.c | 106 char *cp, *oldpath, *path; local 127 oldpath = buf1; 144 for (cp = path; *cp == *oldpath; cp++, oldpath++) 145 if (*oldpath == '\0') 177 oldpath = buf1; 180 oldpath = buf2;
|
| /src/usr.bin/utoppya/ |
| utoppya.c | 277 char *oldpath, *newpath, *o, *n; local 282 o = oldpath = argv[1]; 285 for (o = oldpath; *o != '\0'; o++) 292 for (o = oldpath; *o && *o == '\\'; o++) 299 oldpath, newpath); 301 if (find_toppy_dirent(oldpath, &ud) == 0) 302 errx(EX_DATAERR, "'%s' does not exist on the Toppy", oldpath); 305 errx(EX_DATAERR, "%s: not a regular file", oldpath); 314 err(EX_OSERR, "ioctl(UTOPPYIORENAME, %s, %s)", oldpath,
|
| /src/crypto/external/bsd/openssh/dist/ |
| sftp-server.c | 1254 char *oldpath, *newpath; local 1258 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 || 1263 logit("rename old \"%s\" new \"%s\"", oldpath, newpath); 1265 if (lstat(oldpath, &sb) == -1) 1269 if (link(oldpath, newpath) == -1) { 1278 if (rename(oldpath, newpath) == -1) 1287 } else if (unlink(oldpath) == -1) { 1294 if (rename(oldpath, newpath) == -1) 1300 free(oldpath); 1332 char *oldpath, *newpath local 1352 char *oldpath, *newpath; local 1410 char *oldpath, *newpath; local [all...] |
| sftp-client.c | 1097 sftp_copy(struct sftp_conn *conn, const char *oldpath, const char *newpath) 1113 if (sftp_stat(conn, oldpath, 0, &attr) != 0) 1121 error("Cannot copy non-regular file: %s", oldpath); 1143 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || 1148 debug3("Sent message SSH2_FXP_OPEN I:%u P:%s", id, oldpath); 1153 "remote open(\"%s\")", oldpath); 1194 oldpath, newpath); 1198 error("Couldn't copy file \"%s\" to \"%s\": %s", oldpath, 1212 sftp_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, 1226 "\"%s\" to \"%s\"", oldpath, newpath) [all...] |
| /src/lib/librefuse/refuse/ |
| fs.h | 62 int fuse_fs_rename_v27(struct fuse_fs* fs, const char* oldpath, const char* newpath); 63 int fuse_fs_rename_v30(struct fuse_fs* fs, const char* oldpath, const char* newpath, unsigned int flags); 67 int fuse_fs_link(struct fuse_fs* fs, const char* oldpath, const char* newpath);
|
| fs.c | 203 fuse_fs_rename_v27(struct fuse_fs* fs, const char* oldpath, const char* newpath) { 204 return fuse_fs_rename_v30(fs, oldpath, newpath, 0); 208 fuse_fs_rename_v30(struct fuse_fs* fs, const char* oldpath, 215 return ((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->rename(oldpath, newpath); \ 231 return ((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->rename(oldpath, newpath, flags); \ 329 fuse_fs_link(struct fuse_fs* fs, const char* oldpath, const char* newpath) { 335 return ((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->link(oldpath, newpath); \
|
| /src/external/bsd/nsd/dist/contrib/bind2nsd/bind2nsd/ |
| NsdConf.py | 437 def make_zone_copy(self, oldpath, newpath): 439 report_info('=> copying "%s" to "%s"' % (oldpath, newpath)) 441 if not os.path.exists(oldpath): 445 oldfd = open(oldpath, 'r+') 506 oldpath = self.oldrootdir + self.zones[ii].getZonefile() 510 self.make_zone_copy(oldpath, newpath)
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_posix.h | 56 uptr internal_rename(const char *oldpath, const char *newpath);
|
| sanitizer_solaris.cc | 140 DECLARE__REAL_AND_INTERNAL(uptr, rename, const char *oldpath, 142 return _REAL(rename)(oldpath, newpath);
|
| sanitizer_netbsd.cc | 192 uptr internal_rename(const char *oldpath, const char *newpath) { 194 return _REAL(rename, oldpath, newpath);
|
| /src/external/gpl2/lvm2/dist/libdm/ |
| libdm-common.c | 554 char oldpath[PATH_MAX]; local 594 _build_dev_path(oldpath, sizeof(oldpath), old_name); 604 if (stat(oldpath, &info) < 0 && 612 oldpath, newpath); 631 oldpath, newpath); 633 if (rename(oldpath, newpath) < 0) { 639 log_debug("Renamed %s to %s", oldpath, newpath);
|
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_solaris.cpp | 154 DECLARE__REAL_AND_INTERNAL(uptr, rename, const char *oldpath, 156 return _REAL(rename)(oldpath, newpath);
|
| sanitizer_posix.h | 56 uptr internal_rename(const char *oldpath, const char *newpath);
|
| sanitizer_netbsd.cpp | 202 uptr internal_rename(const char *oldpath, const char *newpath) { 204 return _REAL(rename, oldpath, newpath);
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_solaris.cpp | 154 DECLARE__REAL_AND_INTERNAL(uptr, rename, const char *oldpath, 156 return _REAL(rename)(oldpath, newpath);
|
| sanitizer_posix.h | 56 uptr internal_rename(const char *oldpath, const char *newpath);
|
| sanitizer_netbsd.cpp | 202 uptr internal_rename(const char *oldpath, const char *newpath) { 204 return _REAL(rename, oldpath, newpath);
|
| /src/external/gpl2/lvm2/dist/lib/device/ |
| dev-cache.c | 244 const char *oldpath; local 262 oldpath = dm_list_item(dev->aliases.n, struct str_list)->str; 263 prefer_old = _compare_paths(path, oldpath); 265 path, oldpath, prefer_old ? "" : " (preferred name)");
|
| /src/external/gpl3/gdb/dist/gdb/ |
| remote-fileio.c | 724 char *oldpath, *newpath; local 728 /* 1. Parameter: Ptr to oldpath / length incl. trailing zero */ 742 /* Request oldpath using 'm' packet */ 743 oldpath = (char *) alloca (old_len); 744 if (target_read_memory (old_ptr, (gdb_byte *) oldpath, old_len) != 0) 759 of = stat (oldpath, &ost); 768 ret = rename (oldpath, newpath); 791 cygwin_conv_path (CCP_WIN_A_TO_POSIX, oldpath, oldfullpath,
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| remote-fileio.c | 724 char *oldpath, *newpath; local 728 /* 1. Parameter: Ptr to oldpath / length incl. trailing zero */ 742 /* Request oldpath using 'm' packet */ 743 oldpath = (char *) alloca (old_len); 744 if (target_read_memory (old_ptr, (gdb_byte *) oldpath, old_len) != 0) 759 of = stat (oldpath, &ost); 768 ret = rename (oldpath, newpath); 791 cygwin_conv_path (CCP_WIN_A_TO_POSIX, oldpath, oldfullpath,
|
| /src/external/bsd/openldap/dist/servers/slapd/back-ldif/ |
| ldif.c | 1664 struct berval *oldpath, 1675 newpath = *oldpath; 1686 trash = oldpath->bv_val; /* will be .ldif file to delete */ 1688 ldif2dir_len( *oldpath ); 1693 ldif2dir_name( *oldpath ); 1694 rename_res = move_dir( oldpath->bv_val, newpath.bv_val ); 1704 dir2ldif_name( *oldpath ); 1716 ldif2dir_name( *oldpath ); 1717 if ( move_dir( newpath.bv_val, oldpath->bv_val ) == 0 )
|
| /src/crypto/external/apache2/openssl/dist/util/perl/OpenSSL/ |
| Test.pm | 1148 my $oldpath = abs_path($directories{$_}); 1149 my $newpath = abs2rel($oldpath, $absdir); 1151 print STDERR "DEBUG: [dir $_] old path: $oldpath\n"; 1164 my $oldpath = abs_path($ENV{$_}); 1165 my $newpath = abs2rel($oldpath, $absdir); 1167 print STDERR "DEBUG: [env $_] old path: $oldpath\n";
|
| /src/crypto/external/bsd/openssl/dist/util/perl/OpenSSL/ |
| 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";
|
| /src/lib/libukfs/ |
| ukfs.c | 1029 char *newpath, *oldpath; local 1043 oldpath = ukfs->ukfs_cwd; 1046 free(oldpath);
|