/haiku/src/apps/debugger/user_interface/gui/team_window/ |
H A D | TeamWindow.cpp | 729 int32 fd; local 731 if (message->FindInt32("fd", &fd) != B_OK 735 fConsoleOutputView->ConsoleOutputReceived(fd, output); 1076 message.AddInt32("fd", event.Descriptor());
|
/haiku/src/system/libroot/posix/ |
H A D | dirent.cpp | 26 int fd; member in struct:__DIR 44 status_t status = _kern_rewind_dir(dir->fd); 82 count = _kern_read_dir(dir->fd, &dir->first_entry, 104 __create_dir_struct(int fd) argument 114 dir->fd = fd; 127 fdopendir(int fd) argument 133 int dirFD = _kern_open_dir(fd, NULL); 143 if (dup2(dirFD, fd) == -1) 144 close(fd); 167 int fd = _kern_open_dir(-1, path); local [all...] |
/haiku/src/system/kernel/disk_device_manager/ |
H A D | KPartition.cpp | 169 KPartition::Open(int flags, int* fd) argument 171 if (!fd) 181 *fd = open(path.Path(), flags); 182 if (*fd < 0)
|
H A D | KDiskDevice.cpp | 295 KDiskDevice::SetFD(int fd) argument 297 fFD = fd;
|
H A D | KPartitioningSystem.cpp | 69 int fd = -1; local 70 if (partition->Open(O_RDONLY, &fd) != B_OK) 73 close(fd); 77 float result = fModule->identify_partition(fd, partition->PartitionData(), 79 close(fd); 91 int fd = -1; local 92 status_t result = partition->Open(O_RDONLY, &fd); 95 result = fModule->scan_partition(fd, partition->PartitionData(), cookie); 96 close(fd); 161 int fd local 187 int fd = -1; local 213 int fd = -1; local 239 int fd = -1; local 267 int fd = -1; local 295 int fd = -1; local 322 int fd = -1; local 350 int fd = -1; local 378 int fd = -1; local 406 int fd = -1; local 431 int fd = -1; local 460 int fd = -1; local 488 int fd = -1; local [all...] |
/haiku/headers/private/kernel/disk_device_manager/ |
H A D | KPartition.h | 48 virtual status_t Open(int flags, int *fd);
|
/haiku/src/apps/login/ |
H A D | LoginApp.cpp | 199 int32 fd = -1; local 207 fd = open(pty, O_RDWR|O_NOCTTY); 208 if (fd >= 0) 210 return fd; 215 return fd;
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | fuse_main.cpp | 77 int fd = open("/dev/null", O_RDONLY); local 78 if (fd < 0) { 84 if (fd > 2) { 85 close(fd);
|
/haiku/src/add-ons/disk_systems/bfs/ |
H A D | BFSAddOn.cpp | 241 FileDescriptorCloser fd(open(path.Path(), O_RDONLY)); 242 if (!fd.IsSet()) 256 if (ioctl(fd.Get(), BFS_IOCTL_START_CHECKING, &result, sizeof(result)) < 0) 265 while (ioctl(fd.Get(), BFS_IOCTL_CHECK_NEXT_NODE, &result, 310 if (ioctl(fd.Get(), BFS_IOCTL_STOP_CHECKING, &result, sizeof(result)) != 0)
|
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_common.h | 279 * If this flag is set, the .fd field is valid, otherwise the 374 int fd; member in struct:fuse_buf 424 /* .fd = */ -1, \
|
H A D | fuse_lowlevel_compat.h | 152 int fd, size_t bufsize, void *data); 155 struct fuse_chan *fuse_kern_chan_new(int fd);
|
H A D | fuse_lowlevel.h | 1758 * @param fd file descriptor of the channel 1763 struct fuse_chan *fuse_chan_new(struct fuse_chan_ops *op, int fd,
|
H A D | fuse_compat.h | 53 struct fuse *fuse_new_compat25(int fd, struct fuse_args *args, 64 int *multithreaded, int *fd); 66 void fuse_teardown_compat22(struct fuse *fuse, int fd, char *mountpoint); 108 struct fuse *fuse_new_compat22(int fd, const char *opts, 115 int *multithreaded, int *fd); 154 struct fuse *fuse_new_compat2(int fd, const char *opts, 159 char **mountpoint, int *multithreaded, int *fd); 195 struct fuse *fuse_new_compat1(int fd, int flags,
|
/haiku/headers/private/userlandfs/private/ |
H A D | Requests.h | 1866 int fd; member in class:UserlandFSUtil::DoIterativeFDIORequest
|
/haiku/src/add-ons/accelerants/vesa/ |
H A D | accelerant_protos.h | 18 status_t vesa_init_accelerant(int fd);
|
H A D | accelerant.cpp | 142 int fd = open(path, B_READ_WRITE); local 143 if (fd < 0) 146 status_t status = init_common(fd, true); 162 close(fd);
|
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/ |
H A D | bios.cpp | 266 int fd; local 274 fd = open (fname, O_WRONLY | O_CREAT, 0666); 275 if (fd < 0) return; 279 write (fd, ((void *)(((uint8 *)rom) + cnt)), 1024); 280 close (fd);
|
/haiku/src/add-ons/kernel/drivers/input/i2c_hid/ |
H A D | HIDDevice.cpp | 77 int fd = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644); local 78 if (fd >= 0) { 79 write(fd, fReportDescriptor, descriptorLength); 80 close(fd);
|
/haiku/src/libs/agg/src/dbg_new/ |
H A D | agg_dbg_new.cpp | 126 FILE* fd = fopen("stdout.txt", "w"); local 127 fclose(fd);
|
/haiku/headers/libs/agg/dbg_new/ |
H A D | agg_dbg_new.h | 41 FILE* fd = fopen("stdout.txt", "at"); local 47 fputs(msg, fd); 48 fclose(fd);
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_fs_interface.h | 284 float (*identify_partition)(int fd, fssh_partition_data *partition, 286 fssh_status_t (*scan_partition)(int fd, fssh_partition_data *partition, 314 fssh_status_t (*defragment)(int fd, fssh_partition_id partition, 316 fssh_status_t (*repair)(int fd, fssh_partition_id partition, bool checkOnly, 318 fssh_status_t (*resize)(int fd, fssh_partition_id partition, 320 fssh_status_t (*move)(int fd, fssh_partition_id partition, 322 fssh_status_t (*set_content_name)(int fd, fssh_partition_id partition, 324 fssh_status_t (*set_content_parameters)(int fd, fssh_partition_id partition, 326 fssh_status_t (*initialize)(int fd, fssh_partition_id partition, 329 fssh_status_t (*uninitialize)(int fd, fssh_partition_i [all...] |
/haiku/headers/os/drivers/ |
H A D | fs_interface.h | 263 float (*identify_partition)(int fd, partition_data* partition, 265 status_t (*scan_partition)(int fd, partition_data* partition, 292 status_t (*defragment)(int fd, partition_id partition, 294 status_t (*repair)(int fd, partition_id partition, bool checkOnly, 296 status_t (*resize)(int fd, partition_id partition, off_t size, 298 status_t (*move)(int fd, partition_id partition, off_t offset, 300 status_t (*set_content_name)(int fd, partition_id partition, 302 status_t (*set_content_parameters)(int fd, partition_id partition, 304 status_t (*initialize)(int fd, partition_id partition, const char* name, 306 status_t (*uninitialize)(int fd, partition_i [all...] |
/haiku/src/system/runtime_loader/ |
H A D | images.cpp | 293 map_image(int fd, char const* path, image_t* image, bool fixed) argument 384 fd, PAGE_BASE(image->regions[i].fdstart)); 470 register_image(image_t* image, int fd, const char* path) argument 483 if (_kern_read_stat(fd, NULL, false, &stat, sizeof(struct stat)) == B_OK) {
|
/haiku/src/system/libroot/os/ |
H A D | image.cpp | 46 FileDescriptorCloser fd(open(path, O_RDONLY)); 47 if (!fd.IsSet()) 52 if (fs_stat_attr(fd.Get(), kEnvAttribute, &info) < 0) 55 _Init(fd.Get(), kEnvAttribute, info.size, env, envCount); 89 void _Init(int fd, const char* attribute, size_t size, argument 101 ssize_t bytesRead = fs_read_attr(fd, attribute, B_STRING_TYPE, 0,
|
/haiku/src/system/boot/loader/ |
H A D | package_support.cpp | 337 FileDescriptorCloser fd(open_from(packagesDirectory, path.Get(), O_RDONLY)); 338 if (!fd.IsSet()) 339 return fd.Get(); 342 if (fstat(fd.Get(), &st) != 0) 350 ssize_t bytesRead = read(fd.Get(), path.Get() + remainingBytes,
|