Searched refs:whence (Results 1 - 20 of 20) sorted by relevance

/haiku/src/system/libroot/posix/glibc/libio/
H A Dfseek.c32 fseek (fp, offset, whence)
35 int whence;
41 result = _IO_fseek (fp, offset, whence);
H A Dfseeko.c32 fseeko (fp, offset, whence)
35 int whence;
41 result = _IO_fseek (fp, offset, whence);
H A Dfseeko64.c33 fseeko64 (fp, offset, whence)
36 int whence;
43 result = _IO_fseek (fp, offset, whence);
/haiku/src/system/libroot/posix/unistd/
H A Dlseek.c15 lseek(int fd, off_t pos, int whence) argument
17 off_t result = _kern_seek(fd, pos, whence);
/haiku/src/system/libroot/posix/glibc/include/
H A Dunistd.h19 #define __lseek(fd, pos, whence) \
20 lseek(fd, pos, whence)
/haiku/src/tools/fs_shell/
H A Dpartition_support.cpp179 fssh_lseek(int fd, fssh_off_t offset, int whence) argument
183 return lseek(fd, offset, to_platform_seek_mode(whence));
187 switch (whence) {
/haiku/headers/private/fs_shell/
H A Dfssh_unistd.h71 extern fssh_off_t fssh_lseek(int fd, fssh_off_t offset, int whence);
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVFormatWriter.h49 static off_t _Seek(void* cookie, off_t offset, int whence);
H A DAVFormatWriter.cpp631 AVFormatWriter::_Seek(void* cookie, off_t offset, int whence) argument
634 cookie, offset, whence);
643 if (whence == AVSEEK_SIZE) {
651 off_t position = mediaIO->Seek(offset, whence);
H A DAVFormatReader.cpp161 static off_t _Seek(void* cookie, off_t offset, int whence);
807 StreamBase::_Seek(void* cookie, off_t offset, int whence) argument
810 cookie, offset, whence);
818 if (whence == AVSEEK_SIZE) {
828 if (whence != SEEK_SET
836 off_t position = stream->fSource->Seek(offset, whence);
/haiku/src/add-ons/translators/raw/
H A DLibRAW.cpp52 virtual int seek(INT64 o, int whence);
97 LibRaw_haiku_datastream::seek(INT64 o, int whence) argument
100 TRACE("seek %lld %d\n", o, whence);
101 return buffer->Seek(o, whence) < 0;
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunix_io.c238 * @whence:
245 int whence)
247 return lseek(DEV_FD(dev), offset, whence);
244 ntfs_device_unix_io_seek(struct ntfs_device *dev, s64 offset, int whence) argument
H A Ddevice.h106 s64 (*seek)(struct ntfs_device *dev, s64 offset, int whence);
H A Dwin32_io.c1271 * @offset: required offset from the whence anchor
1272 * @whence: whence anchor specifying what @offset is relative to
1277 * @whence may be one of the following:
1283 int whence)
1288 ntfs_log_trace("seek offset = 0x%llx, whence = %d.\n", offset, whence);
1289 switch (whence) {
1307 ntfs_log_trace("Wrong mode %d.\n", whence);
1282 ntfs_device_win32_seek(struct ntfs_device *dev, s64 offset, int whence) argument
/haiku/src/bin/debug/strace/
H A DNetworkTypes.cpp139 #define LWHENCE(whence) \
140 case whence: \
141 return #whence
/haiku/headers/posix/
H A Dstdio.h109 typedef ssize_t (*cookie_seek_function_t)(void *cookie, off_t *offset, int whence);
H A Dunistd.h386 extern off_t lseek(int fd, off_t offset, int whence);
/haiku/src/libs/stdc++/legacy/
H A Deditbuf.cc438 // Called by fseek(fp, pos, whence) if fp is bound to a edit_buffer.
473 int buf_seek(void *arg_cookie, fpos_t * pos, int whence)
488 switch (whence) {
/haiku/src/add-ons/translators/tiff/
H A DTIFFTranslator.cpp155 tiff_seek_proc(thandle_t stream, toff_t off, int whence) argument
157 return tiff_get_pio(stream)->Seek(off, whence);
/haiku/src/system/boot/loader/
H A Dvfs.cpp924 lseek(int fd, off_t offset, int whence) argument
930 status_t error = descriptor->Seek(offset, whence);

Completed in 301 milliseconds