Searched refs:rename (Results 251 - 275 of 298) sorted by relevance

<<1112

/freebsd-current/usr.sbin/kldxref/
H A Dkldxref.c814 /* close and rename the current hint file */
818 rename(tempname, xrefname);
/freebsd-current/contrib/ncurses/misc/
H A Dncu2openbsd149 rename $src, $dst unless ($opt_n);
/freebsd-current/contrib/lib9p/
H A Drequest.c1117 error = be->rename != NULL ? be->rename(be->softc, req) : ENOSYS;
/freebsd-current/contrib/elftoolchain/elfcopy/
H A Dmain.c157 {"rename-section", required_argument, NULL, ECP_RENAME_SECTION},
591 * If in_place is set act as if editing the file in place, avoiding rename()
602 * First, check if we can use rename().
605 if (rename(src, dst) >= 0) {
612 * If the rename() failed due to 'src' and 'dst' residing in
1031 "illegal format for --rename-section");
1039 sac->rename = 1;
1548 --rename-section OLDNAME=NEWNAME[,FLAGS]\n\
/freebsd-current/crypto/heimdal/kadmin/
H A DMakefile.in122 mod.$(OBJEXT) rename.$(OBJEXT) stash.$(OBJEXT) util.$(OBJEXT) \
450 rename.c \
683 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rename.Po@am__quote@
/freebsd-current/contrib/wpa/hs20/client/
H A Dosu_client.c263 if (rename("Cert/est-cacerts.pem", buf) < 0) {
271 if (rename("Cert/est_cert.pem", buf) < 0) {
288 if (rename("Cert/privkey-plain.pem", buf) < 0) {
723 rename(pps_fname, backup);
727 rename(backup, pps_fname);
/freebsd-current/targets/pseudo/tests/
H A DMakefile.depend256 tests/sys/pjdfstest/tests/rename \
/freebsd-current/contrib/lib9p/pytest/
H A Dclient.py584 with TestCase('rename adjusts other fids', tstate) as tc:
601 # Now if we rename /dir/d1 to /dir/d2, the fids for both
604 # rename ops.
610 clnt.rename(d1fid, dirfid, name=b'd2')
H A Dp9conn.py500 do so if the rename is not based on the retained path
501 for the supplied fid, i.e., for rename ops where fid
1103 def rename(self, fid, dfid, name): member in class:P9Client
1104 "invoke Trename: rename file <fid> to <dfid>/name"
1110 self.badresp('rename {0} to {2} in '
1117 "invoke Trenameat: rename <olddirfid>/oldname to <newdirfid>/newname"
1125 self.badresp('rename {1} in {0} to {3} in '
/freebsd-current/contrib/pjdfstest/
H A Dpjdfstest.c195 { "rename", ACTION_RENAME, { TYPE_STRING, TYPE_STRING, TYPE_NONE } },
829 rval = rename(STR(0), STR(1));
/freebsd-current/crypto/heimdal/lib/hdb/
H A Dhdb-mitdb.c588 ret = rename(old, new);
/freebsd-current/crypto/openssh/
H A Dhostfile.c710 if (rename(temp, filename) == -1) {
712 error_f("rename \"%s\" to \"%s\": %s", temp,
H A Dsshkey-xmss.c656 if (rename(nstatefile, statefile) == -1) {
658 PRINT("rename %s to %s", nstatefile, statefile);
H A Dssh-keygen.c1155 if (rename(pub_tmp, pub_file) != 0) {
1160 if (rename(prv_tmp, prv_file) != 0) {
1392 if (rename(tmp, identity_file) == -1) {
1393 error("rename\"%s\" to \"%s\": %s", tmp, identity_file,
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddraid.c180 * traditional unlink then rename steps. This code provides
239 * writable by us and the subsequent rename should never fail.
249 error = rename(tmpname, filename);
/freebsd-current/contrib/less/
H A Dcmdbuf.c1667 * Windows rename doesn't remove an existing file,
1672 rename(tempname, histname);
/freebsd-current/usr.bin/sort/
H A Dsort.c1323 if (rename(outfile, real_outfile) < 0)
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileSystem.h384 /// Files are renamed as if by POSIX rename(), except that on Windows there may
388 /// @param from The path to rename from.
389 /// @param to The path to rename to. This is created.
390 std::error_code rename(const Twine &from, const Twine &to);
/freebsd-current/contrib/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp847 ErrorHandler<void> err("rename", ec, &from, &to);
848 if (detail::rename(from.c_str(), to.c_str()) == -1)
/freebsd-current/usr.sbin/newsyslog/
H A Dnewsyslog.c1974 (void)rename(zfile1, zfile2);
2838 * to rename() fails, then "neither the old file nor the new
2853 failed = rename(tempfile, realfile);
/freebsd-current/contrib/tcsh/
H A Dsh.hist.c33 #include <stdio.h> /* for rename(2), grr. */
1272 * and saving the history there first and then trying to rename
1344 (void)rename(path, short2str(fname));
/freebsd-current/contrib/unifdef/
H A Dunifdef.c433 if (rename(ofn, backname) < 0)
434 err(2, "can't rename \"%s\" to \"%s\"", ofn, backname);
442 err(2, "can't rename \"%s\" to \"%s\"", tempname, ofn);
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cpp370 return rename(oldpath, newpath);
/freebsd-current/contrib/sendmail/src/
H A Dqueue.c468 (void) rename(tf, queuename(e, TEMPQF_LETTER));
914 /* rename (locked) tf to be (locked) [qh]f */
917 if (rename(tf, qf) < 0)
918 syserr("cannot rename(%s, %s), uid=%ld",
924 ** remove the old item if the rename above
4083 ** Process B: queueup(): rename(tf, qf)
4087 ** Process A (us) has the old qf file (before the rename deleted
5738 ** LOSEQFILE -- rename queue file with LOSEQF_LETTER & try to let someone know
5771 if (rename(buf, p) < 0)
5772 syserr("cannot rename(
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp1259 // Always try to close and rename.
1261 // If we can't cancel the delete don't rename.
1268 // If rename failed because it's cross-device, copy instead
1276 // If we can't rename or copy, discard the temporary file.
1286 std::error_code RenameEC = fs::rename(TmpName, Name);
1288 // If we can't rename, try to copy to work around cross-device link issues.
1290 // If we can't rename or copy, discard the temporary file.

Completed in 514 milliseconds

<<1112