/haiku-fatelf/src/bin/findutils/lib/ |
H A D | nextelem.c | 1 /* Return the next element of a path. 41 /* Return the next element of a colon-separated path. 42 A null entry in the path is equivalent to "." (the current directory). 44 If NEW_PATH is non-NULL, set the path and return NULL. 51 static char *path = NULL; /* Freshly allocated copy of NEW_PATH. */ local 53 static int final_colon; /* If zero, path didn't end with a colon. */ 54 char *start; /* Start of path element to return. */ 58 if (path) 59 free (path); 60 end = path [all...] |
/haiku-fatelf/src/servers/bluetooth/ |
H A D | HCITransportAccessor.cpp | 15 HCITransportAccessor::HCITransportAccessor(BPath* path) : HCIDelegate(path) argument 19 fDescriptor = open (path->Path(), O_RDWR); 27 path->Path(), fIdentifier);
|
/haiku-fatelf/src/system/libroot/posix/sys/ |
H A D | chmod.c | 18 chmod(const char *path, mode_t mode) argument 24 status = _kern_write_stat(-1, path, true, &stat, sizeof(struct stat), 46 fchmodat(int fd, const char* path, mode_t mode, int flag) argument 52 status = _kern_write_stat(fd, path, (flag & AT_SYMLINK_NOFOLLOW) == 0, &stat,
|
/haiku-fatelf/src/system/libroot/posix/unistd/ |
H A D | directory.c | 17 chdir(const char *path) argument 19 RETURN_AND_SET_ERRNO(_kern_setcwd(-1, path)); 59 rmdir(const char *path) argument 61 RETURN_AND_SET_ERRNO(_kern_remove_dir(-1, path));
|
H A D | mount.c | 16 int unmount(const char *path); 27 unmount(const char *path)
|
H A D | chown.c | 18 chown(const char *path, uid_t owner, gid_t group) argument 25 status = _kern_write_stat(-1, path, true, &stat, sizeof(struct stat), 33 lchown(const char *path, uid_t owner, gid_t group) argument 40 status = _kern_write_stat(-1, path, false, &stat, sizeof(struct stat), 63 fchownat(int fd, const char* path, uid_t owner, gid_t group, int flag) argument 70 status = _kern_write_stat(fd, path, (flag & AT_SYMLINK_NOFOLLOW) == 0, &stat,
|
/haiku-fatelf/headers/build/os/storage/ |
H A D | Directory.h | 39 BDirectory(const char *path); 40 BDirectory(const BDirectory *dir, const char *path); 47 status_t SetTo(const char *path); 48 status_t SetTo(const BDirectory *dir, const char *path); 52 status_t FindEntry(const char *path, BEntry *entry, 55 bool Contains(const char *path, int32 nodeFlags = B_ANY_NODE) const; 58 status_t GetStatFor(const char *path, struct stat *st) const; 67 status_t CreateDirectory(const char *path, BDirectory *dir); 68 status_t CreateFile(const char *path, BFile *file, 70 status_t CreateSymLink(const char *path, cons [all...] |
/haiku-fatelf/headers/private/kernel/ |
H A D | kmodule.h | 29 extern status_t unload_module(const char *path); 30 extern status_t load_module(const char *path, module_info ***_modules);
|
/haiku-fatelf/headers/private/storage/ |
H A D | PathMonitor.h | 25 static status_t StartWatching(const char* path, uint32 flags, 28 static status_t StopWatching(const char* path,
|
H A D | storage_support.h | 30 //! Returns whether the supplied path is absolute. 31 bool is_absolute_path(const char *path); 37 //! splits a path name into directory path and leaf name 38 status_t split_path(const char *fullPath, char *&path, char *&leaf); 40 //! splits a path name into directory path and leaf name 41 status_t split_path(const char *fullPath, char **path, char **leaf); 43 //! Parses the first component of a path name. 44 status_t parse_first_path_component(const char *path, int3 [all...] |
/haiku-fatelf/src/add-ons/input_server/devices/wacom/ |
H A D | PointingDeviceFactory.cpp | 15 PointingDeviceFactory::DeviceFor(MasterServerDevice* parent, const char* path) argument 19 if (reader->SetTo(path) >= B_OK) {
|
/haiku-fatelf/src/apps/clock/ |
H A D | cl_wind.cpp | 37 BPath path; local 38 if (find_directory (B_USER_SETTINGS_DIRECTORY, &path, true) == B_OK) { 39 path.Append("Clock_settings"); 40 int ref = creat(path.Path(), 0777); 66 BPath path; local 67 if (find_directory (B_USER_SETTINGS_DIRECTORY, &path) == B_OK) { 68 path.Append("Clock_settings"); 69 ref = open(path.Path(), O_RDONLY);
|
/haiku-fatelf/src/apps/icon-o-matic/shape/commands/ |
H A D | CleanUpPathCommand.cpp | 24 CleanUpPathCommand::CleanUpPathCommand(VectorPath* path) argument 25 : PathCommand(path),
|
H A D | PathCommand.cpp | 24 PathCommand::PathCommand(VectorPath* path) argument 25 : fPath(path) 46 name << B_TRANSLATE("<modify path>");
|
H A D | ReversePathCommand.cpp | 24 ReversePathCommand::ReversePathCommand(VectorPath* path) argument 25 : PathCommand(path)
|
/haiku-fatelf/src/preferences/keyboard/ |
H A D | KeyboardSettings.cpp | 32 BPath path; local 38 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path); 40 status = path.Append(kb_settings_file); 42 status = file.SetTo(path.Path(), B_READ_ONLY); 56 BPath path; local 59 if (find_directory(B_USER_SETTINGS_DIRECTORY, &path) < B_OK) 62 if (path.Append(kb_settings_file) < B_OK) 66 if (file.SetTo(path.Path(), B_WRITE_ONLY) < B_OK)
|
/haiku-fatelf/headers/os/package/ |
H A D | PackageRoster.h | 41 status_t GetCommonRepositoryCachePath(BPath* path, 43 status_t GetUserRepositoryCachePath(BPath* path, 46 status_t GetCommonRepositoryConfigPath(BPath* path, 48 status_t GetUserRepositoryConfigPath(BPath* path, 68 status_t _GetRepositoryPath(BPath* path, bool create, 70 status_t _VisitRepositoryConfigs(const BPath& path,
|
/haiku-fatelf/headers/private/kernel/fs/ |
H A D | KPath.h | 18 KPath(const char* path, bool normalize = false, 23 status_t SetTo(const char *path, bool normalize = false, 30 status_t SetPath(const char *path, bool normalize = false, 50 KPath& operator=(const char* path); 53 bool operator==(const char* path) const; 55 bool operator!=(const char* path) const;
|
/haiku-fatelf/headers/private/shared/ |
H A D | OpenWithTracker.h | 30 OpenWithTracker(const char* path) argument 34 status = get_ref_for_path(path, &ref); 47 BPath path; local 48 find_directory(which, &path, createDirectory, volume); 51 path.Append(relativePath); 54 BEntry entry(path.Path());
|
/haiku-fatelf/src/add-ons/accelerants/vmware/ |
H A D | InitAccelerant.c | 100 char path[B_PATH_NAME_LENGTH]; local 104 strcpy(path, "/dev/"); 105 strlcat(path, (const char *)data, sizeof(path)); 107 TRACE("CLONE_ACCELERANT: %s\n", (const char *)path); 109 fd = open(path, B_READ_WRITE);
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/pci/arch/ppc/openfirmware/ |
H A D | pci_openfirmware.cpp | 32 char path[256]; local 34 while (of_get_next_device(&cookie, 0, "pci", path, sizeof(path)) 36 dprintf("ppc_openfirmware_pci_controller_init(): pci device node: %s\n", path); 38 int deviceNode = of_finddevice(path); 44 "\"compatible\" property for pci device: %s\n", path);
|
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/ |
H A D | ImageCache.cpp | 48 BString path(kTemporaryPath); 49 path << "/Cache" << (int)find_thread(NULL); 50 kCachePath = strdup(path.String()); 51 BString path2(path); 52 path += "/Image"; 53 kImagePathPrefix = strdup(path.String());
|
/haiku-fatelf/src/system/libroot/posix/ |
H A D | fcntl.cpp | 23 creat(const char *path, mode_t mode) argument 26 _kern_open(-1, path, O_CREAT | O_TRUNC | O_WRONLY, mode & ~__gUmask)); 32 open(const char *path, int openMode, ...) argument 43 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_open(-1, path, openMode, perms)); 48 openat(int fd, const char *path, int openMode, ...) argument 59 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_open(fd, path, openMode, perms));
|
/haiku-fatelf/src/tests/servers/app/code_to_name/ |
H A D | code_to_name.cpp | 46 print_code(BPath& path, int32 code) argument 48 FILE* file = fopen(path.Path(), "r"); 99 BPath path(&entry); 100 puts(path.Path()); 101 if (strstr(path.Path(), "headers/private/app/ServerProtocol.h") != NULL) { 102 print_code(path, number);
|
/haiku-fatelf/src/tools/locale/ |
H A D | PlainTextCatalog.cpp | 97 PlainTextCatalog::PlainTextCatalog(const char *path, const char *signature, argument 101 fPath(path) 113 PlainTextCatalog::ReadFromFile(const char *path) argument 118 if (!path) 119 path = fPath.String(); 121 catalogFile.open(path, std::fstream::in); 123 fprintf(stderr, "couldn't open catalog at %s\n", path); 140 currentItem.c_str(), path); 148 kCatArchiveVersion, path); 152 fprintf(stderr, "Unable to read from catalog %s\n", path); 257 WriteToFile(const char *path) argument 324 UpdateAttributes(const char* path) argument [all...] |