Searched refs:newPath (Results 1 - 22 of 22) sorted by relevance

/haiku/headers/build/host/darwin/
H A Dstdio.h10 int renameat(int oldFD, const char* oldPath, int newFD, const char* newPath);
11 int symlinkat(const char *oldPath, int fd, const char *newPath);
H A Dunistd.h13 int linkat(int oldFD, const char *oldPath, int newFD, const char *newPath,
/haiku/src/build/libroot/
H A Dfs_darwin.cpp338 renameat(int oldFD, const char* oldPath, int newFD, const char* newPath) argument
346 if (newFD == AT_FDCWD || (newPath != NULL && newPath[0] == '/'))
351 return rename(oldPath, newPath);
374 if (get_path(newFD, newPath, newFullPath) < 0)
379 ignoreNewFD ? newPath : newFullPath);
406 symlinkat(const char *oldPath, int fd, const char *newPath) argument
408 if (fd == AT_FDCWD || (newPath != NULL && newPath[0] == '/')) {
410 return symlink(oldPath, newPath);
458 linkat(int oldFD, const char *oldPath, int newFD, const char *newPath, int flag) argument
[all...]
H A Dfs.cpp1084 _kern_rename(int oldDir, const char *oldPath, int newDir, const char *newPath) argument
1093 error = get_path(newDir, newPath, realNewPath);
/haiku/src/apps/codycam/
H A DFileUploadClient.cpp69 FileUploadClient::MoveFile(const string& oldPath, const string& newPath) argument
H A DSftpClient.h45 const string& newPath);
H A DFileUploadClient.h39 const string& newPath);
H A DFtpClient.h51 const string& newPath);
H A DSpawningUploadClient.h36 const string& newPath);
H A DSftpClient.cpp202 SftpClient::MoveFile(const string& oldPath, const string& newPath) argument
208 cmd << " " << newPath.c_str() << "\n";
235 cmd << " " << oldPath.c_str() << " " << newPath.c_str() << "\n";
H A DSpawningUploadClient.cpp189 SpawningUploadClient::MoveFile(const string& oldPath, const string& newPath) argument
H A DFtpClient.cpp359 FtpClient::MoveFile(const string& oldPath, const string& newPath) argument
368 to += newPath;
/haiku/src/kits/storage/
H A DPath.cpp153 char newPath[B_PATH_NAME_LENGTH]; local
160 if (pathLen >= sizeof(newPath))
163 strcpy(newPath, path);
169 if (wholeLen >= sizeof(newPath))
173 newPath[pathLen] = '/';
176 strcpy(newPath + pathLen, leaf);
181 normalize = _MustNormalize(newPath, &error);
188 error = entry.SetTo(newPath, false);
192 error = _SetPath(newPath);
/haiku/src/servers/input/
H A DAddOnManager.h92 const char* path, bool& newPath);
H A DAddOnManager.cpp221 bool newPath; local
222 status_t status = _AddDevicePath(addOn, path.String(), newPath);
223 if (status == B_OK && newPath) {
960 bool& newPath)
962 newPath = !fDevicePaths.HasPath(path);
959 _AddDevicePath(DeviceAddOn* addOn, const char* path, bool& newPath) argument
/haiku/src/tools/fs_shell/
H A Dsyscalls.h52 const char *newPath);
H A Dvfs.cpp3830 common_rename(int fd, char *path, int newFD, char *newPath, bool kernel) argument
3837 FUNCTION(("common_rename(fd = %d, path = %s, newFD = %d, newPath = %s, kernel = %d)\n", fd, path, newFD, newPath, kernel));
3843 status = fd_and_path_to_dir_vnode(newFD, newPath, &toVnode, toName, kernel);
5424 * \a oldPath and \a newPath must always be specified (they contain at least
5434 * \param newPath The absolute or relative path of the new location. Must not
5441 _kern_rename(int oldFD, const char *oldPath, int newFD, const char *newPath) argument
5444 KPath newPathBuffer(newPath, false, FSSH_B_PATH_NAME_LENGTH + 1);
/haiku/src/kits/network/libnetservices/
H A DNetworkCookie.cpp862 BString newPath = path;
863 newPath.Truncate(index);
864 return newPath;
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp1309 char newPath[B_PATH_NAME_LENGTH]; local
1311 error = _BuildPath(dir, name, newPath, newPathLen);
1318 fuseError = fuse_fs_link(fFS, oldPath, newPath);
1420 char newPath[B_PATH_NAME_LENGTH]; local
1422 error = _BuildPath(newDir, newName, newPath, newPathLen);
1429 fuseError = fuse_fs_rename(fFS, oldPath, newPath);
/haiku/src/preferences/backgrounds/
H A DBackgroundsView.cpp1049 FindPath(BPath* currentPath, void* newPath) argument
1051 BPath* pathToCheck = static_cast<BPath*>(newPath);
/haiku/src/system/kernel/fs/
H A Dvfs.cpp6560 common_rename(int fd, char* path, int newFD, char* newPath, bool kernel) argument
6564 FUNCTION(("common_rename(fd = %d, path = %s, newFD = %d, newPath = %s, "
6565 "kernel = %d)\n", fd, path, newFD, newPath, kernel));
6575 status = fd_and_path_to_dir_vnode(newFD, newPath, toVnode, toName, kernel);
8531 \a oldPath and \a newPath must always be specified (they contain at least
8541 \param newPath The absolute or relative path of the new location. Must not
8547 _kern_rename(int oldFD, const char* oldPath, int newFD, const char* newPath) argument
8550 KPath newPathBuffer(newPath);
9465 char* newPath = newPathBuffer.LockBuffer(); local
9472 status = user_copy_name(newPath, userNewPat
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DClientConnection.cpp1401 Path newPath; local
1403 result = newDirectory->GetPath(&newPath);
1405 result = newPath.Append(request->newName.GetString());
1438 if (rename(oldPath.GetPath(), newPath.GetPath()) < 0)

Completed in 214 milliseconds