Searched refs:Path (Results 1 - 25 of 759) sorted by relevance

1234567891011>>

/haiku/headers/build/os/storage/
H A DPath.h1 #include <../os/storage/Path.h>
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DPath.h0 // Path.h
8 class Path { class
10 Path();
11 ~Path();
H A DPath.cpp0 // Path.cpp
8 #include "Path.h"
11 Path::Path() function in class:Path
19 Path::~Path()
26 Path::SetTo(const char* path, const char* leaf)
70 Path::Append(const char* leaf)
106 Path::GetPath() const
113 Path
[all...]
/haiku/src/servers/launch/
H A DInitTemporaryDirectoryJob.cpp13 #include <Path.h>
31 return CreateAndEmpty(path.Path());
/haiku/src/apps/debugger/user_interface/cli/commands/
H A DCliDebugReportCommand.cpp11 #include <Path.h>
46 if (get_ref_for_path(path.Path(), &ref) == B_OK) {
47 printf("Saving debug information report to %s...\n", path.Path());
H A DCliWriteCoreFileCommand.cpp11 #include <Path.h>
47 if (get_ref_for_path(path.Path(), &ref) == B_OK) {
48 printf("Writing core file to %s...\n", path.Path());
/haiku/src/build/libroot/
H A DLocalFD.h39 const char* Path() const function in class:LocalFD
48 if (Path())
49 result = lstat(Path(), &st);
/haiku/src/tests/system/kernel/fs/
H A DKPathTest.cpp98 CPPUNIT_ASSERT(strcmp(path.Path(), "a/b/c") == 0);
104 CPPUNIT_ASSERT(strcmp(path.Path(), "abc/def") == 0);
110 CPPUNIT_ASSERT(strcmp(path.Path(), "a/b/c") == 0);
116 CPPUNIT_ASSERT(strcmp(path.Path(), "a/b/c") == 0);
128 CPPUNIT_ASSERT(path.Path() == NULL);
134 CPPUNIT_ASSERT(path.Path() != NULL);
135 CPPUNIT_ASSERT(strcmp(path.Path(), "/b") == 0);
140 CPPUNIT_ASSERT(second.Path() != NULL);
141 CPPUNIT_ASSERT(strcmp(second.Path(), "yo") == 0);
157 CPPUNIT_ASSERT(strcmp(path.Path(), "
[all...]
/haiku/src/tests/kits/translation/multitest/
H A DWorkView.cpp7 #include <Path.h>
54 BPath Path(fPath);
55 printf("-- failed to get bitmap (%s)!\n", Path.Path());
/haiku/src/apps/bootmanager/
H A DBootDrive.h9 #include <Path.h>
29 const char* Path() const;
/haiku/src/apps/haikudepot/util/
H A DStorageUtils.cpp41 const BPath& Path() const function in class:PathWithLastAccessTimestamp
61 strcmp(fPath.Path(), other.fPath.Path()) < 0;
91 BFile file(path.Path(), O_RDONLY);
105 BFile file(path.Path(), O_WRONLY | O_CREAT | O_APPEND);
131 path.Path());
150 BDirectory directory(path.Path());
172 if (remove(directoryEntryPath.Path()) == 0) {
174 directoryEntryPath.Path());
176 HDERROR("unable to delete [%s]", directoryEntryPath.Path());
[all...]
/haiku/src/kits/mail/
H A Dnumailkit.cpp18 #include <Path.h>
72 create_directory(path.Path(), 0777);
74 BDirectory account_dir(path.Path());
79 path.Path(), strerror(ret));
89 path.Path(), leaf.String(), strerror(ret));
162 path.Path(), leaf.String(), (float)timeout/1e6, strerror(ret));
179 path.Path(), leaf.String(), (float)timeout/1e6, strerror(ret));
194 path.Path(), leaf.String(), strerror(ret));
203 path.Path(), leaf.String(), strerror(ret));
212 path.Path(), nam
[all...]
/haiku/src/preferences/time/
H A DTimeSettings.cpp18 #include <Path.h>
42 BFile file(path.Path(), B_READ_ONLY);
63 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE);
/haiku/src/tests/kits/app/bmessage/
H A DMessageRefItemTest.h13 #include <Path.h>
59 BPath Path(data);
60 status_t err = Path.InitCheck();
65 err = Path.Flatten(buf, size);
96 BPath Path; local
97 err = Path.Unflatten(type, ptr, *size);
100 if (Path.Path())
102 err = get_ref_for_path(Path.Path(),
[all...]
/haiku/src/preferences/screen/
H A DScreenSettings.cpp16 #include <Path.h>
31 BFile file(path.Path(), B_READ_ONLY);
50 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE);
/haiku/src/kits/debugger/jobs/
H A DWriteCoreFileJob.cpp8 #include <Path.h>
50 error = fDebuggerInterface->WriteCoreFile(path.Path());
55 fTeam->NotifyCoreFileChanged(path.Path());
/haiku/src/preferences/printers/
H A DScreenSettings.cpp16 #include <Path.h>
31 BFile file(path.Path(), B_READ_ONLY);
50 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE);
/haiku/src/apps/text_search/
H A DFileIterator.cpp15 #include <Path.h>
35 strcpy(buffer, path.Path());
50 if (BMimeType::GuessMimeType(path.Path(), &mimeType) != B_OK)
/haiku/src/bin/writembr/
H A Dwritembr.cpp15 #include <Path.h>
66 cerr << device.Path() << " is not a raw device" << endl;
71 fs.open(device.Path(), fstream::in | fstream::out | fstream::binary);
73 cerr << "Can't open " << device.Path() << endl;
83 << " bytes from " << device.Path() << endl;
93 cerr << "About to overwrite the MBR boot code on " << device.Path()
105 cerr << "Rewriting MBR for " << device.Path() << endl;
111 << " bytes to " << device.Path() << endl;
/haiku/src/tests/kits/storage/
H A DPathTest.cpp9 #include <Path.h>
63 CPPUNIT_ASSERT( path.Path() == NULL );
73 CPPUNIT_ASSERT( string(pathName) == path.Path() );
81 CPPUNIT_ASSERT( string(pathName) == path.Path() );
89 CPPUNIT_ASSERT( string(pathName) == path.Path() );
98 CPPUNIT_ASSERT( string(normalizedPathName) == path.Path() );
107 CPPUNIT_ASSERT( string(normalizedPathName) == path.Path() );
115 CPPUNIT_ASSERT( path.Path() == NULL );
123 CPPUNIT_ASSERT( string(pathName) == path.Path() );
131 CPPUNIT_ASSERT( string(pathName) == path.Path() );
[all...]
/haiku/src/apps/haikudepot/server/
H A DAbstractServerProcess.cpp111 if (-1 == stat(metaDataPath.Path(), &s)) {
129 metaDataPath.Path());
168 "were extracted", path.Path());
194 const char* pathStr = path.Path();
199 path.Path());
253 && _LooksLikeGzip(url.Path())
254 && !_LooksLikeGzip(targetFilePath.Path()))
269 if (rename(temporaryFilePath.Path(), targetFilePath.Path()) != 0) {
271 Name(), temporaryFilePath.Path(), targetFilePat
[all...]
/haiku/src/apps/debuganalyzer/util/
H A DDataSource.cpp68 if (fPath.Path() == NULL)
71 name = fPath.Path();
79 return file.SetTo(fPath.Path(), B_READ_ONLY);
113 name = path.Path();
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport_settings.cpp17 #include <Path.h>
31 BFile file(path.Path(), B_READ_ONLY);
52 ret = create_directory(path.Path(), 0777);
54 BFile file(path.Path(),
/haiku/src/tests/servers/app/code_to_name/
H A Dcode_to_name.cpp11 #include <Path.h>
48 FILE* file = fopen(path.Path(), "r");
100 puts(path.Path());
101 if (strstr(path.Path(), "headers/private/app/ServerProtocol.h") != NULL) {
/haiku/src/preferences/screensaver/
H A DScreenSaverItem.h22 const char* Path() const { return fPath.String(); } function in class:ScreenSaverItem

Completed in 178 milliseconds

1234567891011>>