| /netbsd-src/external/bsd/pcc/dist/pcc/os/win32/ |
| H A D | pcc.iss | 35 oldpath : String; 40 …EY_LOCAL_MACHINE, 'System\CurrentControlSet\Control\Session Manager\Environment', 'Path', oldpath); 41 oldpath := oldpath + ';'; 43 while (Pos(';', oldpath) > 0) do begin 45 pathArr[i] := Copy(oldpath, 0, Pos(';', oldpath) - 1); 46 oldpath := Copy(oldpath, Pos(';', oldpath) + 1, Length(oldpath));
|
| /netbsd-src/usr.bin/locate/code/ |
| H A D | locate.code.c | 106 char *cp, *oldpath, *path; in main() local 127 oldpath = buf1; in main() 144 for (cp = path; *cp == *oldpath; cp++, oldpath++) in main() 145 if (*oldpath == '\0') in main() 177 oldpath = buf1; in main() 180 oldpath = buf2; in main()
|
| /netbsd-src/usr.bin/locate/bigram/ |
| H A D | locate.bigram.c | 97 char *oldpath = buf1, *path = buf2; in main() local 111 for ( cp = path; *cp == *oldpath; cp++, oldpath++ ) in main() 112 if ( *oldpath == '\0' ) in main() 122 path = buf2, oldpath = buf1; in main() 124 path = buf1, oldpath = buf2; in main()
|
| /netbsd-src/usr.bin/utoppya/ |
| H A D | utoppya.c | 277 char *oldpath, *newpath, *o, *n; in cmd_rename() local 282 o = oldpath = argv[1]; in cmd_rename() 285 for (o = oldpath; *o != '\0'; o++) in cmd_rename() 292 for (o = oldpath; *o && *o == '\\'; o++) in cmd_rename() 299 oldpath, newpath); in cmd_rename() 301 if (find_toppy_dirent(oldpath, &ud) == 0) in cmd_rename() 302 errx(EX_DATAERR, "'%s' does not exist on the Toppy", oldpath); in cmd_rename() 305 errx(EX_DATAERR, "%s: not a regular file", oldpath); in cmd_rename() 314 err(EX_OSERR, "ioctl(UTOPPYIORENAME, %s, %s)", oldpath, in cmd_rename()
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | sftp-server.c | 1254 char *oldpath, *newpath; in process_rename() local 1258 if ((r = sshbuf_get_cstring(iqueue, &oldpath, NULL)) != 0 || in process_rename() 1263 logit("rename old \"%s\" new \"%s\"", oldpath, newpath); in process_rename() 1265 if (lstat(oldpath, &sb) == -1) in process_rename() 1269 if (link(oldpath, newpath) == -1) { in process_rename() 1278 if (rename(oldpath, newpath) == -1) in process_rename() 1287 } else if (unlink(oldpath) == -1) { in process_rename() 1294 if (rename(oldpath, newpath) == -1) in process_rename() 1300 free(oldpath); in process_rename() 1332 char *oldpath, *newpath; in process_symlink() local [all …]
|
| H A D | sftp-client.c | 1089 sftp_copy(struct sftp_conn *conn, const char *oldpath, const char *newpath) in sftp_copy() argument 1105 if (sftp_stat(conn, oldpath, 0, &attr) != 0) in sftp_copy() 1113 error("Cannot copy non-regular file: %s", oldpath); in sftp_copy() 1135 (r = sshbuf_put_cstring(msg, oldpath)) != 0 || in sftp_copy() 1140 debug3("Sent message SSH2_FXP_OPEN I:%u P:%s", id, oldpath); in sftp_copy() 1145 "remote open(\"%s\")", oldpath); in sftp_copy() 1186 oldpath, newpath); in sftp_copy() 1190 error("Couldn't copy file \"%s\" to \"%s\": %s", oldpath, in sftp_copy() 1204 sftp_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, in sftp_rename() argument 1218 "\"%s\" to \"%s\"", oldpath, newpath); in sftp_rename() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/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";
|
| /netbsd-src/external/bsd/nsd/dist/contrib/bind2nsd/bind2nsd/ |
| H A D | NsdConf.py | 437 def make_zone_copy(self, oldpath, newpath): argument 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)
|
| /netbsd-src/external/gpl2/lvm2/dist/libdm/ |
| H A D | libdm-common.c | 554 char oldpath[PATH_MAX]; in _rename_dev_node() local 594 _build_dev_path(oldpath, sizeof(oldpath), old_name); in _rename_dev_node() 604 if (stat(oldpath, &info) < 0 && in _rename_dev_node() 612 oldpath, newpath); in _rename_dev_node() 631 oldpath, newpath); in _rename_dev_node() 633 if (rename(oldpath, newpath) < 0) { in _rename_dev_node() 639 log_debug("Renamed %s to %s", oldpath, newpath); in _rename_dev_node()
|
| /netbsd-src/lib/librefuse/refuse/ |
| H A D | 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 f… 67 int fuse_fs_link(struct fuse_fs* fs, const char* oldpath, const char* newpath);
|
| H A D | fs.c | 203 fuse_fs_rename_v27(struct fuse_fs* fs, const char* oldpath, const char* newpath) { in fuse_fs_rename_v27() argument 204 return fuse_fs_rename_v30(fs, oldpath, newpath, 0); in fuse_fs_rename_v27() 208 fuse_fs_rename_v30(struct fuse_fs* fs, const char* oldpath, in fuse_fs_rename_v30() argument 215 … return ((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->rename(oldpath, newpath); \ in fuse_fs_rename_v30() 231 … return ((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->rename(oldpath, newpath, flags); \ in fuse_fs_rename_v30() 329 fuse_fs_link(struct fuse_fs* fs, const char* oldpath, const char* newpath) { in fuse_fs_link() argument 335 … return ((const struct __CONCAT(fuse_operations_v,VER)*)fs->op)->link(oldpath, newpath); \ in fuse_fs_link()
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/device/ |
| H A D | dev-cache.c | 244 const char *oldpath; in _add_alias() local 262 oldpath = dm_list_item(dev->aliases.n, struct str_list)->str; in _add_alias() 263 prefer_old = _compare_paths(path, oldpath); in _add_alias() 265 path, oldpath, prefer_old ? "" : " (preferred name)"); in _add_alias()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/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);
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/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_rtems.cc | 231 bool RenameFile(const char *oldpath, const char *newpath, error_t *error_p) { in RenameFile() argument 232 uptr res = rename(oldpath, newpath); in RenameFile()
|
| H A D | sanitizer_posix.cc | 194 bool RenameFile(const char *oldpath, const char *newpath, error_t *error_p) { in RenameFile() argument 195 uptr res = internal_rename(oldpath, newpath); in RenameFile()
|
| H A D | sanitizer_file.h | 67 bool RenameFile(const char *oldpath, const char *newpath,
|
| H A D | sanitizer_netbsd.cc | 185 uptr internal_rename(const char *oldpath, const char *newpath) { in internal_rename() argument 187 return _REAL(rename, oldpath, newpath); in internal_rename()
|
| H A D | sanitizer_posix.h | 52 uptr internal_rename(const char *oldpath, const char *newpath);
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/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);
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-ldif/ |
| H A D | ldif.c | 1557 struct berval *oldpath, in ldif_move_entry() argument 1568 newpath = *oldpath; in ldif_move_entry() 1579 trash = oldpath->bv_val; /* will be .ldif file to delete */ in ldif_move_entry() 1581 ldif2dir_len( *oldpath ); in ldif_move_entry() 1586 ldif2dir_name( *oldpath ); in ldif_move_entry() 1587 rename_res = move_dir( oldpath->bv_val, newpath.bv_val ); in ldif_move_entry() 1597 dir2ldif_name( *oldpath ); in ldif_move_entry() 1609 ldif2dir_name( *oldpath ); in ldif_move_entry() 1610 if ( move_dir( newpath.bv_val, oldpath->bv_val ) == 0 ) in ldif_move_entry()
|