Searched refs:path (Results 1 - 25 of 1289) sorted by last modified time

1234567891011>>

/haiku-fatelf/headers/os/drivers/
H A DACPI.h227 status_t (*get_device_hid)(const char *path, char *hid,
229 uint32 (*get_object_type)(const char *path);
230 status_t (*get_object)(const char *path,
232 status_t (*get_object_typed)(const char *path,
285 #define ACPI_DEVICE_PATH_ITEM "acpi/path"
314 status_t (*get_object)(acpi_device device, const char *path,
/haiku-fatelf/src/add-ons/kernel/network/stack/
H A Dstack.cpp741 scan_modules(const char* path) argument
743 void* cookie = open_module_list(path);
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DInode.cpp429 BString path; local
446 path.Prepend(sub);
452 path.Prepend("/");
453 path.Prepend(inode->Name());
457 fPath = strdup(path.String());
479 BString path;
482 path.Append(Path(source));
485 path.Prepend("/");
486 path.Prepend(root);
488 return create_directory(path
[all...]
H A DInode.h67 virtual status_t CopyTo(const char* path, bool fullPath = true,
135 virtual status_t CopyTo(const char *path, bool fullPath = true,
147 virtual status_t CopyTo(const char *path, bool fullPath = true,
161 virtual status_t CopyTo(const char *path, bool fullPath = true,
190 virtual status_t CopyTo(const char *path, bool fullPath = true,
/haiku-fatelf/src/kits/print/
H A DPrinterDriverAddOn.cpp29 BPath path; local
31 result = FindPathToDriver(driver, &path);
35 fAddOnID = ::load_add_on(path.Path());
159 PrinterDriverAddOn::FindPathToDriver(const char* driver, BPath* path) argument
163 kPrinterDriverFolderName, *path);
168 kPrinterDriverFolderName, *path);
173 kPrinterDriverFolderName, *path);
/haiku-fatelf/src/kits/tracker/
H A DSlowContextPopup.cpp295 BPath path; local
296 if (find_directory(B_TRASH_DIRECTORY, &path) == B_OK) {
297 BEntry entry(path.Path());
H A DTracker.cpp307 BPath path; local
310 && entry.GetPath(&path) == B_OK) {
336 if (!strcmp(target,path.Path())) {
342 message.AddString("paths", path.Path());
343 message.AddInt8(path.Path(), flags);
1294 const char* path; local
1295 for (int32 i = 0; message.FindString("paths", i, &path) == B_OK; i++) {
1296 if (strncmp(path, pathFilter, filterLength))
1299 BEntry entry(path, true);
1304 for (int32 j = 0; message.FindInt8(path,
[all...]
H A DTrackerScripting.cpp54 Find a window for a path
74 "create Folder to path # creates a new folder",
/haiku-fatelf/src/libs/icon/shape/
H A DVectorPath.cpp50 get_path_storage(agg::path_storage& path, const control_point* points, argument
54 path.move_to(points[0].point.x, points[0].point.y);
57 path.curve4(points[i - 1].point_out.x, points[i - 1].point_out.y,
63 path.curve4(
67 path.close_polygon();
98 IconObject("<path>"),
165 if (archive->FindBool("path closed", &fClosed) < B_OK)
204 // archived path
280 ret = into->AddBool("path closed", fClosed);
677 // generate a curve for each segment of the path
794 agg::path_storage path; local
[all...]
/haiku-fatelf/src/preferences/backgrounds/
H A DBackgroundImage.cpp113 const char* path; local
122 if (container.FindString(kBackgroundImageInfoPath, index, &path)
124 if (strcmp(path, "")) {
125 BPath bpath(path);
559 Image::Image(BPath path) argument
562 fPath(path)
565 fName = path.Leaf();
H A DBackgroundImage.h164 Image(BPath path);
/haiku-fatelf/src/system/kernel/fs/
H A Dvfs.cpp111 // The absolute maximum path length (for getcwd() - this is not depending
130 and thus making the access path vnode->mount->root_vnode->covers->mount->...
329 static status_t common_path_read_stat(int fd, char* path, bool traverseLeafLink,
332 static status_t vnode_path_to_vnode(struct vnode* vnode, char* path,
337 static status_t fd_and_path_to_vnode(int fd, char* path, bool traverseLeafLink,
343 static status_t fs_unmount(char* path, dev_t mountID, uint32 flags,
1987 /*! \brief Gets the directory path and leaf name for a given path.
1989 The supplied \a path is transformed to refer to the directory part of
1990 the entry identified by the original path, an
2004 get_dir_path_and_leaf(char* path, char* filename) argument
2113 vnode_path_to_vnode(struct vnode* vnode, char* path, bool traverseLeafLink, int count, struct io_context* ioContext, struct vnode** _vnode, ino_t* _parentID) argument
2297 vnode_path_to_vnode(struct vnode* vnode, char* path, bool traverseLeafLink, int count, bool kernel, struct vnode** _vnode, ino_t* _parentID) argument
2306 path_to_vnode(char* path, bool traverseLink, struct vnode** _vnode, ino_t* _parentID, bool kernel) argument
2358 path_to_dir_vnode(char* path, struct vnode** _vnode, char* filename, bool kernel) argument
2394 fd_and_path_to_dir_vnode(int fd, char* path, struct vnode** _vnode, char* filename, bool kernel) argument
2437 vnode_and_path_to_dir_vnode(struct vnode* vnode, char* path, struct vnode** _vnode, char* filename, bool kernel) argument
2565 char* path = buffer; local
2760 fd_and_path_to_vnode(int fd, char* path, bool traverseLeafLink, struct vnode** _vnode, ino_t* _parentID, bool kernel) argument
2866 normalize_path(char* path, size_t pathSize, bool traverseLink, bool kernel) argument
3120 char* path = debug_resolve_vnode_path(vnode, (char*)buffer, local
4051 vfs_get_vnode_from_path(const char* path, bool kernel, struct vnode** _vnode) argument
4147 vfs_get_fs_node_from_path(fs_volume* volume, const char* path, bool traverseLeafLink, bool kernel, void** _node) argument
4196 vfs_read_stat(int fd, const char* path, bool traverseLeafLink, struct stat* stat, bool kernel) argument
4244 char* path; local
4343 vfs_normalize_path(const char* path, char* buffer, size_t bufferSize, bool traverseLink, bool kernel) argument
4382 vfs_create_special_node(const char* path, fs_vnode* subVnode, mode_t mode, uint32 flags, bool kernel, fs_vnode* _superVnode, struct vnode** _createdVnode) argument
4673 vfs_entry_ref_to_path(dev_t device, ino_t inode, const char* leaf, char* path, size_t pathLength) argument
5381 file_create(int fd, char* path, int openMode, int perms, bool kernel) argument
5438 file_open(int fd, char* path, int openMode, bool kernel) argument
5654 dir_create(int fd, char* path, int perms, bool kernel) argument
5709 dir_open(int fd, char* path, bool kernel) argument
5861 dir_remove(int fd, char* path, bool kernel) argument
6133 common_read_link(int fd, char* path, char* buffer, size_t* _bufferSize, bool kernel) argument
6154 common_create_symlink(int fd, char* path, const char* toPath, int mode, bool kernel) argument
6183 common_create_link(int pathFD, char* path, int toFD, char* toPath, bool traverseLeafLink, bool kernel) argument
6224 common_unlink(int fd, char* path, bool kernel) argument
6249 common_access(int fd, char* path, int mode, bool effectiveUserGroup, bool kernel) argument
6272 common_rename(int fd, char* path, int newFD, char* newPath, bool kernel) argument
6361 common_path_read_stat(int fd, char* path, bool traverseLeafLink, struct stat* stat, bool kernel) argument
6388 common_path_write_stat(int fd, char* path, bool traverseLeafLink, const struct stat* stat, int statMask, bool kernel) argument
6412 attr_dir_open(int fd, char* path, bool traverseLeafLink, bool kernel) argument
6488 attr_create(int fd, char* path, const char* name, uint32 type, int openMode, bool kernel) argument
6535 attr_open(int fd, char* path, const char* name, int openMode, bool kernel) argument
7081 fs_mount(char* path, const char* device, const char* fsName, uint32 flags, const char* args, bool kernel) argument
7406 fs_unmount(char* path, dev_t mountID, uint32 flags, bool kernel) argument
7840 set_cwd(int fd, char* path, bool kernel) argument
7885 _kern_mount(const char* path, const char* device, const char* fsName, uint32 flags, const char* args, size_t argsLength) argument
7897 _kern_unmount(const char* path, uint32 flags) argument
8025 _kern_open(int fd, const char* path, int openMode, int perms) argument
8077 _kern_open_dir(int fd, const char* path) argument
8138 _kern_create_dir(int fd, const char* path, int perms) argument
8149 _kern_remove_dir(int fd, const char* path) argument
8182 _kern_read_link(int fd, const char* path, char* buffer, size_t* _bufferSize) argument
8212 _kern_create_symlink(int fd, const char* path, const char* toPath, int mode) argument
8224 _kern_create_link(int pathFD, const char* path, int toFD, const char* toPath, bool traverseLeafLink) argument
8251 _kern_unlink(int fd, const char* path) argument
8293 _kern_access(int fd, const char* path, int mode, bool effectiveUserGroup) argument
8324 _kern_read_stat(int fd, const char* path, bool traverseLeafLink, struct stat* stat, size_t statSize) argument
8371 _kern_write_stat(int fd, const char* path, bool traverseLeafLink, const struct stat* stat, size_t statSize, int statMask) argument
8417 _kern_open_attr_dir(int fd, const char* path, bool traverseLeafLink) argument
8432 _kern_open_attr(int fd, const char* path, const char* name, uint32 type, int openMode) argument
8502 _kern_setcwd(int fd, const char* path) argument
8524 KPath path, device; local
8581 char* path = pathBuffer.LockBuffer(); local
8743 char* path = pathBuffer.LockBuffer(); local
9007 char* path = pathBuffer.LockBuffer(); local
9024 char* path = pathBuffer.LockBuffer(); local
9050 char* path = pathBuffer.LockBuffer(); local
9089 char* path = pathBuffer.LockBuffer(); local
9111 char* path = pathBuffer.LockBuffer(); local
9136 char* path = pathBuffer.LockBuffer(); local
9174 char* path = pathBuffer.LockBuffer(); local
9269 char* path = pathBuffer.LockBuffer(); local
9301 char* path = pathBuffer.LockBuffer(); local
9360 char* path = pathBuffer.LockBuffer(); local
9397 char* path = pathBuffer.LockBuffer(); local
9493 char* path = pathBuffer.LockBuffer(); local
9620 char* path = pathBuffer.LockBuffer(); local
9643 char* path = pathBuffer.LockBuffer(); local
9668 char* path = pathBuffer.LockBuffer(); local
[all...]
/haiku-fatelf/src/system/kernel/
H A Dteam.cpp73 char *path; member in struct:team_arg
221 ExecTeam(const char* path, int32 argCount, const char* const* args, argument
227 fPath = alloc_tracing_buffer_strcpy(path, B_PATH_NAME_LENGTH,
762 Team::SetArgs(const char* path, const char* const* otherArgs, int otherArgCount) argument
765 strlcpy(fArgs, path, sizeof(fArgs));
1431 free(teamArg->path);
1438 create_team_arg(struct team_arg** _teamArg, const char* path, char** flatArgs, argument
1446 teamArg->path = strdup(path);
1447 if (teamArg->path
1469 team_create_thread_start_determine_arch(Team* team, const char* path, struct elf_image_arch* image_arch) argument
1532 const char* path; local
1679 const char* path = flatArgs[0]; local
1870 exec_team(const char* path, char**& _flatArgs, size_t flatArgsSize, int32 argCount, int32 envCount, mode_t umask) argument
3864 char path[B_PATH_NAME_LENGTH]; local
[all...]
H A Delf.cpp1999 elf_load_user_image(const char *path, Team *team, int flags, addr_t *entry, argument
2010 TRACE(("elf_load: entry path '%s', team %p\n", path, team));
2012 fd = _kern_open(-1, path, O_RDONLY, 0);
2081 const char *leaf = strrchr(path, '/');
2083 leaf = path;
2196 strlcpy(imageInfo.name, path, sizeof(imageInfo.name));
2223 load_kernel_add_on(const char *path) argument
2237 TRACE(("elf_load_kspace: entry path '%s'\n", path));
[all...]
/haiku-fatelf/build/scripts/
H A Dbuild_fatelf_cross_tools35 # Resolve a relative path
37 local path="$1"
39 case "${path}" in
41 # Nothing to do, absolute path
42 eval "${var}=\"${path}\""
45 eval "${var}=\"${CWD}/${path}\""
56 local path=`which "${1}"`
57 if [ ! -z "${path}" ]; then
58 eval "${varname}=\"${path}\""
247 # Echo the object path t
[all...]
/haiku-fatelf/src/apps/debugger/controllers/
H A DDebugReportGenerator.cpp131 BPath path(&outputPath);
133 fTeam->NotifyDebugReportChanged(path.Path());
/haiku-fatelf/src/apps/workspaces/
H A DWorkspaces.cpp192 BPath path; local
193 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) == B_OK) {
194 path.Append(kOldSettingFile);
195 BFile file(path.Path(), B_READ_ONLY);
278 BPath path; local
279 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path);
281 status = find_directory(B_COMMON_SETTINGS_DIRECTORY, &path);
285 path.Append(kSettingsFile);
287 status = file.SetTo(path.Path(), mode);
289 if (find_directory(B_COMMON_SETTINGS_DIRECTORY, &path)
[all...]
/haiku-fatelf/src/kits/storage/disk_device/
H A DPartition.cpp320 BPartition::GetPath(BPath* path) const
322 // The path is constructed on the fly using our parent
323 if (path == NULL || Parent() == NULL || Index() < 0)
326 // get the parent's path
327 status_t error = Parent()->GetPath(path);
335 const char* leaf = path->Leaf();
343 path->Leaf(), Index());
346 error = path->GetParent(path);
348 error = path
402 BPath path; local
431 BPath path; local
[all...]
/haiku-fatelf/src/kits/storage/
H A DMime.cpp51 do_mime_update(int32 what, const char *path, int recursive, argument
57 status_t err = root.SetTo(path ? path : "/");
89 update_mime_info(const char *path, int recursive, int synchronous, int force) argument
91 // Force recursion when given a NULL path
92 if (!path)
95 return do_mime_update(B_REG_MIME_UPDATE_MIME_INFO, path, recursive,
102 create_app_meta_mime(const char *path, int recursive, int synchronous, argument
105 // Force recursion when given a NULL path
106 if (!path)
339 BPath path; local
[all...]
H A DFile.cpp63 // the supplied path name and according to the specified open mode.
64 BFile::BFile(const char* path, uint32 openMode) argument
68 SetTo(path, openMode);
73 // the supplied path name relative to the specified BDirectory and
75 BFile::BFile(const BDirectory *dir, const char* path, uint32 openMode) argument
79 SetTo(dir, path, openMode);
105 // if ref->name is absolute, let the path-only SetTo() do the job
152 // supplied path name and according to the specified open mode.
154 BFile::SetTo(const char* path, uint32 openMode) argument
158 if (!path)
179 SetTo(const BDirectory* dir, const char* path, uint32 openMode) argument
[all...]
/haiku-fatelf/src/servers/notification/
H A DNotificationWindow.cpp412 BPath path; local
414 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) != B_OK)
417 path.Append(kSettingsDirectory);
419 if (create_directory(path.Path(), 0755) != B_OK)
422 path.Append(kFiltersSettings);
424 BFile file(path.Path(), B_READ_ONLY);
443 BEntry entry(path.Path());
460 BPath path; local
462 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) != B_OK)
465 path
482 BPath path; local
525 BPath path; local
[all...]
/haiku-fatelf/src/servers/print/
H A DPrinter.cpp179 BPath path; local
181 if ((rc = ::find_directory(B_USER_PRINTERS_DIRECTORY, &path)) == B_OK) {
182 path.Append(Name());
183 rc = rmdir(path.Path());
191 Printer::FindPathToDriver(const char* driverName, BPath* path) argument
193 return PrintAddOnServer::FindPathToDriver(driverName, path);
430 BPath path; local
431 file.GetParent(&path);
432 path.Append("..");
433 path
521 BPath path; local
[all...]
H A DTransport.cpp72 BPath path; local
75 if ((result = find_directory(which, &path)) != B_OK)
78 if ((result = path.Append("Print/transport")) != B_OK)
82 if ((result = dir.SetTo(path.Path())) != B_OK)
91 if (entry.GetPath(&path) != B_OK)
96 if (Transport::Find(path.Leaf()) != NULL)
99 be_app->AddHandler(new Transport(path));
118 Transport::Transport(const BPath& path) argument
120 fPath(path),
125 image_id id = ::load_add_on(path
[all...]
/haiku-fatelf/src/system/kernel/vm/
H A DVMAnonymousCache.cpp1212 KPath path;
1213 partition->GetPath(&path);
1218 if (strcmp(fVolumeInfo.device, path.Path()) == 0)
1259 char* path = mountPoint->LockBuffer(); local
1261 strncpy(path, basePath, pathLen);
1265 if (stat(path, &dummy) != 0)
1267 snprintf(path, pathLen, "%s%d", basePath, i);
1276 swap_file_add(const char* path) argument
1279 int fd = open(path, O_RDWR | O_NOCACHE, S_IRUSR | S_IWUSR);
1353 swap_file_delete(const char* path) argument
1563 KPath path; local
[all...]
/haiku-fatelf/src/system/libroot/posix/
H A Dfts.c148 /* fts_open() requires at least one path */
169 * Start out with 1K of path space, and enough, in any case,
259 * known that the path will fit.
292 /* Free up child linked list, sort array, path buffer. */
319 * Special case of "/" at the end of the path so that slashes aren't
579 * If using chdir on a relative path and called BEFORE fts_read does
672 #define __opendir2(path, flag) opendir(path)
713 * chdir into the directory, it will have to return different path
737 * current path
1143 fts_safe_changedir(FTS *sp, FTSENT *p, int fd, char *path) argument
[all...]

Completed in 306 milliseconds

1234567891011>>