/haiku/src/system/libroot/posix/unistd/ |
H A D | lseek.c | 15 lseek(int fd, off_t pos, int whence) function
|
/haiku/src/build/libroot/ |
H A D | fs_freebsd.cpp | 38 off_t cur = lseek(fd, 0, SEEK_CUR); 40 perror("lseek 1"); 53 off_t sdCur = lseek(fd, -(cur % sectorSize), SEEK_CUR); 55 perror("lseek oneblock"); 63 if (lseek(fd, -sectorSize + (cur % sectorSize) + nbytes, SEEK_CUR) 79 if (lseek(fd, -(sectorSize - seekDiff), SEEK_CUR) == -1) 80 perror("lseek seekDiff"); 82 off_t sdCur = lseek(fd,0,SEEK_CUR); 103 off_t sdCur = lseek(fd, 0, SEEK_CUR); 105 perror("lseek las [all...] |
H A D | fs.cpp | 738 off_t result = lseek(descriptor->fd, pos, seekType); 757 off_t result = lseek(descriptor->fd, pos, SEEK_SET); 783 off_t result = lseek(descriptor->fd, pos, SEEK_SET); 1130 off_t result = lseek(fd, pos, SEEK_SET); 1161 off_t result = lseek(fd, pos, SEEK_SET); 1181 off_t result = lseek(fd, pos, SEEK_SET); 1194 off_t result = lseek(fd, pos, SEEK_SET);
|
/haiku/src/system/libroot/posix/glibc/include/ |
H A D | unistd.h | 20 lseek(fd, pos, whence)
|
/haiku/src/tools/fs_shell/ |
H A D | partition_support.cpp | 105 lseek(fd, restriction->startOffset, SEEK_SET); 129 pos = lseek(fd, 0, SEEK_CUR); 183 return lseek(fd, offset, to_platform_seek_mode(whence)); 190 pos = lseek(fd, 0, SEEK_CUR); 210 pos = lseek(fd, pos, SEEK_SET);
|
H A D | uio.cpp | 66 return _kern_readv(fd, lseek(fd, 0, SEEK_CUR), systemVecs, count); 105 return _kern_writev(fd, lseek(fd, 0, SEEK_CUR), systemVecs, count);
|
/haiku/src/tools/fixup_amiga_boot_checksum/ |
H A D | fixup_amiga_boot_checksum.c | 41 lseek(fd, 0LL, SEEK_SET);
|
/haiku/src/kits/storage/ |
H A D | FileDescriptorIO.cpp | 65 off_t result = lseek(fFD, position, seekMode); 73 off_t result = lseek(fFD, 0, SEEK_CUR);
|
H A D | FdIO.cpp | 94 off_t newPosition = lseek(fFd, position, seekMode);
|
/haiku/src/tests/kits/media/soundplayer/ |
H A D | SoundPlayerTest.cpp | 33 lseek(fd, 44, SEEK_SET); // skip wav header 74 lseek(fd, 10000000, SEEK_CUR); // skip 10 MB
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | firmware.c | 89 firmwareFileSize = lseek(fileDescriptor, 0, SEEK_END); 93 lseek(fileDescriptor, 0, SEEK_SET);
|
/haiku/src/tests/system/libroot/posix/ |
H A D | fseek_test.cpp | 108 } else if (lseek(fd, 0, SEEK_CUR) != 0) { 109 printf("%d: lseek() returned different position\n", __LINE__); 126 } else if (lseek(fd, 0, SEEK_CUR) != 0) { 127 printf("%d: lseek() returned different position\n", __LINE__); 144 } else if (lseek(fd, 0, SEEK_CUR) != 0) { 145 printf("%d: lseek() returned different position\n", __LINE__); 162 } else if (lseek(fd, 0, SEEK_CUR) != 0) { 163 printf("%d: lseek() returned different position\n", __LINE__); 180 } else if (lseek(fd, 0, SEEK_CUR) != 0) { 181 printf("%d: lseek() returne [all...] |
H A D | tst-wprintf2.c | 58 lseek(fd, SEEK_SET, 0);
|
/haiku/src/tests/add-ons/kernel/file_systems/bfs/fragmenter/ |
H A D | fragmenter.cpp | 63 if (lseek(fd, pos, SEEK_SET) < 0
75 if (lseek(fd, pos, SEEK_SET) < 0
|
/haiku/src/bin/network/ftpd/ |
H A D | md5hl.c | 68 if (lseek(f, ofs, SEEK_SET) < 0)
|
/haiku/src/tools/hack_coff/ |
H A D | hack-coff.c | 73 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1
|
/haiku/src/tests/kits/media/playsound/ |
H A D | playwav.cpp | 86 lseek(fd, 44, SEEK_SET);
|
/haiku/src/tests/kits/media/playwav/ |
H A D | playwav.cpp | 65 lseek(fd, 44, SEEK_SET); // skip wav header
|
/haiku/src/bin/ |
H A D | dstcheck.cpp | 157 lseek(fd, 0, SEEK_SET);
|
/haiku/src/tools/fixup_next_boot_floppy/ |
H A D | fixup_next_boot_floppy.c | 126 lseek(fd, labelOffsets[i] * 0x200LL, SEEK_SET);
|
/haiku/src/tools/ |
H A D | set_haiku_revision.cpp | 400 if (lseek(fFD, position, SEEK_SET) < 0) 421 if (lseek(fFD, position, SEEK_SET) < 0) 441 off_t currentPos = lseek(fFD, 0, SEEK_END); 445 return lseek(fFD, currentPos, SEEK_SET);
|
/haiku/src/tools/remote_disk_server/ |
H A D | remote_disk_server.cpp | 208 off_t oldOffset = lseek(fImageFD, offset, SEEK_SET); 253 off_t oldOffset = lseek(fImageFD, offset, SEEK_SET);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | unix_io.c | 247 return lseek(DEV_FD(dev), offset, whence);
|
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/ |
H A D | consistency_check.cpp | 203 lseek(file, length + 1, SEEK_CUR);
|
/haiku/src/add-ons/media/media-add-ons/usb_webcam/ |
H A D | CamDevice.cpp | 548 lseek(fDumpFD, 0LL, SEEK_SET); 592 lseek(fDumpFD, 0LL, SEEK_SET);
|