Searched refs:lseek (Results 1 - 25 of 42) sorted by relevance

12

/haiku/src/system/libroot/posix/unistd/
H A Dlseek.c15 lseek(int fd, off_t pos, int whence) function
/haiku/src/build/libroot/
H A Dfs_freebsd.cpp38 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 Dfs.cpp738 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 Dunistd.h20 lseek(fd, pos, whence)
/haiku/src/tools/fs_shell/
H A Dpartition_support.cpp105 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 Duio.cpp66 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 Dfixup_amiga_boot_checksum.c41 lseek(fd, 0LL, SEEK_SET);
/haiku/src/kits/storage/
H A DFileDescriptorIO.cpp65 off_t result = lseek(fFD, position, seekMode);
73 off_t result = lseek(fFD, 0, SEEK_CUR);
H A DFdIO.cpp94 off_t newPosition = lseek(fFd, position, seekMode);
/haiku/src/tests/kits/media/soundplayer/
H A DSoundPlayerTest.cpp33 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 Dfirmware.c89 firmwareFileSize = lseek(fileDescriptor, 0, SEEK_END);
93 lseek(fileDescriptor, 0, SEEK_SET);
/haiku/src/tests/system/libroot/posix/
H A Dfseek_test.cpp108 } 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 Dtst-wprintf2.c58 lseek(fd, SEEK_SET, 0);
/haiku/src/tests/add-ons/kernel/file_systems/bfs/fragmenter/
H A Dfragmenter.cpp63 if (lseek(fd, pos, SEEK_SET) < 0
75 if (lseek(fd, pos, SEEK_SET) < 0
/haiku/src/bin/network/ftpd/
H A Dmd5hl.c68 if (lseek(f, ofs, SEEK_SET) < 0)
/haiku/src/tools/hack_coff/
H A Dhack-coff.c73 if (lseek(fd, (long) sizeof(struct external_filehdr), 0) == -1
/haiku/src/tests/kits/media/playsound/
H A Dplaywav.cpp86 lseek(fd, 44, SEEK_SET);
/haiku/src/tests/kits/media/playwav/
H A Dplaywav.cpp65 lseek(fd, 44, SEEK_SET); // skip wav header
/haiku/src/bin/
H A Ddstcheck.cpp157 lseek(fd, 0, SEEK_SET);
/haiku/src/tools/fixup_next_boot_floppy/
H A Dfixup_next_boot_floppy.c126 lseek(fd, labelOffsets[i] * 0x200LL, SEEK_SET);
/haiku/src/tools/
H A Dset_haiku_revision.cpp400 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 Dremote_disk_server.cpp208 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 Dunix_io.c247 return lseek(DEV_FD(dev), offset, whence);
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/
H A Dconsistency_check.cpp203 lseek(file, length + 1, SEEK_CUR);
/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamDevice.cpp548 lseek(fDumpFD, 0LL, SEEK_SET);
592 lseek(fDumpFD, 0LL, SEEK_SET);

Completed in 220 milliseconds

12