Searched refs:rename (Results 1 - 25 of 43) sorted by relevance

12

/haiku/src/system/libroot/posix/stdio/
H A Drename.c16 rename(const char *from, const char *to) function
/haiku/src/tests/add-ons/kernel/file_systems/bfs/rename/
H A Drename.c36 puts("rename test: Overwrite a directory with files in it");
37 printf(" %s\n",rename("__file", "__directory") ? "Could not rename file!" : "Rename succeeded.");
43 // rename the file and try to remove the directory
44 puts("rename test: Overwrite an empty directory");
45 printf(" %s\n", rename("__file","__directory") ? "Could not rename file!" : "Rename succeeded.");
/haiku/headers/private/userlandfs/fuse/
H A Dfuse_compat.h21 int (*rename) (const char *, const char *); member in struct:fuse_operations_compat25
80 int (*rename) (const char *, const char *); member in struct:fuse_operations_compat22
131 int (*rename) (const char *, const char *); member in struct:fuse_operations_compat2
179 int (*rename) (const char *, const char *); member in struct:fuse_operations_compat1
H A Dfuse_lowlevel_compat.h30 void (*rename) (fuse_req_t req, fuse_ino_t parent, const char *name, member in struct:fuse_lowlevel_ops_compat25
97 void (*rename) (fuse_req_t req, fuse_ino_t parent, const char *name, member in struct:fuse_lowlevel_ops_compat
H A Dfuse_lowlevel.h219 * overwriting an existing file) rename. Filesystems must handle
222 * unlink, remdir or rename will be followed closely by forget
401 void (*rename) (fuse_req_t req, fuse_ino_t parent, const char *name, member in struct:fuse_lowlevel_ops
1039 * unlink, rmdir, rename, flush, release, fsync, fsyncdir, setxattr,
H A Dfuse.h137 int (*rename) (const char *, const char *); member in struct:fuse_operations
/haiku/headers/cpp/
H A Diostdio.h100 #define rename ??? __P((const char* _old, const char* _new))
/haiku/src/apps/haikudepot/server/
H A DAbstractServerProcess.cpp236 then it can rename the file to the final target file.
269 if (rename(temporaryFilePath.Path(), targetFilePath.Path()) != 0) {
270 HDINFO("[%s] did rename [%s] --> [%s]",
307 if (rename(tmpPath, path.Path()) != 0) {
451 if (0 != rename(currentFilePath.Path(), damagedFilePath.Path())) {
/haiku/headers/private/kernel/boot/
H A Dstdio.h68 extern int rename(const char *from, const char *to);
/haiku/src/bin/
H A Dtrash.cpp48 err = rename(path.Path(), original_path);
100 err = rename(original_path, trashed_file);
/haiku/src/servers/syslog_daemon/
H A Dsyslog_output.cpp78 rename(syslog.Path(), oldlog.Path());
/haiku/src/build/libroot/
H A Dfs_darwin.cpp350 // call rename() ignoring the fd's
351 return rename(oldPath, newPath);
378 return rename(ignoreOldFD ? oldPath : oldFullPath,
H A Dfs_attr_generic.cpp734 // rename the attribute and type files
735 if (rename(fromAttrPath.c_str(), toAttrPath.c_str()) < 0)
738 if (rename(fromTypePath.c_str(), toTypePath.c_str()) < 0) {
739 // renaming the type file failed: try to rename back the attribute file
742 rename(toAttrPath.c_str(), fromAttrPath.c_str());
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSELowLevel.cpp200 if (ops->rename == NULL)
204 ops->rename(&request, parent, name, newparent, newname);
H A Dfuse_fs.cpp37 if (fs->ops.rename == NULL)
39 return fs->ops.rename(oldpath, newpath);
H A DFUSEFileSystem.cpp482 fNodeCapabilities.Set(FS_VNODE_CAPABILITY_RENAME, fLowLevelOps.rename);
540 fNodeCapabilities.Set(FS_VNODE_CAPABILITY_RENAME, fFS->ops.rename);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A DBeOSKernelFileSystem.cpp159 fNodeCapabilities.Set(FS_VNODE_CAPABILITY_RENAME, fFSOps->rename);
H A DBeOSKernelVolume.cpp324 if (!fFSOps->rename)
326 return fFSOps->rename(fVolumeCookie, oldDir, oldName, newDir, newName);
H A Dfs_interface.h195 beos_op_rename *rename; member in struct:beos_vnode_ops
/haiku/headers/posix/
H A Dstdio.h93 extern int rename(const char *from, const char *to);
/haiku/headers/private/userlandfs/legacy/
H A Dfsproto.h176 op_rename *rename; member in struct:vnode_ops
/haiku/src/servers/registrar/
H A DAuthenticationManager.cpp556 // rename the old files
562 rename(kPasswdFile, passwdBackup.c_str());
563 rename(kShadowPwdFile, shadowBackup.c_str());
683 // rename the old files
687 rename(kGroupFile, groupBackup.c_str());
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A DHaikuKernelFileSystem.cpp328 capabilities.Set(FS_VNODE_CAPABILITY_RENAME, ops->rename);
H A DHaikuKernelVolume.cpp616 if (!oldDir->ops->rename)
618 return oldDir->ops->rename(&fVolume, oldDir, oldName, newDir, newName);
/haiku/src/tools/fs_shell/
H A Dfuse.cpp256 PRINTD("##rename\n");
415 fuseOps->rename = fuse_rename;

Completed in 201 milliseconds

12