Searched refs:path (Results 76 - 100 of 1289) sorted by relevance

1234567891011>>

/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dreadlink.c37 readlink (const char *path, char *buf, size_t bufsize) argument
44 if (stat (path, &statbuf) >= 0)
/haiku-fatelf/src/bin/makeudfimage/
H A DFileStream.cpp16 FileStream::FileStream(const char *path, uint32 open_mode) argument
18 , fFile(path, open_mode)
/haiku-fatelf/src/build/libroot/
H A Dfs_attr_extattr.h22 list_attributes(int fd, const char* path, char* buffer, size_t bufferSize) argument
29 bytesRead = extattr_list_link(path, EXTATTR_NAMESPACE_USER, buffer,
55 get_attribute(int fd, const char* path, const char* attribute, void* buffer, argument
62 return extattr_get_link(path, EXTATTR_NAMESPACE_USER, attribute, buffer,
68 set_attribute(int fd, const char* path, const char* attribute, argument
75 return extattr_set_link(path, EXTATTR_NAMESPACE_USER, attribute, buffer,
81 remove_attribute(int fd, const char* path, const char* attribute) argument
85 return extattr_delete_link(path, EXTATTR_NAMESPACE_USER, attribute);
/haiku-fatelf/src/libs/print/libgutenprint/include/gutenprint/
H A Dpath.h2 * "$Id: path.h,v 1.2 2008/06/01 14:41:03 rlk Exp $"
4 * libgimpprint path functions header
26 * @file gutenprint/path.h
27 * @brief Simple directory path functions.
47 const char *path);
53 extern char *stpi_path_merge(const char *path, const char *file);
62 * End of "$Id: path.h,v 1.2 2008/06/01 14:41:03 rlk Exp $".
/haiku-fatelf/src/preferences/datatranslations/
H A DDataTranslationsSettings.cpp27 BPath path; local
28 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) != B_OK)
33 path.Append("system/DataTranslations settings");
34 BFile file(path.Path(), B_READ_ONLY);
48 BPath path; local
49 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) < B_OK)
55 path.Append("system/DataTranslations settings");
56 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE | B_ERASE_FILE);
/haiku-fatelf/src/preferences/fonts/
H A DFontsSettings.cpp28 BPath path; local
31 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) == B_OK) {
32 path.Append(kSettingsFile);
33 BFile file(path.Path(), B_READ_ONLY);
47 BPath path; local
50 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) < B_OK)
53 path.Append(kSettingsFile);
54 BFile file(path.Path(), B_WRITE_ONLY|B_CREATE_FILE);
/haiku-fatelf/src/preferences/screen/
H A DScreenSettings.cpp28 BPath path; local
29 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) == B_OK) {
30 path.Append(kSettingsFileName);
32 BFile file(path.Path(), B_READ_ONLY);
59 BPath path; local
60 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) < B_OK)
63 path.Append(kSettingsFileName);
65 BFile file(path.Path(), B_WRITE_ONLY | B_CREATE_FILE);
/haiku-fatelf/src/preferences/screensaver/
H A DScreenSaverItem.h19 ScreenSaverItem(const char* event_name,const char* path) argument
20 : BStringItem(event_name), fPath(path) {
/haiku-fatelf/src/servers/bluetooth/
H A DHCIControllerAccessor.cpp8 HCIControllerAccessor::HCIControllerAccessor(BPath* path) : HCIDelegate(path) argument
/haiku-fatelf/src/servers/input/
H A DKeyboardSettings.cpp18 BPath path; local
21 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) < B_OK)
23 if (path.Append(kb_settings_file) < B_OK)
25 if (file.SetTo(path.Path(), B_READ_ONLY) < B_OK)
61 BPath path; local
64 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) < B_OK)
66 if (path.Append(kb_settings_file) < B_OK)
68 if (file.SetTo(path.Path(), B_WRITE_ONLY | B_CREATE_FILE) < B_OK)
/haiku-fatelf/src/system/libroot/os/
H A Dfs_volume.c23 fs_unmount_volume(const char *path, uint32 flags) argument
25 return _kern_unmount(path, flags);
/haiku-fatelf/src/system/libroot/posix/stdlib/
H A Drealpath.cpp17 realpath(const char* path, char* resolved) argument
19 status_t status = _kern_normalize_path(path, true, resolved);
25 // The path must actually exist, not just its parent directories
/haiku-fatelf/src/system/libroot/posix/sys/
H A Dftok.c14 ftok(const char *path, int id) argument
18 if (stat(path, &st) < 0)
H A Dmman.cpp25 append_string(char*& path, size_t& bytesLeft, const char* toAppend, size_t size) argument
30 memcpy(path, toAppend, size);
31 path += size;
32 path[0] = '\0';
40 append_string(char*& path, size_t& bytesLeft, const char* toAppend) argument
42 return append_string(path, bytesLeft, toAppend, strlen(toAppend));
47 shm_name_to_path(const char* name, char* path, size_t pathSize) argument
59 // create the path; replace occurrences of '/' by "%s" and '%' by "%%"
60 if (!append_string(path, pathSize, kSharedMemoryDir))
66 if (!append_string(path, pathSiz
172 char path[PATH_MAX]; local
184 char path[PATH_MAX]; local
[all...]
/haiku-fatelf/src/tools/translation/inspector/
H A DTranslatorItem.cpp33 BTranslatorItem::BTranslatorItem(const char *text, const char *path, int32 group) argument
36 fpath.SetTo(path);
/haiku-fatelf/headers/build/host/darwin/sys/
H A Dstat.h17 int utimensat(int fd, const char* path, const struct timespec times[2],
32 int fchmodat(int fd, const char* path, mode_t mode, int flag);
33 int fstatat(int fd, const char *path, struct stat *st, int flag);
34 int mkdirat(int fd, const char *path, mode_t mode);
35 int mkfifoat(int fd, const char *path, mode_t mode);
/haiku-fatelf/src/bin/
H A Dclockconfig.cpp27 setRealTimeClockIsGMT(BPath path) argument
29 path.Append("RTC_time_settings");
31 status_t status = file.SetTo(path.Path(), B_READ_ONLY);
51 setTimeZoneOffset(BPath path) argument
53 path.Append("Time settings");
55 status_t status = file.SetTo(path.Path(), B_READ_ONLY);
86 BPath path; local
87 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path);
93 setRealTimeClockIsGMT(path);
94 setTimeZoneOffset(path);
[all...]
/haiku-fatelf/src/bin/rc/
H A Drdef.cpp65 char *path = (char *)malloc(strlen(dir) + 2); local
66 if (path == NULL) {
71 strcpy(path, dir);
72 strcat(path, "/");
75 include_dirs.push_back(path);
77 include_dirs.push_front(path);
92 char *path = (char *)*i; local
94 if (!strncmp(dir, path, length)
95 && path[length + (noSlash ? 1 : 0)] == '\0') {
98 free(path);
[all...]
/haiku-fatelf/src/tests/add-ons/index_server/fulltext_search/
H A DBeaconSearcher.cpp59 BPath path(&dir);
60 path.Append(kIndexServerDirectory);
61 path.Append("FullTextAnalyser");
63 return path;
81 wchar_t *path ; local
90 field = doc.getField(_T("path")) ;
91 path = new wchar_t[B_PATH_NAME_LENGTH * sizeof(wchar_t)] ;
92 wcscpy(path, field->stringValue()) ;
93 fHits.AddItem(path) ;
105 field = doc.getField(_T("path")) ;
118 wchar_t* path = (wchar_t*)fHits.ItemAt(0) ; local
[all...]
/haiku-fatelf/src/kits/package/
H A DPackageRoster.cpp47 BPackageRoster::GetCommonRepositoryConfigPath(BPath* path, bool create) const argument
49 return _GetRepositoryPath(path, create, B_COMMON_SETTINGS_DIRECTORY);
54 BPackageRoster::GetUserRepositoryConfigPath(BPath* path, bool create) const argument
56 return _GetRepositoryPath(path, create, B_USER_SETTINGS_DIRECTORY);
61 BPackageRoster::GetCommonRepositoryCachePath(BPath* path, bool create) const argument
63 return _GetRepositoryPath(path, create, B_COMMON_CACHE_DIRECTORY);
68 BPackageRoster::GetUserRepositoryCachePath(BPath* path, bool create) const argument
70 return _GetRepositoryPath(path, create, B_USER_CACHE_DIRECTORY);
139 // user path has higher precedence than common path
280 _GetRepositoryPath(BPath* path, bool create, directory_which whichDir) const argument
305 _VisitRepositoryConfigs(const BPath& path, BRepositoryConfigVisitor& visitor) argument
[all...]
/haiku-fatelf/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);
/haiku-fatelf/src/apps/diskusage/
H A DApp.cpp31 BPath path; local
32 if (find_directory(B_BEOS_DOCUMENTATION_DIRECTORY, &path) == B_OK
33 && path.Append(kHelpFileName) == B_OK) {
34 printf("help file =? %s\n", path.Path());
35 BEntry entry(path.Path());
88 BPath path; local
91 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) != B_OK
92 || path.Append("DiskUsage") != B_OK
93 || settingsFile.SetTo(path.Path(), B_READ_ONLY) != B_OK
117 BPath path; local
[all...]
/haiku-fatelf/src/servers/midi/
H A DDeviceWatcher.cpp155 const char* path; local
156 if (message->FindString("path", &path) != B_OK)
161 _AddDevice(path);
165 _RemoveDevice(path);
185 DeviceWatcher::_ScanDevices(const char* path) argument
187 TRACE(("DeviceWatcher::_ScanDevices(\"%s\");\n", path));
189 BDirectory dir(path);
206 DeviceWatcher::_AddDevice(const char* path) argument
208 TRACE(("DeviceWatcher::_AddDevice(\"%s\");\n", path));
269 _RemoveDevice(const char* path) argument
[all...]
/haiku-fatelf/src/apps/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...]

Completed in 369 milliseconds

1234567891011>>