Searched refs:path (Results 226 - 250 of 1289) sorted by relevance

1234567891011>>

/haiku-fatelf/src/tests/servers/app/painter/
H A DShapeConverter.h27 ShapeConverter(agg::path_storage* path);
30 void SetPath(agg::path_storage* path);
/haiku-fatelf/src/tests/system/benchmarks/libMicro/
H A Drealpath.c76 char path[MAXPATHLEN]; local
79 if (realpath(optf, path) == NULL)
/haiku-fatelf/src/apps/terminal/
H A DPrefHandler.cpp82 BPath path; local
83 GetDefaultPath(path);
84 OpenText(path.Path());
131 PrefHandler::GetDefaultPath(BPath& path) argument
134 status = find_directory(B_USER_SETTINGS_DIRECTORY, &path, true);
138 status = path.Append("Terminal");
143 status = create_directory(path.Path(), 0755);
147 return path.Append("Default");
152 PrefHandler::OpenText(const char *path) argument
154 return _LoadFromTextFile(path);
161 BPath path; local
168 SaveAsText(const char *path, const char *mimetype, const char *signature) argument
388 _LoadFromTextFile(const char * path) argument
[all...]
H A DPrefHandler.h42 status_t OpenText(const char *path);
44 void SaveAsText(const char *path, const char *minmtype = NULL,
61 static status_t GetDefaultPath(BPath& path);
66 status_t _LoadFromTextFile(const char * path);
/haiku-fatelf/src/apps/debugger/files/
H A DFileManager.cpp136 LocatableFile* GetFile(const BString& path) argument
140 _SplitPath(path, directoryPath, name);
148 // parent not yet located -- try locate with the entry's path
149 BString path; local
150 file->GetPath(path);
151 _LocateEntry(file, path, true, true);
163 void EntryLocated(const BString& path, const BString& locatedPath) argument
167 _SplitPath(path, directory, name);
257 // construct the located entry path
324 LocatableDirectory* _GetDirectory(const BString& path) argument
392 _NormalizePath(const BString& path, BString& _normalizedPath) argument
443 _SplitPath(const BString& path, BString& _directory, BString& _name) argument
450 _SplitNormalizedPath(const BString& path, BString& _directory, BString& _name) argument
483 BString path; member in struct:FileManager::SourceFileEntry
487 SourceFileEntry(FileManager* manager, const BString& path) argument
606 GetTargetFile(const BString& path) argument
614 TargetEntryLocated(const BString& path, const BString& locatedPath) argument
631 GetSourceFile(const BString& path) argument
639 SourceEntryLocated(const BString& path, const BString& locatedPath) argument
652 BString path; local
691 _LookupSourceFile(const BString& path) argument
[all...]
/haiku-fatelf/src/add-ons/index_server/
H A DIndexServerAddOn.cpp55 BPath path(&rootDir);
56 path.Append(kIndexServerDirectory);
57 path.Append(fName);
58 path.Append(kAnalyserStatusFile);
60 BFile file(path.Path(), B_READ_ONLY);
86 BPath path(&rootDir);
87 path.Append(kIndexServerDirectory);
88 path.Append(fName);
89 if (create_directory(path.Path(), 777) != B_OK)
91 path
[all...]
/haiku-fatelf/src/apps/icon-o-matic/shape/commands/
H A DRemovePathsCommand.cpp42 fInfos[i].path = paths[i];
60 if (fInfos[i].path)
61 fInfos[i].path->Release();
80 if (!fInfos[i].path)
82 fContainer->RemovePath(fInfos[i].path);
86 shape->Paths()->RemovePath(fInfos[i].path);
102 if (!fInfos[i].path)
104 if (!fContainer->AddPath(fInfos[i].path, fInfos[i].index)) {
108 fContainer->RemovePath(fInfos[j].path);
112 shape->Paths()->RemovePath(fInfos[j].path);
[all...]
H A DCleanUpPathCommand.h17 CleanUpPathCommand(VectorPath* path);
H A DReversePathCommand.h16 ReversePathCommand(VectorPath* path);
H A DRotatePathIndicesCommand.h12 RotatePathIndicesCommand(VectorPath* path,
/haiku-fatelf/src/apps/launchbox/
H A Dsupport.cpp27 BPath path; local
28 if ((ret = find_directory(B_USER_SETTINGS_DIRECTORY, &path)) == B_OK) {
31 ret = path.Append( folder );
32 if (ret == B_OK && (ret = path.Append(fileName)) == B_OK ) {
33 BFile file(path.Path(), B_READ_ONLY);
50 BPath path; local
51 if ((ret = find_directory(B_USER_SETTINGS_DIRECTORY, &path)) == B_OK) {
53 if (folder && (ret = path.Append(folder)) == B_OK)
54 ret = create_directory(path.Path(), 0777);
55 if (ret == B_OK && (ret = path
[all...]
/haiku-fatelf/src/preferences/notifications/
H A DDisplayView.cpp97 BPath path; local
99 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) != B_OK)
102 path.Append(kSettingsDirectory);
104 if (create_directory(path.Path(), 0755) != B_OK) {
114 path.Append(kDisplaySettings);
116 BFile file(path.Path(), B_READ_ONLY);
149 BPath path; local
151 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) != B_OK)
154 path.Append(kSettingsDirectory);
155 path
[all...]
/haiku-fatelf/src/system/kernel/fs/
H A DKPath.cpp6 /** A simple class wrapping a path. Has a fixed-sized buffer. */
33 KPath::KPath(const char* path, bool normalize, size_t bufferSize) argument
40 SetTo(path, normalize, bufferSize);
62 KPath::SetTo(const char* path, bool normalize, size_t bufferSize, argument
86 return SetPath(path, normalize, traverseLeafLink);
110 KPath::SetPath(const char* path, bool normalize, bool traverseLeafLink) argument
115 if (path != NULL) {
117 // normalize path
118 status_t error = vfs_normalize_path(path, fBuffer, fBufferSize,
127 // don't normalize path
320 operator =(const char* path) argument
[all...]
/haiku-fatelf/src/tests/system/kernel/device_manager/playground/
H A DKPath.cpp6 /** A simple class wrapping a path. Has a fixed-sized buffer. */
32 KPath::KPath(const char* path, bool normalize, size_t bufferSize) argument
39 SetTo(path, normalize, bufferSize);
61 KPath::SetTo(const char* path, bool normalize, size_t bufferSize) argument
84 return SetPath(path, normalize);
108 KPath::SetPath(const char *path, bool normalize) argument
113 if (path) {
115 // normalize path
117 status_t error = normalizedPath.SetTo(path, NULL, true);
126 // don't normalize path
279 operator =(const char* path) argument
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/kernelland_emu/
H A Dmodule.cpp52 status_t Load(const char *path, const char *dirPath);
101 Module *FindModule(const char *path);
114 status_t GetModule(const char *path, module_info **infop);
115 status_t PutModule(const char *path);
138 status_t _GetAddOn(const char *path, ModuleAddOn **addon);
166 ModuleAddOn::Load(const char *path, const char *dirPath) argument
168 TRACE(("ModuleAddOn::Load(): searching module `%s'...\n", path));
170 status_t error = (path && dirPath ? B_OK : B_BAD_VALUE);
172 // get the module dir relative path
175 if (absPath.SetTo(path, NUL
376 FindModule(const char *path) argument
405 GetModule(const char *path, module_info **_info) argument
442 PutModule(const char *path) argument
495 BPath path; local
613 BPath path; local
665 BPath path; local
745 get_module(const char *path, module_info **_info) argument
753 put_module(const char *path) argument
[all...]
/haiku-fatelf/src/bin/network/wget/tests/
H A DFTPServer.pm63 my ($conn, $cmd, $path) = @_;
67 my $new_path = FTPPaths::path_merge($conn->{'dir'}, $path);
69 # Split the path into its component parts and process each separately.
81 my ($conn, $cmd, $path) = @_;
87 $path =~ s/^-[a-zA-Z0-9]+\s?//;
93 # Parse the first elements of the path until we find the appropriate
97 $dir = FTPPaths::path_merge($dir, $path);
108 # Open a path back to the client.
246 my ($conn, $cmd, $path) = @_;
248 $path
[all...]
/haiku-fatelf/src/system/runtime_loader/
H A Druntime_loader.cpp30 const char *path = NULL; local
34 path = getenv("PATH");
37 path = getenv("LIBRARY_PATH");
40 path = getenv("ADDON_PATH");
47 if (path != NULL)
48 return path;
88 const char *programPath, const char *compatibilitySubDir, char *path,
95 // construct the path
97 char *buffer = path;
104 // Replace %A with current app folder path (o
87 try_open_executable(const char *dir, int dirLength, const char *name, const char *programPath, const char *compatibilitySubDir, char *path, size_t pathLength) argument
301 char path[B_PATH_NAME_LENGTH]; local
[all...]
/haiku-fatelf/headers/build/host/freebsd/sys/
H A Dstat.h17 int utimensat(int fd, const char* path, const struct timespec times[2],
/haiku-fatelf/headers/os/kernel/
H A Dfs_volume.h28 extern status_t fs_unmount_volume(const char *path, uint32 flags);
/haiku-fatelf/headers/posix/
H A Ddlfcn.h37 extern void *dlopen(const char *path, int mode);
/haiku-fatelf/headers/private/kernel/
H A Dkdevice_manager.h20 status_t device_manager_probe(const char *path, uint32 updateCycle);
/haiku-fatelf/headers/private/mail/
H A DMailPrivate.h19 status_t WriteMessageFile(const BMessage& archive, const BPath& path,
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/server/
H A DPath.h13 status_t SetTo(const char* path,
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/
H A DPackageSymlink.h17 status_t SetSymlinkPath(const char* path);
/haiku-fatelf/src/apps/icon-o-matic/import_export/svg/
H A DSVGImporter.cpp47 BPath path(ref);
48 ret = path.InitCheck();
53 BFile file(path.Path(), B_READ_ONLY);
73 parser.parse(path.Path());

Completed in 325 milliseconds

1234567891011>>