/haiku/src/preferences/network/ |
H A D | NetworkProfile.cpp | 24 BNetworkProfile::BNetworkProfile(const char* path) argument 29 SetTo(path); 57 BNetworkProfile::SetTo(const char* path) argument 59 status_t status = fEntry.SetTo(path, true);
|
/haiku/src/preferences/media/ |
H A D | Media.cpp | 29 BPath path; local 30 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) == B_OK) { 31 path.Append(SETTINGS_FILE); 32 BFile file(path.Path(),B_READ_ONLY);
|
/haiku/src/servers/launch/ |
H A D | AbstractEmptyDirectoryJob.h | 20 status_t CreateAndEmpty(const char* path) const;
|
/haiku/src/servers/bluetooth/ |
H A D | DeviceManager.cpp | 98 // BPath path(*nref); 99 // BString str(path.Path()); 147 BPath path(ref); 148 BString* str = new BString(path.Path()); 157 TRACE_BT("DeviceManager: Device %s registered\n", path.Path()); 199 BPath path("/dev"); 201 /* Build the path */ 202 if ((err = path.Append(device)) != B_OK) { 203 printf("DeviceManager::StartMonitoringDevice BPath::Append() error %s: %s\n", path.Path(), strerror(err)); 207 /* Check the path */ [all...] |
/haiku/headers/posix/ |
H A D | dlfcn.h | 37 extern void *dlopen(const char *path, int mode);
|
/haiku/src/system/boot/loader/ |
H A D | elf.h | 14 extern status_t elf_load_image(Directory* directory, const char* path);
|
/haiku/src/system/kernel/vm/ |
H A D | VMUtils.cpp | 45 char* path = mountPoint->LockBuffer(); local 47 strncpy(path, basePath, pathLen); 51 if (stat(path, &dummy) != 0) 53 snprintf(path, pathLen, "%s%d", (char*)basePath, i);
|
/haiku/src/apps/haikudepot/server/ |
H A D | AbstractServerProcess.h | 39 BPath& path) const = 0; 55 const BPath& path, 60 const BPath& path) const; 85 static status_t _DeGzipInSitu(const BPath& path);
|
H A D | PopulatePkgSizesProcess.cpp | 95 BPath path; local 96 if (PackageUtils::DeriveLocalFilePath(package.Get(), path) == B_OK) { 97 BEntry entry(path.Path()); 102 HDDEBUG("unable to get the size of local file [%s]", path.Path());
|
/haiku/src/kits/storage/ |
H A D | AddOnImage.h | 18 status_t Load(const char* path);
|
/haiku/src/tools/translation/inspector/ |
H A D | TranslatorItem.h | 46 BTranslatorItem(const char *text, const char *path, int32 group);
|
/haiku/src/kits/package/manager/ |
H A D | RepositoryBuilder.cpp | 138 BRepositoryBuilder::AddPackage(const char* path, BSolverPackage** _package) argument 143 size_t pathLength = strlen(path); 145 PackageInfoErrorListener errorListener(path); 146 BEntry entry(path, true); 150 "the package data file does not exist at \"%s\"", path); 158 "failed to access the package data file at \"%s\"", path); 163 "empty package data file at \"%s\"", path); 166 if (pathLength > 5 && strcmp(path + pathLength - 5, ".hpkg") == 0) { 168 error = packageInfo.ReadFromPackageFile(path); 176 "failed to read package data file at \"%s\"", path); 208 AddPackagesDirectory(const char* path) argument [all...] |
/haiku/src/tests/kits/net/netservices2/ |
H A D | HttpDebugLogger.h | 17 void SetFileLogging(const char* path);
|
/haiku/src/apps/terminal/ |
H A D | PrefHandler.h | 55 status_t OpenText(const char *path); 57 void SaveAsText(const char *path, const char *minmtype = NULL, 75 static status_t GetDefaultPath(BPath& path); 83 status_t _LoadFromTextFile(const char * path);
|
/haiku/headers/private/kernel/ |
H A D | kdevice_manager.h | 21 status_t device_manager_probe(const char *path, uint32 updateCycle);
|
/haiku/src/add-ons/media/media-add-ons/usb_vision/ |
H A D | TunerLocale.cpp | 38 BPath path; local 39 if((fStatus = entry.GetPath(&path)) == B_OK){ 43 fStatus = LoadLocale(path.Path()); 86 BPath path; local 87 if((status = find_directory(B_USER_SETTINGS_DIRECTORY, &path)) != B_OK) 89 if((status = path.Append(kLocalesSettings)) != B_OK) 91 BDirectory directory(path.Path());
|
/haiku/src/tests/add-ons/print/transports/ |
H A D | main.cpp | 77 BPath path; local 79 if (find_directory(which[i], &path, false) != B_OK) 82 path.Append("Print/transport"); 83 path.Append(transport); 85 printf("\t%s ?\n", path.Path()); 86 addon = load_add_on(path.Path()); 98 transport, path.Path());
|
/haiku/src/bin/ |
H A D | driveinfo.c | 91 char path[B_PATH_NAME_LENGTH]; local 92 if (ioctl(dev, B_GET_DRIVER_FOR_DEVICE, path, sizeof(path)) < 0) { 95 printf("driver:\t%s\n", path); 98 if (ioctl(dev, B_GET_PATH_FOR_DEVICE, path, sizeof(path)) < 0) { 101 printf("device path:\t%s\n", path);
|
/haiku/src/system/libroot/os/arch/x86/ |
H A D | compatibility.c | 27 int _kstatfs_(dev_t device, void *whatever, int fd, const char *path, fs_info *info); 30 int unmount(const char *path); 91 _kstatfs_(dev_t device, void *whatever, int fd, const char *path, fs_info *info) argument 100 } else if (path != NULL) 101 device = dev_for_path(path); 136 unmount(const char *path) argument 140 err = fs_unmount_volume(path, 0);
|
/haiku/src/system/libroot/posix/sys/ |
H A D | utimes.c | 20 _utimes(const char* path, const struct timeval times[2], bool traverseLink); 24 _utimes(const char* path, const struct timeval times[2], bool traverseLink) argument 42 status = _kern_write_stat(-1, path, traverseLink, &stat, 50 utimes(const char* path, const struct timeval times[2]) argument 52 return _utimes(path, times, true); 57 utimensat(int fd, const char *path, const struct timespec times[2], int flag) argument 101 status = _kern_write_stat(fd, path, (flag & AT_SYMLINK_NOFOLLOW) == 0,
|
/haiku/src/add-ons/input_server/filters/padblocker/ |
H A D | PadBlocker.cpp | 76 status_t GetSettingsPath(BPath& path); 82 PadBlocker::GetSettingsPath(BPath &path) argument 84 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path); 88 return path.Append(TOUCHPAD_SETTINGS_FILE); 102 BPath path; local 103 status_t status = GetSettingsPath(path); 107 BFile settingsFile(path.Path(), B_READ_ONLY);
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | SecurityContext.h | 54 const char* path = NULL); 55 status_t Init(const char* name, const char* path); 99 status_t AddShare(const char* name, const char* path, 110 status_t SetNodePermissions(const char* path, 114 void ClearNodePermissions(const char* path, 118 Permissions GetNodePermissions(const char* path, 125 status_t _AddNodePath(const char* path, 128 HashString* path = NULL); 129 status_t _EnterNodePath(const char* path, 131 bool _GetNodeForPath(const char* path, [all...] |
/haiku/src/apps/expander/ |
H A D | ExpanderRules.cpp | 115 BPath path; local 116 if (ExpanderSettings::GetSettingsDirectoryPath(path) == B_OK 117 && path.Append(kUserRulesFileName) == B_OK) { 118 _LoadRulesFile(path.Path()); 132 if (find_directory(kDirectories[i], &path) != B_OK 133 || path.Append(kRulesDirectoryPath) != B_OK 134 || directory.SetTo(path.Path()) != B_OK) { 141 if (filePath.SetTo(path.Path(), entry.name) == B_OK) 149 ExpanderRules::_LoadRulesFile(const char* path) argument 151 FILE* file = fopen(path, " [all...] |
/haiku/headers/posix/sys/ |
H A D | stat.h | 112 extern int chmod(const char *path, mode_t mode); 114 extern int fchmodat(int fd, const char *path, mode_t mode, int flag); 115 extern int stat(const char *path, struct stat *st); 117 extern int lstat(const char *path, struct stat *st); 118 extern int fstatat(int fd, const char *path, struct stat *st, int flag); 119 extern int mkdir(const char *path, mode_t mode); 120 extern int mkdirat(int fd, const char *path, mode_t mode); 121 extern int mkfifo(const char *path, mode_t mode); 122 extern int mkfifoat(int fd, const char *path, mode_t mode); 127 extern int utimensat(int fd, const char *path, [all...] |
/haiku/src/build/libroot/ |
H A D | fs_attr_generic.cpp | 171 get_id_attribute(const char *path, int fd, string& _id) argument 182 ssize_t bytesRead = get_attribute(fd, path, attributeName.c_str(), buffer, 190 if (path == NULL || lstat(path, &st) < 0 || !S_ISLNK(st.st_mode)) 205 set_id_attribute(const char *path, int fd, const char* id) argument 210 if (set_attribute(fd, path, attributeName.c_str(), id, strlen(id)) < 0) 217 get_attribute_dir_path(NodeRef ref, const char *path, int fd) argument 220 status_t error = get_id_attribute(path, fd, id); 232 get_attribute_dir_path_needed(NodeRef ref, const char *path, int fd, argument 236 status_t error = get_id_attribute(path, f 258 get_attribute_dir_path(NodeRef ref, const char *path, int fd) argument 269 get_attribute_dir_path_needed(NodeRef ref, const char *path, int fd, string& _attrDirPath) argument 282 ensure_attribute_dir_exists(NodeRef ref, const char *path, int fd) argument 317 open_attr_dir(NodeRef ref, const char *path, int fd) argument 333 get_attribute_path(NodeRef ref, const char *path, int fd, const char *attribute, string &attrPath, string &typePath) argument 370 string path; local 409 fs_open_attr_dir(const char *path) argument 433 string path; local 680 _kern_open_attr_dir(int fd, const char *path) argument 779 __get_attribute_dir_path(const struct stat* st, const char* path, char* buffer) argument [all...] |