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

12

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Stdio/
H A Dstdio.c95 (void) lseek(fp->_file, (off_t)0, SEEK_END);
112 ret = lseek(fp->_file, (off_t)offset, whence);
/vbox/src/libs/zlib-1.2.6/examples/
H A Dgzlog.c231 #include <unistd.h> /* lseek, read, write, close, unlink, sleep, */
415 if (lseek(log->fd, 0, SEEK_SET) < 0 ||
451 ret = lseek(log->fd, HEAD, SEEK_SET) < 0 ||
476 if (back != 8 && (lseek(log->fd, log->last - len, SEEK_SET) < 0 ||
491 return lseek(log->fd, log->last - len, SEEK_SET) < 0 ||
493 lseek(log->fd, log->stored, SEEK_CUR) < 0 ? -1 : 0;
553 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end))
644 if (lseek(log->fd, log->first - (log->back > 8 ? 2 : 1),
646 read(log->fd, buf, 1) != 1 || lseek(log->fd, -1, SEEK_CUR) < 0) {
677 if ((log->first = lseek(lo
[all...]
H A Dgzappend.c33 * - Add L to constants in lseek() calls
208 if (lseek(in->fd, (off_t)bypass, SEEK_CUR) == -1)
289 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - gz.left;
329 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - strm->avail_in;
338 end = lseek(gz.fd, 0L, SEEK_CUR) - gz.left;
353 lseek(gz.fd, lastoff - (lastbit != 0), SEEK_SET);
356 lseek(gz.fd, -1L, SEEK_CUR);
372 lseek(gz.fd, --end, SEEK_SET);
376 lseek(gz.fd, end, SEEK_SET);
H A Dgzjoin.c58 #include <unistd.h> /* close(), read(), lseek() */
181 lseek(in->fd, skip - 1, SEEK_CUR);
188 lseek(in->fd, skip - left, SEEK_CUR);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/
H A DEfiSysCall.h46 off_t lseek (int, off_t, int);
77 /* whence values for lseek(2)
294 off_t lseek (int, off_t, int);
H A Dtypes.h224 extern off_t lseek (int, off_t, int);
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c88 (void) lseek(fds[n - 1], 123, SEEK_SET);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw16io.c231 rv = lseek( fd->secret->md.osfd, offset, whence );
665 seekOrigin = lseek( f, 0l, SEEK_SET );
700 rc = lseek( f, seekOrigin, SEEK_SET );
734 seekOrigin = lseek( f, 0l, SEEK_SET );
757 rc = lseek( f, seekOrigin, SEEK_SET );
785 seekOrigin = lseek( f, 0l, SEEK_SET );
806 rc = lseek( f, seekOrigin, SEEK_SET );
/vbox/src/VBox/Additions/x11/x11include/xproto-7.0.18/X11/
H A DXw32defs.h38 # define lseek _lseek macro
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libctf/common/
H A Dctf_lib.c116 off_t const offSaved = lseek(fd, 0, SEEK_CUR);
128 if (lseek(offFile, offFile, SEEK_SET) >= 0) {
148 lseek(offSaved, 0, SEEK_SET);
168 if (lseek(fd, offFile, SEEK_SET) < 0)
/vbox/src/VBox/Runtime/r3/linux/
H A Dsysfs.cpp226 off_t off = lseek(fd, 0, SEEK_CUR);
232 lseek(fd, off, SEEK_SET);
/vbox/src/VBox/RDP/client-1.8.3/
H A Ddisk.c229 if ((pos = lseek(fd, 0, SEEK_CUR)) == -1)
231 perror("lseek");
236 if (lseek(fd, length, SEEK_SET) == -1)
238 perror("lseek");
257 if (lseek(fd, pos, SEEK_SET) == -1)
259 perror("lseek");
596 lseek(handle, offset, SEEK_SET);
626 lseek(handle, offset, SEEK_SET);
1094 else if (lseek(fd, 32767, SEEK_SET) >= 0) /* ISO9660 */
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Include/
H A DOpenSslSupport.h184 off_t lseek (int, off_t, int);
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLib/SysCall/
H A DCrtWrapper.c412 off_t lseek (int a, off_t o, int d) function
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/VBoxFsDxe/test/
H A Dfsw_posix.c375 seek_result = lseek(pvol->fd, block_offset, SEEK_SET);
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/msvcrt/
H A Dio.h159 static inline __msvcrt_long lseek(int fd, __msvcrt_long off, int where) { return _lseek(fd, off, where); } function
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/msvcrt/
H A Dio.h156 static inline __msvcrt_long lseek(int fd, __msvcrt_long off, int where) { return _lseek(fd, off, where); } function
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/
H A Dbfile.c267 rv = lseek (fd->secret->md.osfd, offset, whence);
280 /* According to the BeOS headers, lseek accepts a
286 rv = lseek (fd->secret->md.osfd, offset, whence);
/vbox/src/recompiler/
H A Dqemu-common.h123 #define lseek _lseeki64 macro
/vbox/src/libs/zlib-1.2.6/
H A Dgzlib.c14 # define LSEEK lseek
/vbox/src/recompiler/tests/
H A Dtest-mmap.c470 test_fsize = lseek(test_fd, 0, SEEK_CUR);
H A Dlinux-test.c110 /* open/read/write/close/readv/writev/lseek */
138 ret = chk_error(lseek(fd, FOFFSET, SEEK_SET));
140 error("lseek");
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Uefi/
H A DSysCalls.c468 The lseek() function repositions the offset of the file descriptor fildes
470 fildes must be an open file descriptor. lseek() repositions the file
481 The lseek() function allows the file offset to be set beyond the end of
489 @return Upon successful completion, lseek() returns the resulting offset
495 lseek (int fd, __off_t offset, int how) function
1029 read() shall return bytes with value 0. For example, lseek() allows the
/vbox/src/VBox/Runtime/r3/posix/
H A Dfileio-posix.cpp447 off_t offCurrent = lseek(RTFileToNative(hFile), (off_t)offSeek, aSeekRecode[uMethod]);
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A Dxf86_libc.h581 #define lseek(a,b,c) xf86lseek(a,b,c) macro

Completed in 1637 milliseconds

12