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

1234567891011>>

/haiku-fatelf/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);
H A DFileIterator.cpp31 BPath path; local
32 if (entry.GetPath(&path) != B_OK)
35 strcpy(buffer, path.Path());
47 if (BMimeType::GuessMimeType(path.Path(), &mimeType) != B_OK)
/haiku-fatelf/src/tools/checkstyle/
H A Dcheckstyle.py42 path = os.path.join(dir, name)
43 if os.path.isfile(path) and os.path.splitext(name)[1] in extensions:
44 print "adding", path
45 result.append(path)
76 if os.path.isfile(arg):
79 os.path.walk(arg, visit, files)
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/
H A DDevice.cpp58 acpi_get_object(acpi_device device, const char *path, acpi_object_type **return_value) argument
60 if (path) {
62 snprintf(objname, sizeof(objname), "%s.%s", device->path, path);
65 return get_object(device->path, return_value);
81 const char *path; local
86 if (gDeviceManager->get_attr_string(node, ACPI_DEVICE_PATH_ITEM, &path, false) != B_OK)
95 if (AcpiGetHandle(NULL, (ACPI_STRING)path, &handle) != AE_OK) {
101 device->path = strdup(path);
[all...]
/haiku-fatelf/src/bin/bash/
H A Dhashcmd.c54 free (((PATH_DATA *)data)->path);
87 /* Place FILENAME (key) and FULL_PATH (data->path) into the
107 free (pathdata(item)->path);
113 pathdata(item)->path = savestring (full_path);
132 char *path, *dotted_filename, *tail; local
143 /* If this filename is hashed, but `.' comes before it in the path,
146 path = pathdata(item)->path;
149 tail = (pathdata(item)->flags & HASH_RELPATH) ? path : (char *)filename; /* XXX - fix const later */
174 we're really interested in is whether or not the `path'
[all...]
/haiku-fatelf/src/kits/storage/
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
412 CreateDirectory(const char* path, BDirectory* dir) argument
435 CreateFile(const char* path, BFile* file, bool failIfExists) argument
457 CreateSymLink(const char* path, const char* linkToPath, BSymLink* link) argument
493 _GetStatFor(const char* path, struct stat* st) const argument
510 _GetStatFor(const char* path, struct stat_beos* st) const argument
555 create_directory(const char* path, mode_t mode) argument
[all...]
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.cpp69 to by the supplied path name.
70 \param path the symbolic link's path name
72 BSymLink::BSymLink(const char *path) argument
74 BNode(path)
80 to by the supplied path name relative to the specified BDirectory.
81 \param dir the BDirectory, relative to which the symbolic link's path name
83 \param path the symbolic link's path name relative to \a dir
85 BSymLink::BSymLink(const BDirectory *dir, const char *path) argument
147 MakeLinkedPath(const char *dirPath, BPath *path) argument
175 MakeLinkedPath(const BDirectory *dir, BPath *path) argument
[all...]
/haiku-fatelf/src/preferences/sounds/
H A DHEventList.h27 const char* path);
33 void SetPath(const char* path);
52 void SetPath(const char* path);
/haiku-fatelf/src/servers/midi/
H A DDeviceWatcher.h34 void _ScanDevices(const char* path);
35 void _AddDevice(const char* path);
36 void _RemoveDevice(const char* path);
/haiku-fatelf/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-fatelf/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-fatelf/src/build/libroot/
H A Dfunction_remapper.cpp31 fchmodat(int fd, const char* path, mode_t mode, int flag) argument
35 return _haiku_build_fchmodat(fd, path, mode, flag);
49 fstatat(int fd, const char* path, struct stat* st, int flag) argument
53 return _haiku_build_fstatat(fd, path, st, flag);
58 mkdirat(int fd, const char* path, mode_t mode) argument
62 return _haiku_build_mkdirat(fd, path, mode);
67 mkfifoat(int fd, const char* path, mode_t mode) argument
71 return _haiku_build_mkfifoat(fd, path, mode);
76 utimensat(int fd, const char* path, const struct timespec times[2], int flag) argument
80 return _haiku_build_utimensat(fd, path, time
94 faccessat(int fd, const char* path, int accessMode, int flag) argument
139 linkat(int toFD, const char* toPath, int pathFD, const char* path, int flag) argument
148 unlinkat(int fd, const char* path, int flag) argument
157 readlinkat(int fd, const char* path, char* buffer, size_t bufferSize) argument
193 fchownat(int fd, const char* path, uid_t owner, gid_t group, int flag) argument
211 creat(const char* path, mode_t mode) argument
220 open(const char* path, int openMode, ...) argument
239 openat(int fd, const char* path, int openMode, ...) argument
[all...]
/haiku-fatelf/src/build/libbe/storage/
H A DDirectory.cpp90 to by the supplied path name.
91 \param path the directory's path name
93 BDirectory::BDirectory(const char *path) argument
98 SetTo(path);
103 to by the supplied path name relative to the specified BDirectory.
104 \param dir the BDirectory, relative to which the directory's path name is
106 \param path the directory's path name relative to \a dir
108 BDirectory::BDirectory(const BDirectory *dir, const char *path) argument
254 SetTo(const char *path) argument
294 SetTo(const BDirectory *dir, const char *path) argument
374 FindEntry(const char *path, BEntry *entry, bool traverse) const argument
421 Contains(const char *path, int32 nodeFlags) const argument
513 GetStatFor(const char *path, struct stat *st) const argument
711 CreateDirectory(const char *path, BDirectory *dir) argument
757 CreateFile(const char *path, BFile *file, bool failIfExists) argument
797 CreateSymLink(const char *path, const char *linkToPath, BSymLink *link) argument
905 create_directory(const char *path, mode_t mode) argument
[all...]
/haiku-fatelf/headers/private/userlandfs/fuse/
H A Dfuse.h566 int fuse_invalidate(struct fuse *f, const char *path);
599 int fuse_fs_getattr(struct fuse_fs *fs, const char *path, struct stat *buf);
600 int fuse_fs_fgetattr(struct fuse_fs *fs, const char *path, struct stat *buf,
604 int fuse_fs_unlink(struct fuse_fs *fs, const char *path);
605 int fuse_fs_rmdir(struct fuse_fs *fs, const char *path);
607 const char *path);
609 int fuse_fs_release(struct fuse_fs *fs, const char *path,
611 int fuse_fs_open(struct fuse_fs *fs, const char *path,
613 int fuse_fs_read(struct fuse_fs *fs, const char *path, char *buf, size_t size,
615 int fuse_fs_write(struct fuse_fs *fs, const char *path, cons
[all...]
/haiku-fatelf/src/system/libroot/posix/unistd/
H A Dexec.cpp56 do_exec(const char *path, char * const args[], char * const environment[], argument
63 if (path == NULL) {
82 status_t status = __test_executable(path, invoker);
94 status = __parse_invoke_line(invoker, &newArgs, &args, &argCount, path);
100 path = newArgs[0];
109 __set_errno(_kern_exec(path, flatArgs, flatArgsSize, argCount, envCount,
126 execve(const char *path, char* const args[], char* const environment[]) argument
128 return do_exec(path, args, environment, false);
133 execv(const char *path, char * const *argv) argument
135 return do_exec(path, arg
172 char path[B_PATH_NAME_LENGTH]; local
196 execl(const char *path, const char *arg, ...) argument
244 execle(const char *path, const char *arg, ... ) argument
269 exect(const char *path, char * const *argv) argument
[all...]
/haiku-fatelf/headers/os/storage/
H A DSymLink.h32 BSymLink(const char *path);
33 BSymLink(const BDirectory *dir, const char *path);
38 ssize_t MakeLinkedPath(const char *dirPath, BPath *path);
39 ssize_t MakeLinkedPath(const BDirectory *dir, BPath *path);
/haiku-fatelf/headers/posix/
H A Dutime.h22 int utime(const char *path, const struct utimbuf *buffer);
/haiku-fatelf/headers/private/fs_shell/
H A Dfssh_fs_volume.h27 extern fssh_status_t fssh_fs_unmount_volume(const char *path,
/haiku-fatelf/src/add-ons/input_server/devices/wacom/
H A DPointingDeviceFactory.h16 const char* path);
/haiku-fatelf/src/add-ons/input_server/filters/shortcut_catcher/
H A DShortcutsServerFilter.cpp35 BPath path; local
36 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) == B_OK)
37 path.Append(SHORTCUTS_SETTING_FILE_NAME);
39 fMap = new KeyCommandMap(path.Path());
/haiku-fatelf/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()) {
/haiku-fatelf/src/apps/debugger/files/
H A DLocatableDirectory.cpp10 LocatableDirectory* parent, const BString& path)
13 fPath(path),
58 LocatableDirectory::SetLocatedPath(const BString& path, bool implicit) argument
60 fLocatedPath = path;
9 LocatableDirectory(LocatableEntryOwner* owner, LocatableDirectory* parent, const BString& path) argument

Completed in 192 milliseconds

1234567891011>>