/haiku/src/kits/package/ |
H A D | PackageInfo.cpp | 156 int FD() const function in struct:BPackageKit::BPackageInfo::PackageFileLocation 1185 : packageReader.Init(fileLocation.FD(), false); 1199 : packageReader.Init(fileLocation.FD(), false);
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 2377 to by a FD + path pair. 2388 \param fd The FD. May be < 0. 2747 /*! Gets the vnode from an FD + path combination. If \a fd is lower than zero, 2764 // no FD or absolute path 2768 // FD only, or FD + relative path 4339 // no path given: get the FD and use the FD operation 5443 // on success keep the vnode reference for the FD 5617 // The vnode reference has been transferred to the FD [all...] |
H A D | vfs_boot.cpp | 130 ssize_t bytesRead = read_pos(device->FD(), offset, buffer, sizeof(buffer));
|
/haiku/src/kits/debugger/debug_info/ |
H A D | DwarfImageDebugInfo.cpp | 987 ssize_t bytesRead = pread(fFile->GetElfFile()->FD(), buffer, size, offset);
|
/haiku/src/system/kernel/disk_device_manager/ |
H A D | KDiskDevice.cpp | 302 KDiskDevice::FD() const function in class:KDiskDevice
|
/haiku/src/apps/terminal/ |
H A D | Shell.cpp | 244 Shell::FD() const function in class:Shell
|
H A D | Shell.h | 46 int FD() const;
|
/haiku/src/kits/package/hpkg/ |
H A D | PackageWriterImpl.cpp | 296 int FD() const function in struct:BPackageKit::BHPKG::BPrivate::PackageWriterImpl::Entry 931 if (entry->FD() >= 0) { 932 if (fstatat(entry->FD(), *fileName != '\0' ? fileName : NULL, &st, 1064 if (entry != NULL && entry->FD() >= 0) { 1066 fd = entry->FD(); 1171 // we need to clone the directory FD for fdopendir() 1175 "Failed to dup() directory FD: %s\n", strerror(errno)); 1413 if (entry != NULL && entry->FD() >= 0) { 1415 fd = entry->FD(); 1571 // we need to clone the directory FD fo [all...] |
/haiku/src/system/boot/loader/ |
H A D | vfs.cpp | 641 Node *device = get_node_from(partition->FD());
|
/haiku/src/build/libroot/ |
H A D | fs_attr_untyped.cpp | 193 // not a system FD, we need to get a path for it. 206 // keep the path, otherwise we open a FD. 221 // FD was given -- dup it. 463 // resolve FD 481 bytesRead = get_attribute(localFD.FD(), NULL, attribute.c_str(), 530 // resolve FD 558 result = set_attribute(localFD.FD(), NULL, attribute.c_str(), 583 // resolve FD 599 result = remove_attribute(localFD.FD(), NULL, attribute.c_str()); 620 // resolve FD [all...] |
H A D | fs_attr_haiku.cpp | 78 if (localFD.FD() < 0) { 81 return fs_fopen_attr_dir(localFD.FD()); 122 if (localFD.FD() < 0) { 126 return fs_fopen_attr(localFD.FD(), attribute, type, openMode); 150 if (localFD.FD() < 0) { 156 bytesRead = fs_read_attr(localFD.FD(), attribute, type, 183 if (localFD.FD() < 0) { 189 written = fs_write_attr(localFD.FD(), attribute, type, 209 if (localFD.FD() < 0) { 214 result = fs_remove_attr(localFD.FD(), attribut [all...] |
H A D | LocalFD.h | 34 int FD() const function in class:LocalFD
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | checksumfs.cpp | 1097 RETURN_ERROR(do_iterative_fd_io(volume->FD(), request,
|
H A D | File.cpp | 777 if (ioctl(GetVolume()->FD(), CHECKSUM_DEVICE_IOCTL_SET_CHECK_SUM, 868 if (ioctl(GetVolume()->FD(), CHECKSUM_DEVICE_IOCTL_SET_CHECK_SUM,
|
H A D | Transaction.cpp | 311 if (ioctl(fVolume->FD(), CHECKSUM_DEVICE_IOCTL_GET_CHECK_SUM, 418 if (ioctl(fVolume->FD(), CHECKSUM_DEVICE_IOCTL_SET_CHECK_SUM, fCheckSum, 437 if (ioctl(fVolume->FD(), CHECKSUM_DEVICE_IOCTL_SET_CHECK_SUM,
|
/haiku/src/system/libnetwork/ |
H A D | interfaces.cpp | 37 int FD() const { return fFD; } function in class:BPrivate::Socket 52 if (socket.FD() < 0) 57 if (ioctl(socket.FD(), SIOCGIFINDEX, &request, sizeof(struct ifreq)) < 0) 68 if (socket.FD() < 0) 73 if (ioctl(socket.FD(), SIOCGIFNAME, &request, sizeof(struct ifreq)) < 0) 85 if (socket.FD() < 0) 92 if (ioctl(socket.FD(), SIOCGIFCOUNT, &config, sizeof(struct ifconf)) < 0) 104 if (ioctl(socket.FD(), SIOCGIFCONF, &config, sizeof(struct ifconf)) < 0) 119 if (ioctl(socket.FD(), SIOCGIFINDEX, &request,
|
/haiku/src/kits/debugger/elf/ |
H A D | CoreFile.cpp | 330 ssize_t bytesRead = pread(fElfFile.FD(), notes, notesSize,
|
/haiku/headers/private/kernel/boot/ |
H A D | partitions.h | 42 int FD() const { return fFD; } function in class:boot::Partition
|
/haiku/src/kits/debugger/debugger_interface/core/ |
H A D | CoreFileDebuggerInterface.cpp | 365 ssize_t bytesRead = pread(fCoreFile->GetElfFile().FD(), buffer, toRead,
|
/haiku/headers/private/debugger/elf/ |
H A D | ElfFile.h | 124 int FD() const { return fFD; } function in class:ElfFile
|
/haiku/src/kits/package/hpkg/v1/ |
H A D | PackageReaderImplV1.cpp | 416 if (fstat(FD(), &st) < 0) {
|
/haiku/headers/private/package/hpkg/v1/ |
H A D | PackageReaderImpl.h | 75 return FD();
|
H A D | ReaderImplBase.h | 40 int FD() const; 266 ReaderImplBase::FD() const function in class:BPackageKit::BHPKG::V1::BPrivate::ReaderImplBase
|
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | libioP.h | 872 # define FILEBUF_LITERAL(CHAIN, FLAGS, FD, WDP) \ 874 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, (_IO_FILE *) CHAIN, FD, \ 875 0, _IO_pos_BAD, 0, 0, { 0 }, &_IO_stdfile_##FD##_lock } 878 # define FILEBUF_LITERAL(CHAIN, FLAGS, FD, WDP) \ 880 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, (_IO_FILE *) CHAIN, FD, \ 881 0, _IO_pos_BAD, 0, 0, { 0 }, &_IO_stdfile_##FD##_lock, _IO_pos_BAD,\ 884 # define FILEBUF_LITERAL(CHAIN, FLAGS, FD, WDP) \ 886 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, (_IO_FILE *) CHAIN, FD, \ 887 0, _IO_pos_BAD, 0, 0, { 0 }, &_IO_stdfile_##FD##_lock, _IO_pos_BAD,\ 893 # define FILEBUF_LITERAL(CHAIN, FLAGS, FD, WD [all...] |
H A D | stdfiles.c | 39 # define DEF_STDFILE(NAME, FD, CHAIN, FLAGS) \ 40 static _IO_lock_t _IO_stdfile_##FD##_lock = _IO_lock_initializer; \ 41 static struct _IO_wide_data _IO_wide_data_##FD \ 44 = {FILEBUF_LITERAL(CHAIN, FLAGS, FD, &_IO_wide_data_##FD), \ 47 # define DEF_STDFILE(NAME, FD, CHAIN, FLAGS) \ 48 static _IO_lock_t _IO_stdfile_##FD##_lock = _IO_lock_initializer; \ 50 = {FILEBUF_LITERAL(CHAIN, FLAGS, FD, NULL), \ 55 # define DEF_STDFILE(NAME, FD, CHAIN, FLAGS) \ 56 static struct _IO_wide_data _IO_wide_data_##FD \ [all...] |