Searched refs:path (Results 101 - 125 of 1236) sorted by relevance

1234567891011>>

/haiku/src/apps/icon-o-matic/gui/
H A DPathListView.cpp57 path(NULL),
126 if (p == path)
129 if (path) {
130 path->RemoveObserver(this);
131 path->ReleaseReference();
134 path = p;
136 if (path) {
137 path->AcquireReference();
138 path->AddObserver(this);
146 SetText(path
179 VectorPath* path; member in class:PathListItem
206 ItemAdded(VectorPath* path, int32 index) argument
212 ItemRemoved(VectorPath* path) argument
347 VectorPath* path = item->path; local
375 VectorPath* path; local
384 VectorPath* path; local
401 VectorPath* path; local
442 VectorPath* path; local
539 VectorPath* path = new(std::nothrow) VectorPath(&pathArchive); local
656 VectorPath* path = dynamic_cast<VectorPath*>(selectable); local
684 ItemAdded(VectorPath* path, int32 index) argument
701 ItemRemoved(VectorPath* path) argument
846 _AddPath(VectorPath* path, int32 index) argument
866 _RemovePath(VectorPath* path) argument
924 _SetPathMarked(VectorPath* path, bool marked) argument
[all...]
/haiku/headers/os/storage/
H A DDirectory.h26 BDirectory(const char *path);
27 BDirectory(const BDirectory *dir, const char *path);
34 status_t SetTo(const char *path);
35 status_t SetTo(const BDirectory *dir, const char *path);
41 status_t FindEntry(const char *path, BEntry *entry,
44 bool Contains(const char *path, int32 nodeFlags = B_ANY_NODE) const;
47 status_t GetStatFor(const char *path, struct stat *st) const;
56 status_t CreateDirectory(const char *path, BDirectory *dir);
57 status_t CreateFile(const char *path, BFile *file,
59 status_t CreateSymLink(const char *path, cons
[all...]
H A DPath.h23 BPath(const BPath& path);
38 status_t SetTo(const char* path, const char* leaf = NULL,
45 status_t Append(const char* path, bool normalize = false);
49 status_t GetParent(BPath* path) const;
53 bool operator==(const char* path) const;
55 bool operator!=(const char* path) const;
57 BPath& operator=(const char* path);
73 status_t _SetPath(const char* path);
74 static bool _MustNormalize(const char* path, status_t* _error);
79 // Pointer to the path strin
[all...]
/haiku/src/servers/midi/
H A DDeviceWatcher.cpp154 const char* path; local
155 if (message->FindString("path", &path) != B_OK)
160 _AddDevice(path);
164 _RemoveDevice(path);
184 DeviceWatcher::_ScanDevices(const char* path) argument
186 TRACE(("DeviceWatcher::_ScanDevices(\"%s\");\n", path));
188 BDirectory dir(path);
205 DeviceWatcher::_AddDevice(const char* path) argument
207 TRACE(("DeviceWatcher::_AddDevice(\"%s\");\n", path));
268 _RemoveDevice(const char* path) argument
[all...]
H A DDeviceWatcher.h34 void _ScanDevices(const char* path);
35 void _AddDevice(const char* path);
36 void _RemoveDevice(const char* path);
/haiku/src/kits/debugger/model/
H A DStackFrameValueInfos.cpp19 TypeComponentPath* path; member in struct:StackFrameValueInfos::Key
21 Key(ObjectID* variable, TypeComponentPath* path) argument
24 path(path)
30 return variable->HashValue() ^ path->HashValue();
35 return *variable == *other.variable && *path == *other.path;
45 InfoEntry(ObjectID* variable, TypeComponentPath* path) argument
47 Key(variable, path),
52 path
132 GetInfo(ObjectID* variable, const TypeComponentPath* path, Type** _type, ValueLocation** _location) const argument
164 SetInfo(ObjectID* variable, TypeComponentPath* path, Type* type, ValueLocation* location) argument
[all...]
/haiku/src/system/libroot/posix/musl/misc/
H A Dnftw.c23 static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h) argument
25 size_t l = strlen(path), j = l && path[l-1]=='/' ? l-1 : l;
34 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) {
35 if (!(flags & FTW_PHYS) && errno==ENOENT && !lstat(path, &st))
63 for (k=j; k && path[k]=='/'; k--);
64 for (; k && path[k-1]!='/'; k--);
69 dfd = open(path, O_RDONLY);
75 if (!(flags & FTW_DEPTH) && (r=fn(path,
123 nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags) argument
[all...]
/haiku/headers/private/kernel/fs/
H A DKPath.h27 KPath(const char* path, int32 flags = DEFAULT,
32 status_t SetTo(const char* path, int32 flags = DEFAULT,
38 status_t SetPath(const char* path,
61 KPath& operator=(const char* path);
64 bool operator==(const char* path) const;
66 bool operator!=(const char* path) const;
71 status_t _Normalize(const char* path,
/haiku/src/apps/text_search/
H A DChangesIterator.cpp86 ChangesIterator::EntryAdded(const char* path) argument
88 HashString key(path);
92 TRACE("added: %s\n", path);
99 ChangesIterator::EntryRemoved(const char* path) argument
101 HashString key(path);
103 TRACE("ignoring: %s\n", path);
110 ChangesIterator::EntryChanged(const char* path) argument
112 HashString key(path);
116 TRACE("changed: %s\n", path);
H A DChangesIterator.h27 void EntryAdded(const char* path);
28 void EntryRemoved(const char* path);
29 void EntryChanged(const char* path);
/haiku/src/kits/storage/
H A DFindDirectory.cpp16 //! Returns a path of a directory specified by a directory_which constant.
18 \param path a BPath object to be initialized to the directory's path
24 - \c B_BAD_VALUE: \c NULL \a path.
28 find_directory(directory_which which, BPath* path, bool createIt, argument
31 if (path == NULL)
42 error = path->SetTo(buffer);
H A DSymLink.cpp59 // to by the supplied path name.
60 BSymLink::BSymLink(const char* path) argument
62 BNode(path)
68 // to by the supplied path name relative to the specified BDirectory.
69 BSymLink::BSymLink(const BDirectory* dir, const char* path) argument
71 BNode(dir, path)
106 // Combines a directory path and the contents of this symbolic link to form an
107 // absolute path.
109 BSymLink::MakeLinkedPath(const char* dirPath, BPath* path) argument
113 if (dirPath == NULL || path
128 MakeLinkedPath(const BDirectory* dir, BPath* path) argument
[all...]
H A DAddOnImage.cpp25 AddOnImage::Load(const char* path) argument
28 status_t error = (path ? B_OK : B_BAD_VALUE);
30 image_id id = load_add_on(path);
H A DDirectory.cpp69 BDirectory::BDirectory(const char* path) argument
73 SetTo(path);
77 BDirectory::BDirectory(const BDirectory* dir, const char* path) argument
81 SetTo(dir, path);
162 BDirectory::SetTo(const char* path) argument
165 status_t error = _SetTo(-1, path, true);
170 fDirFd = _kern_open_dir(-1, path);
185 BDirectory::SetTo(const BDirectory* dir, const char* path) argument
187 if (!dir || !path || BPrivate::Storage::is_absolute_path(path)) {
248 FindEntry(const char* path, BEntry* entry, bool traverse) const argument
273 Contains(const char* path, int32 nodeFlags) const argument
413 CreateDirectory(const char* path, BDirectory* dir) argument
436 CreateFile(const char* path, BFile* file, bool failIfExists) argument
458 CreateSymLink(const char* path, const char* linkToPath, BSymLink* link) argument
494 _GetStatFor(const char* path, struct stat* st) const argument
511 _GetStatFor(const char* path, struct stat_beos* st) const argument
556 create_directory(const char* path, mode_t mode) argument
[all...]
/haiku/src/preferences/sounds/
H A DHEventList.h27 const char* path);
33 void SetPath(const char* path);
52 void SetPath(const char* path);
/haiku/src/tests/system/kernel/
H A Dpath_resolution_test.cpp13 time_lstat(const char* path) argument
15 printf("%-60s ...", path);
22 lstat(path, &st);
/haiku/src/tests/kits/interface/bshelf/Container/
H A DContainerApplication.cpp37 BPath path; local
39 if (find_directory (B_USER_SETTINGS_DIRECTORY, &path, true) != B_OK) return; // path: /boot/home/config/settings
40 path.Append (BACKSTORE_PATH);
42 path.GetParent(&parent); // lock for parent
46 BEntry entry(path.Path());
60 BPath path; local
64 if (find_directory (B_USER_SETTINGS_DIRECTORY, &path, true) != B_OK) // path: /boot/home/config/settings
67 path
[all...]
/haiku/headers/private/kernel/
H A Dkmodule.h29 extern status_t unload_module(const char *path);
30 extern status_t load_module(const char *path, module_info ***_modules);
35 extern status_t module_get_path(const char* moduleName, char** path);
/haiku/src/bin/filteredquery/
H A Dquery.cpp32 BPath path; member in struct:folder_params
41 BPath& wantedPath = params->path;
44 BPath path(ref);
46 if (!strncmp(path.Path(), wantedPath.Path(),
50 if (path.GetParent(&path) == B_OK &&
51 path == wantedPath)
66 printf("usage: %s [ -e ] [ -p <path-to-search> ] [ -s ] [ -a || -v <path-to-volume> ] expression\n"
68 " -p <path>\tsearc
109 BPath path; local
[all...]
/haiku/src/tools/fs_shell/
H A DKPath.cpp6 /** A simple class wrapping a path. Has a fixed-sized buffer. */
32 KPath::KPath(const char* path, bool normalize, fssh_size_t bufferSize) argument
39 SetTo(path, normalize, bufferSize);
61 KPath::SetTo(const char* path, bool normalize, fssh_size_t bufferSize) argument
84 return SetPath(path, normalize);
96 KPath::SetPath(const char *path, bool normalize) argument
101 if (path) {
103 // normalize path
104 fssh_status_t error = vfs_normalize_path(path, fBuffer, fBufferSize,
112 // don't normalize path
247 operator =(const char* path) argument
[all...]
/haiku/src/build/libbe/storage/
H A DDirectory.cpp66 BDirectory::BDirectory(const char* path) argument
70 SetTo(path);
74 BDirectory::BDirectory(const BDirectory* dir, const char* path) argument
78 SetTo(dir, path);
157 BDirectory::SetTo(const char* path) argument
160 status_t error = _SetTo(-1, path, true);
165 error = set_dir_fd(_kern_open_dir(-1, path));
179 BDirectory::SetTo(const BDirectory* dir, const char* path) argument
181 if (!dir || !path || BPrivate::Storage::is_absolute_path(path)) {
228 FindEntry(const char* path, BEntry* entry, bool traverse) const argument
253 Contains(const char* path, int32 nodeFlags) const argument
393 CreateDirectory(const char* path, BDirectory* dir) argument
416 CreateFile(const char* path, BFile* file, bool failIfExists) argument
438 CreateSymLink(const char* path, const char* linkToPath, BSymLink* link) argument
474 GetStatFor(const char* path, struct stat* st) const argument
539 create_directory(const char* path, mode_t mode) argument
[all...]
/haiku/headers/posix/
H A Dutime.h22 int utime(const char *path, const struct utimbuf *buffer);
/haiku/headers/private/fs_shell/
H A Dfssh_fs_volume.h27 extern fssh_status_t fssh_fs_unmount_volume(const char *path,
/haiku/src/add-ons/input_server/devices/wacom/
H A DPointingDeviceFactory.h16 const char* path);
/haiku/src/add-ons/print/drivers/postscript/
H A DPSEntry.cpp49 BPath path; local
50 if (find_directory(B_SYSTEM_DATA_DIRECTORY, &path) == B_OK
51 && path.Append("ppd") == B_OK
52 && BEntry(path.Path()).Exists()) {

Completed in 206 milliseconds

1234567891011>>