/freebsd-current/usr.bin/patch/ |
H A D | util.c | 82 if (rename(from, to) < 0) { 153 if (rename(orig, bakname) < 0) {
|
/freebsd-current/tests/sys/cddl/zfs/tests/history/ |
H A D | history_002_pos.ksh | 38 # create, destroy, clone, rename, snapshot, rollback, 159 exec_record $ZFS rename $fs $newfs 160 exec_record $ZFS rename $vol $newvol
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | nlink5.sh | 96 if (rename("a/b", "c/d") == -1) 97 err(1, "rename(a/b, c/d)");
|
H A D | umountf7.sh | 117 if (rename(from, to) == -1) 118 warn("rename(%s, %s)", from, to);
|
H A D | rename12.sh | 131 if (rename(name, to) == -1) 132 warn("rename(%s, %s)", name, to);
|
H A D | rename8.sh | 31 # Cache inconsistency seen on "to" file for rename(2). 151 if (rename(file2, file1) < 0) 152 err(1, "rename(%s, %s)", file2, file1);
|
H A D | rename9.sh | 130 if (rename(fromFile, toFile) == -1) 131 warn("rename(%s, %s)", fromFile, toFile); 139 fprintf(stderr, "stat() before the rename():\n"); 148 fprintf(stderr, "\nstat() after the rename():\n");
|
H A D | rename10.sh | 31 # Regression test for rename(2) problem with missing reference release of 147 if (rename(logfile, oldfiles[i]) == -1) 148 err(1, "rename(%s, %s)", logfile, oldfiles[i]);
|
H A D | rename14.sh | 130 if (rename(n00, n1) == -1) 131 err(1, "rename(i%s, %s)", n00, n1);
|
H A D | nfsrename.sh | 142 if (rename(path, filename) < 0) { 143 warn("rename");
|
H A D | tmpfs8.sh | 31 # Demonstrate rename(2) cache problem for tmpfs(4). Fixed in r226987. 123 if (rename(logfile, new) == -1) 124 warn("rename(%s, %s)", logfile, new);
|
H A D | cluster.sh | 166 if (rename(file, file2) == -1) 168 warn("rename(%s, %s)", file, file2);
|
/freebsd-current/contrib/sendmail/contrib/ |
H A D | buildvirtuser | 204 rename($newvirt, $virt) || die "Could not rename $newvirt to $virt: $!\n"; 214 rename($newvirthosts, $virthosts) || die "Could not rename $newvirthosts to $virthosts: $!\n";
|
/freebsd-current/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_rename.sh | 29 # Verifies that the rename operation works (either by renaming entries or 59 $(atf_get_srcdir)/h_tools rename a /var/tmp/a 142 $(atf_get_srcdir)/h_tools rename a b 166 $(atf_get_srcdir)/h_tools rename a b 192 $(atf_get_srcdir)/h_tools rename a b 214 $(atf_get_srcdir)/h_tools rename a b
|
/freebsd-current/contrib/tcpdump/lbl/ |
H A D | os-sunos4.h | 137 int rename(const char *, const char *);
|
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctfconvert.c | 254 if (rename(tmpname, infile) != 0) 255 terminate("Couldn't rename temp file %s", tmpname);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_009_pos.ksh | 110 log_must zfs rename $TESTPOOL/$TESTFS3/TESTFSA$DATASET_XXX \
|
/freebsd-current/contrib/libpcap/lbl/ |
H A D | os-sunos4.h | 136 int rename(const char *, const char *);
|
/freebsd-current/tests/sys/cddl/zfs/tests/zvol/zvol_misc/ |
H A D | zvol_misc_008_pos.ksh | 111 # Test set 2: Recursive snapshot, cloning/promoting, and root-rename 140 log_must $ZFS rename $root $renamed 141 # Ensure that the root rename applies to clones and promoted clones.
|
/freebsd-current/usr.bin/sed/ |
H A D | main.c | 358 (rename(fname, oldfname) != 0)) { 359 warn("rename()"); 374 if (rename(tmpfname, fname) != 0) { 376 warn("rename()");
|
/freebsd-current/crypto/openssl/apps/lib/ |
H A D | apps.c | 54 # define rename(from,to) WIN32_rename((from),(to)) macro 1589 if (rename(serialfile, buf[1]) < 0 && errno != ENOENT 1595 "Unable to rename %s to %s\n", serialfile, buf[1]); 1599 if (rename(buf[0], serialfile) < 0) { 1601 "Unable to rename %s to %s\n", buf[0], serialfile); 1603 rename(buf[1], serialfile); 1805 if (rename(dbfile, buf[1]) < 0 && errno != ENOENT 1810 BIO_printf(bio_err, "Unable to rename %s to %s\n", dbfile, buf[1]); 1814 if (rename(buf[0], dbfile) < 0) { 1815 BIO_printf(bio_err, "Unable to rename [all...] |
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | default_permissions.cc | 174 * rename vops (they all share a common path for permission checks in 224 * Expect a rename and respond with the given error. Don't both to 225 * validate arguments; the tests in rename.cc do that. 1079 ASSERT_EQ(-1, rename(FULLSRC, FULLDST)); 1098 ASSERT_EQ(-1, rename(FULLSRC, FULLDST)); 1117 ASSERT_EQ(-1, rename(FULLSRC, FULLDST)); 1131 ASSERT_EQ(-1, rename(FULLSRC, FULLDST)); 1154 ASSERT_EQ(-1, rename(FULLSRC, FULLDST)); 1159 * A user _can_ rename a subdirectory to which he lacks write permissions, if 1176 ASSERT_EQ(0, rename(FULLSR [all...] |
/freebsd-current/contrib/nvi/cl/ |
H A D | cl_funcs.c | 615 * We can only rename windows for xterm. 626 goto rename; 629 goto rename; 637 rename: cl_setname(gp, name); 658 /* X11 xterm escape sequence to rename the icon/window. */
|
/freebsd-current/crypto/heimdal/lib/hdb/ |
H A D | ndbm.c | 197 ret = rename(old_dir, new_dir) || rename(old_pag, new_pag); 202 krb5_set_error_message(context, ret, "rename: %s", strerror(ret));
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_netbsd.cpp | 203 DEFINE__REAL(int, rename, const char *a, const char *b); 204 return _REAL(rename, oldpath, newpath);
|