Home
last modified time | relevance | path

Searched refs:pathString (Results 1 – 13 of 13) sorted by relevance

/haiku/src/tests/kits/storage/disk_device/
H A DDiskDeviceTest.cpp33 const char *pathString = NULL; in Visit() local
35 pathString = path.Path(); in Visit()
37 pathString = strerror(error); in Visit()
38 printf("device %ld: `%s'\n", device->ID(), pathString); in Visit()
55 const char *pathString = NULL; in Visit() local
57 pathString = path.Path(); in Visit()
59 pathString = strerror(error); in Visit()
61 pathString); in Visit()
/haiku/src/servers/package/
H A DFSUtils.cpp44 BString pathString = path.ToString(); in OpenSubDirectory() local
45 if (pathString.IsEmpty()) in OpenSubDirectory()
50 RETURN_ERROR(_directory.SetTo(&baseDirectory, pathString)); in OpenSubDirectory()
54 status_t error = absolutePath.SetTo(&baseDirectory, pathString); in OpenSubDirectory()
57 "for subdirectory \"%s\": %s\n", pathString.String(), in OpenSubDirectory()
66 "subdirectory \"%s\": %s\n", pathString.String(), in OpenSubDirectory()
71 RETURN_ERROR(_directory.SetTo(&baseDirectory, pathString)); in OpenSubDirectory()
/haiku/src/tests/apps/partitioner/
H A DPartitioner.cpp79 const char *pathString = NULL; in Visit() local
81 pathString = path.Path(); in Visit()
83 pathString = strerror(error); in Visit()
84 printf("device %" B_PRId32 ": \"%s\"\n", device->ID(), pathString); in Visit()
101 const char *pathString = NULL; in Visit() local
103 pathString = path.Path(); in Visit()
105 pathString = strerror(error); in Visit()
107 pathString); in Visit()
173 const char *pathString = NULL; in Visit() local
175 pathString = path.Path(); in Visit()
[all …]
/haiku/src/apps/expander/
H A DExpanderThread.cpp66 BString pathString(path.Path()); in ThreadStartup() local
67 pathString.CharacterEscape("\\\"$`", '\\'); in ThreadStartup()
68 pathString.Prepend("\""); in ThreadStartup()
69 pathString.Append("\""); in ThreadStartup()
70 cmd.ReplaceAll("%s", pathString.String()); in ThreadStartup()
/haiku/src/system/runtime_loader/
H A Druntime_loader.cpp332 const char* pathString = runpath; in open_executable() local
333 if (pathString == NULL) in open_executable()
334 pathString = rpath; in open_executable()
335 if (pathString != NULL) { in open_executable()
339 const char *semicolon = strchr(pathString, ';'); in open_executable()
340 const char *firstList = (semicolon ? pathString : NULL); in open_executable()
341 const char *secondList = (semicolon ? semicolon + 1 : pathString); in open_executable()
/haiku/src/apps/packageinstaller/
H A DPackageItem.cpp218 BString pathString(destination->Path()); in InitPath() local
221 if (pathString.FindFirst("non-packaged") < 0) { in InitPath()
224 if (pathString.StartsWith("/boot/beos/system")) { in InitPath()
228 pathString.ReplaceFirst("/boot/beos/system", in InitPath()
231 } else if (pathString.StartsWith("/boot/system")) { in InitPath()
235 pathString.ReplaceFirst("/boot/system", in InitPath()
238 } else if (pathString.StartsWith("/boot/home/config")) { in InitPath()
241 pathString.ReplaceFirst("/boot/home/config", in InitPath()
248 printf("rewritten: %s\n", pathString.String()); in InitPath()
249 destination->SetTo(pathString.String()); in InitPath()
/haiku/src/kits/interface/
H A DDecorInfo.cpp591 DecorInfoUtility::_FindDecor(const BString& pathString) in _FindDecor() argument
600 if (pathString == "Default") in _FindDecor()
611 if (path.Path() == pathString || decor->Path() == pathString) in _FindDecor()
/haiku/src/kits/mail/
H A DMailSettings.cpp430 const char* pathString = NULL; in Load() local
431 if (message.FindString("add-on path", &pathString) != B_OK) in Load()
434 BPath path(pathString); in Load()
444 path.SetTo(paths.StringAt(i), pathString); in Load()
/haiku/headers/os/storage/
H A DFindDirectory.h174 char* pathString, int32 length);
/haiku/src/apps/mediaconverter/
H A DMediaConverterWindow.cpp895 BString pathString(path.Path()); in TruncateOutputFolderPath() local
898 fOutputFolder->TruncateString(&pathString, B_TRUNCATE_MIDDLE, maxWidth); in TruncateOutputFolderPath()
899 fOutputFolder->SetText(pathString.String()); in TruncateOutputFolderPath()
/haiku/src/servers/registrar/
H A DTRoster.cpp1150 const char* pathString; in HandleRestartAppServer() local
1151 if (request->FindString("path", &pathString) != B_OK) in HandleRestartAppServer()
1152 pathString = "/boot/system/servers"; in HandleRestartAppServer()
1153 BPath path(pathString); in HandleRestartAppServer()
/haiku/src/preferences/backgrounds/
H A DBackgroundsView.cpp457 BString pathString = path.Path(); in _LoadDefaultFolder() local
458 pathString << "/Tracker/DefaultFolderTemplate"; in _LoadDefaultFolder()
459 status_t error = get_ref_for_path(pathString.String(), &fCurrentRef); in _LoadDefaultFolder()
/haiku/docs/user/storage/
H A DFindDirectory.dox1227 bool createIt, char* pathString, int32 length)
1231 Fills up to \a length characters of \a pathString with the path to \a which