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

1234567891011>>

/haiku/src/libs/gnu/
H A Dxattr.cpp112 Node(const char* path, bool traverseSymlinks) argument
114 fFileFD = open(path, O_RDONLY | (traverseSymlinks ? 0 : O_NOTRAVERSE));
284 getxattr(const char* path, const char* attribute, void* buffer, size_t size) argument
286 return Node(path, true).Get(attribute, buffer, size);
291 lgetxattr(const char* path, const char* attribute, void* buffer, size_t size) argument
293 return Node(path, false).Get(attribute, buffer, size);
305 setxattr(const char* path, const char* attribute, const void* buffer, argument
308 return Node(path, true).Set(attribute, flags, buffer, size);
313 lsetxattr(const char* path, const char* attribute, const void* buffer, argument
316 return Node(path, fals
329 removexattr(const char* path, const char* attribute) argument
336 lremovexattr(const char* path, const char* attribute) argument
350 listxattr(const char* path, char* buffer, size_t size) argument
357 llistxattr(const char* path, char* buffer, size_t size) argument
[all...]
/haiku/src/kits/package/
H A DFetchUtils.h19 static bool IsDownloadCompleted(const char* path);
22 static status_t MarkDownloadComplete(const char* path);
/haiku/src/add-ons/kernel/file_systems/packagefs/volume/
H A DPackageSettings.cpp83 PackageSettingsItem::AddEntry(const char* path, Entry*& _entry) argument
87 while (*path != '\0') {
88 while (*path == '/') {
89 path++;
93 const char* componentEnd = strchr(path, '/');
95 componentEnd = path + strlen(path);
98 if (!name.SetTo(path, componentEnd - path))
109 path
204 KPath path; local
[all...]
/haiku/src/apps/icon-o-matic/shape/commands/
H A DUnassignPathCommand.cpp24 VectorPath* path)
27 fPath(path),
50 // remove path from shape
61 // add path to shape
72 name << B_TRANSLATE("Unassign path");
23 UnassignPathCommand(PathSourceShape* shape, VectorPath* path) argument
H A DCleanUpPathCommand.h17 CleanUpPathCommand(VectorPath* path);
H A DReversePathCommand.h16 ReversePathCommand(VectorPath* path);
H A DRotatePathIndicesCommand.h12 RotatePathIndicesCommand(VectorPath* path,
/haiku/src/apps/haikudepot/server/
H A DServerPkgDataUpdateProcess.h34 status_t GetStandardMetaDataPath(BPath& path) const;
40 status_t GetLocalPath(BPath& path) const;
/haiku/src/kits/debugger/files/
H A DFileManager.cpp146 LocatableFile* GetFile(const BString& path) argument
150 _SplitPath(path, directoryPath, name);
158 // parent not yet located -- try locate with the entry's path
159 BString path; local
160 file->GetPath(path);
161 _LocateEntry(file, path, true, true);
173 void EntryLocated(const BString& path, const BString& locatedPath) argument
177 _SplitPath(path, directory, name);
262 // construct the located entry path
330 LocatableDirectory* _GetDirectory(const BString& path) argument
398 _NormalizePath(const BString& path, BString& _normalizedPath) argument
449 _SplitPath(const BString& path, BString& _directory, BString& _name) argument
456 _SplitNormalizedPath(const BString& path, BString& _directory, BString& _name) argument
488 BString path; member in struct:FileManager::SourceFileEntry
492 SourceFileEntry(FileManager* manager, const BString& path) argument
618 GetTargetFile(const BString& path) argument
626 TargetEntryLocated(const BString& path, const BString& locatedPath) argument
646 GetSourceFile(const BString& path) argument
656 SourceEntryLocated(const BString& path, const BString& locatedPath) argument
686 BString path; local
770 _LookupSourceFile(const BString& path) argument
[all...]
/haiku/src/preferences/sounds/
H A DHWindow.cpp59 BPath path; local
60 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) == B_OK) {
61 path.Append(kSettingsFile);
62 BFile file(path.Path(), B_READ_ONLY);
81 BPath path; local
83 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) == B_OK) {
84 path.Append(kSettingsFile);
85 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE);
118 BPath path(row->Path());
119 if (path
187 const char* path = row->Path(); local
241 const char* path = row->Path(); local
400 BPath path; local
[all...]
/haiku/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/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/src/system/kernel/fs/
H A DKPath.cpp8 /*! A simple class wrapping a path. Has a fixed-sized buffer. */
45 KPath::KPath(const char* path, int32 flags, size_t bufferSize) argument
55 SetTo(path, flags, bufferSize);
80 KPath::SetTo(const char* path, int32 flags, size_t bufferSize) argument
95 fIsNull = path == NULL;
97 if (path != NULL || !fLazy) {
103 return SetPath(path, flags);
138 /*! \brief Sets the buffer to \a path.
145 KPath::SetPath(const char* path, int32 flags) argument
147 if (path
382 operator =(const char* path) argument
461 _Normalize(const char* path, bool traverseLeafLink) argument
[all...]
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dmodule.cpp55 status_t Load(const char *path, const char *dirPath);
104 Module *FindModule(const char *path);
117 status_t GetModule(const char *path, module_info **infop);
118 status_t PutModule(const char *path);
141 status_t _GetAddOn(const char *path, ModuleAddOn **addon);
169 ModuleAddOn::Load(const char *path, const char *dirPath) argument
171 TRACE(("ModuleAddOn::Load(): searching module `%s'...\n", path));
173 status_t error = (path && dirPath ? B_OK : B_BAD_VALUE);
175 // get the module dir relative path
178 if (absPath.SetTo(path, NUL
379 FindModule(const char *path) argument
408 GetModule(const char *path, module_info **_info) argument
445 PutModule(const char *path) argument
498 BPath path; local
616 BPath path; local
668 BPath path; local
748 get_module(const char *path, module_info **_info) argument
756 put_module(const char *path) argument
[all...]
/haiku/src/tools/fs_shell/
H A Dfuse.cpp138 fuse_getattr(const char* path, struct stat* stbuf) argument
142 fssh_status_t status = _kern_read_stat(-1, path, false, &f_stbuf,
152 fuse_access(const char* path, int mask) argument
155 return _ERR(_kern_access(path, mask));
160 fuse_readlink(const char* path, char* buffer, size_t size) argument
164 fssh_status_t st = _kern_read_link(-1, path, buffer, &n_size);
172 fuse_readdir(const char* path, void* buf, fuse_fill_dir_t filler, argument
176 int dfp = _kern_open_dir(-1, path);
204 fuse_mknod(const char* path, mode_t mode, dev_t rdev) argument
208 int fd = _kern_open(-1, path,
221 fuse_mkdir(const char* path, mode_t mode) argument
238 fuse_unlink(const char* path) argument
246 fuse_rmdir(const char* path) argument
270 fuse_chmod(const char* path, mode_t mode) argument
281 fuse_chown(const char* path, uid_t uid, gid_t gid) argument
293 fuse_open(const char* path, struct fuse_file_info* fi) argument
309 fuse_read(const char* path, char* buf, size_t size, off_t offset, struct fuse_file_info* fi) argument
327 fuse_write(const char* path, const char* buf, size_t size, off_t offset, struct fuse_file_info* fi) argument
345 fuse_truncate(const char *path, off_t off) argument
[all...]
/haiku/headers/build/host/freebsd/sys/
H A Dstat.h17 int utimensat(int fd, const char* path, const struct timespec times[2],
/haiku/headers/os/kernel/
H A Dfs_volume.h28 extern status_t fs_unmount_volume(const char *path, uint32 flags);
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DPath.h13 status_t SetTo(const char* path,
/haiku/src/bin/mkfs/
H A DFsCreator.h19 FsCreator(const char* path, const char* type,
/haiku/src/servers/bluetooth/
H A DHCIControllerAccessor.h14 HCIControllerAccessor(BPath* path);
H A DHCITransportAccessor.h18 HCITransportAccessor(BPath* path);
/haiku/src/tests/servers/app/painter/
H A DShapeConverter.cpp21 ShapeConverter::ShapeConverter(agg::path_storage* path) argument
24 fPath(path)
30 ShapeConverter::SetPath(agg::path_storage* path) argument
32 fPath = path;
/haiku/src/tools/checkstyle/
H A Dtest.cpp53 #include <dir/path.h>
/haiku/src/add-ons/kernel/file_systems/packagefs/package/
H A DPackageSymlink.h17 void SetSymlinkPath(const String& path);
/haiku/src/add-ons/kernel/drivers/display/
H A Ddisplay.cpp30 display_open(void *_cookie, const char* path, int flags, void** cookie) argument
92 const char *path; local
93 if (gDeviceManager->get_attr_string(node, ACPI_DEVICE_PATH_ITEM, &path,
95 || gAcpi->get_handle(NULL, path, &device->acpi_device) != B_OK) {

Completed in 344 milliseconds

1234567891011>>