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

/haiku/src/kits/tracker/
H A DNodePreloader.h69 void PreloadOne(const char* dirPath);
H A DNodePreloader.cpp166 NodePreloader::PreloadOne(const char* dirPath) argument
168 //PRINT(("preloading directory %s\n", dirPath));
169 BDirectory dir(dirPath);
/haiku/src/kits/storage/
H A DSymLink.cpp109 BSymLink::MakeLinkedPath(const char* dirPath, BPath* path) argument
111 // BeOS seems to convert the dirPath to a BDirectory, which causes links
112 // to be resolved. This means that the dirPath must exist!
113 if (dirPath == NULL || path == NULL)
116 BDirectory dir(dirPath);
H A DDirectory.cpp314 BPath dirPath(this, ".", true);
316 if (dirPath.InitCheck() != B_OK || entryPath.InitCheck() != B_OK)
319 uint32 dirLen = strlen(dirPath.Path());
321 if (!strncmp(dirPath.Path(), entryPath.Path(), dirLen)) {
567 BPath dirPath;
578 if (dirPath.InitCheck() == B_NO_INIT) // first component
579 error = dirPath.SetTo(component);
581 error = dirPath.Append(component);
589 error = entry.SetTo(dirPath.Path(), true);
600 error = _kern_create_dir(-1, dirPath
[all...]
H A Dstorage_support.cpp101 \param dirPath Pointer to a character array of size \c B_PATH_NAME_LENGTH
111 parse_path(const char *fullPath, char *dirPath, char *leaf) argument
123 if (dirPath)
124 strlcpy(dirPath, fullPath, dirEnd + 1);
H A DEntry.cpp595 char dirPath[B_PATH_NAME_LENGTH]; local
596 status_t error = BPrivate::Storage::parse_path(path, dirPath,
601 if (leafName[0] == '\0' && dirPath[0] == '/')
605 error = BPrivate::Storage::check_entry_name(dirPath);
608 strcpy(leafName, dirPath);
631 int parentFD = _kern_open_dir(dirFD, dirPath);
H A DPath.cpp212 BPath dirPath; local
214 error = dirPath.SetTo(&entry);
217 error = SetTo(dirPath.Path(), path, normalize);
/haiku/headers/os/storage/
H A DSymLink.h29 ssize_t MakeLinkedPath(const char* dirPath,
/haiku/src/build/libbe/storage/
H A DDirectory.cpp294 BPath dirPath(this, ".", true);
296 if (dirPath.InitCheck() != B_OK || entryPath.InitCheck() != B_OK)
299 uint32 dirLen = strlen(dirPath.Path());
301 if (!strncmp(dirPath.Path(), entryPath.Path(), dirLen)) {
550 BPath dirPath;
561 if (dirPath.InitCheck() == B_NO_INIT) // first component
562 error = dirPath.SetTo(component);
564 error = dirPath.Append(component);
572 error = entry.SetTo(dirPath.Path(), true);
583 error = _kern_create_dir(-1, dirPath
[all...]
H A DEntry.cpp926 char dirPath[B_PATH_NAME_LENGTH]; local
927 status_t error = BPrivate::Storage::parse_path(path, dirPath,
932 if (leafName[0] == '\0' && dirPath[0] == '/')
936 error = BPrivate::Storage::check_entry_name(dirPath);
939 strcpy(leafName, dirPath);
962 int parentFD = _kern_open_dir(dirFD, dirPath);
/haiku/headers/private/storage/
H A Dstorage_support.h38 status_t parse_path(const char *fullPath, char *dirPath, char *leaf);
/haiku/src/apps/deskbar/
H A DBarApp.cpp299 BPath dirPath; local
303 find_directory(B_USER_DESKBAR_DIRECTORY, &dirPath, true);
306 if (GetDeskbarSettingsDirectory(dirPath, true) == B_OK) {
307 BPath filePath = dirPath;
311 BDirectory theDir(dirPath.Path());
375 filePath = dirPath;
379 BDirectory theDir(dirPath.Path());
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dmodule.cpp55 status_t Load(const char *path, const char *dirPath);
169 ModuleAddOn::Load(const char *path, const char *dirPath) argument
173 status_t error = (path && dirPath ? B_OK : B_BAD_VALUE);
179 || absDirPath.SetTo(dirPath, NULL, true) != B_OK
/haiku/src/build/libroot/
H A Dfs_attr_generic.cpp327 string dirPath(get_attribute_dir_path(ref, path, fd));
328 return opendir(dirPath.c_str());
782 string dirPath = get_attribute_dir_path(ref, path, -1); local
783 strcpy(buffer, dirPath.c_str());
H A Dfs.cpp306 const char *dirPath = NULL; local
318 dirPath = dirPathString.c_str();
322 dirPath = ".";
331 status_t error = normalize_dir_path(dirPath, normalizedPath);
/haiku/src/apps/packageinstaller/
H A DPackageItem.cpp1060 BPath dirPath; local
1061 ret = destination.GetParent(&dirPath);
1062 ret = dir->SetTo(dirPath.Path());
1065 ret = create_directory(dirPath.Path(), kDefaultMode);
1073 strerror(ret), dirPath.Path());
1085 chdir(dirPath.Path());
/haiku/src/tests/kits/storage/
H A DFileTest.cpp170 BPath dirPath; local
171 CPPUNIT_ASSERT( path.GetParent(&dirPath) == B_OK );
172 BDirectory dir(dirPath.Path());
287 BPath dirPath; local
288 CPPUNIT_ASSERT( path.GetParent(&dirPath) == B_OK );
289 BDirectory dir(dirPath.Path());
/haiku/src/kits/debugger/files/
H A DFileManager.cpp366 BString dirPath; local
367 directory->GetPath(dirPath);
368 directory->SetLocatedPath(dirPath, false);
/haiku/src/apps/poorman/
H A DPoorManWindow.cpp448 BString dirPath(B_TRANSLATE("Directory: "));
449 dirPath.Append(name);
452 fDirView->SetText(dirPath.String());
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylist.cpp768 BPath dirPath; local
769 mediaFilePath.GetParent(&dirPath);
770 BDirectory dir(dirPath.Path());
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNetFSServer.cpp1048 BPath dirPath; local
1049 status_t error = _GetSettingsDirPath(&dirPath, createDir);
1054 return path->SetTo(dirPath.Path(), kSettingsFileName);
/haiku/src/servers/mount/
H A DAutoMounter.cpp525 BPath dirPath(&mountDir, 0);
527 partition->SetMountedAt(dirPath.Path());

Completed in 152 milliseconds