/haiku/src/system/libroot/os/ |
H A D | fs_volume.c | 23 fs_unmount_volume(const char *path, uint32 flags) argument 25 return _kern_unmount(path, flags);
|
/haiku/src/system/libroot/posix/sys/ |
H A D | ftok.c | 14 ftok(const char *path, int id) argument 18 if (stat(path, &st) < 0)
|
H A D | mman.cpp | 28 append_string(char*& path, size_t& bytesLeft, const char* toAppend, size_t size) argument 33 memcpy(path, toAppend, size); 34 path += size; 35 path[0] = '\0'; 43 append_string(char*& path, size_t& bytesLeft, const char* toAppend) argument 45 return append_string(path, bytesLeft, toAppend, strlen(toAppend)); 50 shm_name_to_path(const char* name, char* path, size_t pathSize) argument 62 // create the path; replace occurrences of '/' by "%s" and '%' by "%%" 63 if (!append_string(path, pathSize, kSharedMemoryDir)) 69 if (!append_string(path, pathSiz 214 char path[PATH_MAX]; local 226 char path[PATH_MAX]; local [all...] |
/haiku/src/preferences/screensaver/ |
H A D | ScreenSaverItem.h | 19 ScreenSaverItem(const char* eventName, const char* path) argument 20 : BStringItem(eventName), fPath(path) {}
|
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | PackageSymlink.cpp | 27 PackageSymlink::SetSymlinkPath(const String& path) argument 29 fSymlinkPath = path;
|
/haiku/headers/private/file_systems/ram_disk/ |
H A D | ram_disk.h | 27 char path[B_PATH_NAME_LENGTH]; member in struct:ram_disk_ioctl_register 43 char path[B_PATH_NAME_LENGTH]; member in struct:ram_disk_ioctl_info
|
/haiku/src/system/kernel/device_manager/ |
H A D | devfs_private.h | 19 status_t devfs_publish_device(const char* path, BaseDevice* device); 22 status_t devfs_get_device(const char* path, BaseDevice*& _device);
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | chown.c | 18 common_chown(int fd, const char* path, bool followLinks, uid_t owner, argument 34 status = _kern_write_stat(fd, path, followLinks, &stat, 42 chown(const char *path, uid_t owner, gid_t group) argument 44 return common_chown(-1, path, true, owner, group); 49 lchown(const char *path, uid_t owner, gid_t group) argument 51 return common_chown(-1, path, false, owner, group); 63 fchownat(int fd, const char* path, uid_t owner, gid_t group, int flag) argument 65 return common_chown(fd, path, (flag & AT_SYMLINK_NOFOLLOW) == 0, owner,
|
/haiku/src/servers/launch/ |
H A D | InitRealTimeClockJob.h | 21 void _SetRealTimeClockIsGMT(BPath path) const; 22 void _SetTimeZoneOffset(BPath path) const;
|
H A D | AbstractEmptyDirectoryJob.cpp | 23 AbstractEmptyDirectoryJob::CreateAndEmpty(const char* path) const 25 BEntry entry(path); 27 create_directory(path, 0777); 29 status_t status = entry.SetTo(path); 31 fprintf(stderr, "Cannot create directory \"%s\": %s\n", path,
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_module.h | 47 extern fssh_status_t fssh_get_module(const char *path, 49 extern fssh_status_t fssh_put_module(const char *path);
|
/haiku/src/kits/midi/ |
H A D | MidiSettings.cpp | 28 BPath path; 29 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path); 33 path.Append(SETTINGS_FILE); 34 void* handle = load_driver_settings(path.Path()); 55 BPath path; local 56 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path); 60 path.Append(SETTINGS_FILE); 63 if (file.SetTo(path.Path(), B_WRITE_ONLY | B_CREATE_FILE | B_ERASE_FILE)
|
/haiku/src/bin/ |
H A D | setcontrollook.cpp | 20 printf("usage: %s /path/to/ControlLook\n", argv[0]); 26 BString path(argv[1]); 30 status_t err = set_control_look(path);
|
/haiku/src/servers/input/ |
H A D | KeyboardSettings.cpp | 18 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/src/tests/apps/haikudepot/ |
H A D | TarArchiveServiceTest.h | 23 status_t CreateSampleFile(BString& path); 24 status_t DeleteSampleFile(const BString& path);
|
/haiku/src/tools/translation/inspector/ |
H A D | TranslatorItem.cpp | 33 BTranslatorItem::BTranslatorItem(const char *text, const char *path, int32 group) argument 36 fpath.SetTo(path);
|
/haiku/headers/build/host/darwin/sys/ |
H A D | stat.h | 17 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/src/kits/package/ |
H A D | GlobalWritableFileInfo.cpp | 26 fPath(infoData.path), 33 BGlobalWritableFileInfo::BGlobalWritableFileInfo(const BString& path, argument 36 fPath(path), 86 BGlobalWritableFileInfo::SetTo(const BString& path, argument 89 fPath = path;
|
/haiku/src/tests/system/kernel/vm/ |
H A D | VMGetMountPointTest.cpp | 36 vfs_normalize_path(const char* path, char* buffer, size_t bufferSize, argument 45 stat(const char* path, struct stat* s) argument 47 if(strcmp(path, "/testduplicate") == 0) 146 KPath path; local 148 status_t status = get_mount_point(&partition, &path); 158 KPath path; local 160 status_t status = get_mount_point(&partition, &path); 163 CPPUNIT_ASSERT(strcmp(path.Path(), "/test2") == 0); 171 KPath path; local 173 status_t status = get_mount_point(&partition, &path); 184 KPath path; local 197 KPath path; local 210 KPath path; local [all...] |
/haiku/src/apps/haikudepot/packagemanagement/ |
H A D | OpenPackageProcess.cpp | 59 BString path = MakePath(entry); local 60 if (path.FindFirst("data/deskbar/menu") == 0 63 path.String(), entry->SymlinkPath()); 64 fDeskbarLinks.push_back(DeskbarLink(path, entry->SymlinkPath())); 92 BString path; local 94 if (!path.IsEmpty()) 95 path.Prepend('/', 1); 96 path.Prepend(entry->Name()); 99 return path; 143 BPath path; local [all...] |
/haiku/src/apps/haikudepot/util/ |
H A D | PackageUtils.cpp | 14 BPath& path) 17 path.SetTo(package->LocalFilePath()); 21 path.Unset(); 28 result = find_directory(which, &path); 31 path.Append(package->FileName()); 13 DeriveLocalFilePath(const PackageInfo* package, BPath& path) argument
|
H A D | StorageUtils.cpp | 30 PathWithLastAccessTimestamp(const BPath path, uint64 lastAccessMillisSinceEpoch) argument 32 fPath(path), 84 /* This method will append the contents of the file at the supplied path to the 89 StorageUtils::AppendToString(const BPath& path, BString& result) argument 91 BFile file(path.Path(), O_RDONLY); 103 StorageUtils::AppendToFile(const BString& input, const BPath& path) argument 105 BFile file(path.Path(), O_WRONLY | O_CREAT | O_APPEND); 115 BPath path; local 119 result = find_directory(B_USER_CACHE_DIRECTORY, &path); 121 result = path 148 RemoveDirectoryContents(BPath& path) argument 192 RemoveDirectoryContentsRetainingLatestFiles(BPath& path, uint32 countLatestRetained) argument 254 ExistsObject(const BPath& path, bool* exists, bool* isDirectory, off_t* size) argument 298 CheckCanWriteTo(const BPath& path) argument 360 LocalWorkingFilesPath(const BString leaf, BPath& path, bool failOnCreateDirectory) argument 395 LocalWorkingDirectoryPath(const BString leaf, BPath& path, bool failOnCreateDirectory) argument 430 SwapExtensionOnPath(BPath& path, const char* extension) argument [all...] |
/haiku/src/bin/rc/ |
H A D | rdef.cpp | 65 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/src/tests/add-ons/index_server/fulltext_search/ |
H A D | BeaconSearcher.cpp | 59 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/src/build/libroot/ |
H A D | function_remapper.cpp | 25 fchmodat(int fd, const char* path, mode_t mode, int flag) argument 29 return _haiku_build_fchmodat(fd, path, mode, flag); 43 fstatat(int fd, const char* path, struct stat* st, int flag) argument 47 return _haiku_build_fstatat(fd, path, st, flag); 52 mkdirat(int fd, const char* path, mode_t mode) argument 56 return _haiku_build_mkdirat(fd, path, mode); 61 mkfifoat(int fd, const char* path, mode_t mode) argument 65 return _haiku_build_mkfifoat(fd, path, mode); 70 utimensat(int fd, const char* path, const struct timespec times[2], int flag) argument 74 return _haiku_build_utimensat(fd, path, time 88 faccessat(int fd, const char* path, int accessMode, int flag) argument 133 linkat(int toFD, const char* toPath, int pathFD, const char* path, int flag) argument 142 unlinkat(int fd, const char* path, int flag) argument 151 readlinkat(int fd, const char* path, char* buffer, size_t bufferSize) argument 187 fchownat(int fd, const char* path, uid_t owner, gid_t group, int flag) argument 205 creat(const char* path, mode_t mode) argument 214 open(const char* path, int openMode, ...) argument 233 openat(int fd, const char* path, int openMode, ...) argument 279 fs_open_attr_dir(const char *path) argument 288 fs_lopen_attr_dir(const char *path) argument [all...] |