/haiku/src/build/libroot/ |
H A D | fs_freebsd.cpp | 38 off_t cur = lseek(fd, 0, SEEK_CUR); in haiku_freebsd_read() 53 off_t sdCur = lseek(fd, -(cur % sectorSize), SEEK_CUR); in haiku_freebsd_read() 63 if (lseek(fd, -sectorSize + (cur % sectorSize) + nbytes, SEEK_CUR) in haiku_freebsd_read() 79 if (lseek(fd, -(sectorSize - seekDiff), SEEK_CUR) == -1) in haiku_freebsd_read() 82 off_t sdCur = lseek(fd,0,SEEK_CUR); in haiku_freebsd_read() 103 off_t sdCur = lseek(fd, 0, SEEK_CUR); in haiku_freebsd_read() 113 if (lseek(fd, -(sectorSize - nbytesDiff), SEEK_CUR) == -1) in haiku_freebsd_read() 138 off_t cur = lseek(fd, 0, SEEK_CUR); in haiku_freebsd_write() 153 off_t sdCur = lseek(fd, -(cur % sectorSize), SEEK_CUR); in haiku_freebsd_write() 165 if (lseek(fd, -sectorSize + (cur % sectorSize) + nbytes, SEEK_CUR) in haiku_freebsd_write() [all …]
|
H A D | fs.cpp | 738 off_t result = lseek(descriptor->fd, pos, seekType); in _kern_seek() 757 off_t result = lseek(descriptor->fd, pos, SEEK_SET); in _kern_read() 783 off_t result = lseek(descriptor->fd, pos, SEEK_SET); in _kern_write() 1130 off_t result = lseek(fd, pos, SEEK_SET); in read_pos() 1161 off_t result = lseek(fd, pos, SEEK_SET); in write_pos() 1181 off_t result = lseek(fd, pos, SEEK_SET); in _kern_readv() 1194 off_t result = lseek(fd, pos, SEEK_SET); in _kern_writev()
|
/haiku/src/tools/fs_shell/ |
H A D | partition_support.cpp | 105 lseek(fd, restriction->startOffset, SEEK_SET); in restricted_file_opened() 129 pos = lseek(fd, 0, SEEK_CUR); in restricted_file_restrict_io() 183 return lseek(fd, offset, to_platform_seek_mode(whence)); in fssh_lseek() 190 pos = lseek(fd, 0, SEEK_CUR); in fssh_lseek() 210 pos = lseek(fd, pos, SEEK_SET); in fssh_lseek()
|
H A D | uio.cpp | 66 return _kern_readv(fd, lseek(fd, 0, SEEK_CUR), systemVecs, count); in fssh_readv() 105 return _kern_writev(fd, lseek(fd, 0, SEEK_CUR), systemVecs, count); in fssh_writev()
|
/haiku/src/kits/storage/ |
H A D | FileDescriptorIO.cpp | 65 off_t result = lseek(fFD, position, seekMode); in Seek() 73 off_t result = lseek(fFD, 0, SEEK_CUR); in Position()
|
H A D | FdIO.cpp | 94 off_t newPosition = lseek(fFd, position, seekMode); in Seek()
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | lseek.c | 15 lseek(int fd, off_t pos, int whence) in lseek() function
|
H A D | Jamfile | 32 lseek.c
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | firmware.c | 89 firmwareFileSize = lseek(fileDescriptor, 0, SEEK_END); in firmware_get() 93 lseek(fileDescriptor, 0, SEEK_SET); in firmware_get()
|
/haiku/src/tests/system/libroot/posix/ |
H A D | fseek_test.cpp | 108 } else if (lseek(fd, 0, SEEK_CUR) != 0) { in glibc_test() 126 } else if (lseek(fd, 0, SEEK_CUR) != 0) { in glibc_test() 144 } else if (lseek(fd, 0, SEEK_CUR) != 0) { in glibc_test() 162 } else if (lseek(fd, 0, SEEK_CUR) != 0) { in glibc_test() 180 } else if (lseek(fd, 0, SEEK_CUR) != 0) { in glibc_test() 198 } else if (lseek(fd, 0, SEEK_CUR) != 0) { in glibc_test()
|
H A D | tst-wprintf2.c | 58 lseek(fd, SEEK_SET, 0); in main()
|
/haiku/src/tests/kits/media/soundplayer/ |
H A D | SoundPlayerTest.cpp | 33 lseek(fd, 44, SEEK_SET); // skip wav header in main() 74 lseek(fd, 10000000, SEEK_CUR); // skip 10 MB in main()
|
/haiku/src/system/libroot/posix/glibc/include/ |
H A D | unistd.h | 20 lseek(fd, pos, whence)
|
/haiku/src/tools/fixup_amiga_boot_checksum/ |
H A D | fixup_amiga_boot_checksum.c | 41 lseek(fd, 0LL, SEEK_SET); in main()
|
/haiku/src/tests/add-ons/kernel/file_systems/bfs/fragmenter/ |
H A D | fragmenter.cpp | 63 if (lseek(fd, pos, SEEK_SET) < 0 in read_from() 75 if (lseek(fd, pos, SEEK_SET) < 0 in write_to()
|
/haiku/src/tools/ |
H A D | set_haiku_revision.cpp | 400 if (lseek(fFD, position, SEEK_SET) < 0) in Read() 421 if (lseek(fFD, position, SEEK_SET) < 0) in Write() 441 off_t currentPos = lseek(fFD, 0, SEEK_END); in FileSize() 445 return lseek(fFD, currentPos, SEEK_SET); in FileSize()
|
/haiku/src/tests/kits/media/playwav/ |
H A D | playwav.cpp | 65 lseek(fd, 44, SEEK_SET); // skip wav header in main()
|
/haiku/src/tests/kits/media/playsound/ |
H A D | playwav.cpp | 86 lseek(fd, 44, SEEK_SET); in main()
|
/haiku/src/tools/hack_coff/ |
H A D | hack-coff.c | 73 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1 in main()
|
/haiku/src/bin/network/ftpd/ |
H A D | md5hl.c | 68 if (lseek(f, ofs, SEEK_SET) < 0) in MD5FileChunk()
|
/haiku/src/tools/remote_disk_server/ |
H A D | remote_disk_server.cpp | 208 off_t oldOffset = lseek(fImageFD, offset, SEEK_SET); in _HandleReadRequest() 253 off_t oldOffset = lseek(fImageFD, offset, SEEK_SET); in _HandleWriteRequest()
|
/haiku/src/tools/fixup_next_boot_floppy/ |
H A D | fixup_next_boot_floppy.c | 126 lseek(fd, labelOffsets[i] * 0x200LL, SEEK_SET); in main()
|
/haiku/src/bin/ |
H A D | dstcheck.cpp | 157 lseek(fd, 0, SEEK_SET); in main()
|
/haiku/src/tests/add-ons/kernel/file_systems/shared/consistency_check/ |
H A D | consistency_check.cpp | 203 lseek(file, length + 1, SEEK_CUR); in main()
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | unix_io.c | 247 return lseek(DEV_FD(dev), offset, whence); in ntfs_device_unix_io_seek()
|