Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 23 of 23) sorted by relevance

/haiku/src/system/libroot/posix/glibc/libio/
H A Dfseeko.c32 fseeko (fp, offset, whence) in fseeko() argument
35 int whence;
41 result = _IO_fseek (fp, offset, whence);
H A Dfseek.c32 fseek (fp, offset, whence) in fseek() argument
35 int whence;
41 result = _IO_fseek (fp, offset, whence);
H A Dfseeko64.c33 fseeko64 (fp, offset, whence) in fseeko64() argument
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) in lseek() argument
17 off_t result = _kern_seek(fd, pos, whence); in lseek()
/haiku/src/system/libroot/posix/glibc/include/
H A Dunistd.h19 #define __lseek(fd, pos, whence) \ argument
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) in fssh_lseek() argument
183 return lseek(fd, offset, to_platform_seek_mode(whence)); in fssh_lseek()
187 switch (whence) { in fssh_lseek()
/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) in seek() argument
100 TRACE("seek %lld %d\n", o, whence); in seek()
101 return buffer->Seek(o, whence) < 0; in seek()
/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) in _Seek() argument
634 cookie, offset, whence); in _Seek()
643 if (whence == AVSEEK_SIZE) { in _Seek()
651 off_t position = mediaIO->Seek(offset, whence); in _Seek()
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) in _Seek() argument
810 cookie, offset, whence); in _Seek()
818 if (whence == AVSEEK_SIZE) { in _Seek()
828 if (whence != SEEK_SET in _Seek()
836 off_t position = stream->fSource->Seek(offset, whence); in _Seek()
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunix_io.c245 int whence) in ntfs_device_unix_io_seek() argument
247 return lseek(DEV_FD(dev), offset, whence); in ntfs_device_unix_io_seek()
H A Ddevice.h106 s64 (*seek)(struct ntfs_device *dev, s64 offset, int whence);
H A Dwin32_io.c1283 int whence) in ntfs_device_win32_seek() argument
1288 ntfs_log_trace("seek offset = 0x%llx, whence = %d.\n", offset, whence); in ntfs_device_win32_seek()
1289 switch (whence) { in ntfs_device_win32_seek()
1307 ntfs_log_trace("Wrong mode %d.\n", whence); in ntfs_device_win32_seek()
/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/libs/libsolv/solv/
H A Ddataiterator.h181 void dataiterator_seek(Dataiterator *di, int whence);
H A Drepodata.c1744 dataiterator_seek(Dataiterator *di, int whence) in dataiterator_seek() argument
1746 if ((whence & DI_SEEK_STAY) != 0) in dataiterator_seek()
1748 switch (whence & ~DI_SEEK_STAY) in dataiterator_seek()
1753 if ((whence & DI_SEEK_STAY) != 0) in dataiterator_seek()
/haiku/src/bin/debug/strace/
H A DNetworkTypes.cpp127 #define LWHENCE(whence) \ in format_lwhence() argument
128 case whence: \ in format_lwhence()
129 return #whence in format_lwhence()
/haiku/headers/posix/
H A Dstdio.h109 typedef ssize_t (*cookie_seek_function_t)(void *cookie, off_t *offset, int whence);
H A Dunistd.h398 extern off_t lseek(int fd, off_t offset, int whence);
/haiku/src/libs/stdc++/legacy/
H A Deditbuf.cc473 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) in tiff_seek_proc() argument
157 return tiff_get_pio(stream)->Seek(off, whence); in tiff_seek_proc()
/haiku/src/system/boot/loader/
H A Dvfs.cpp924 lseek(int fd, off_t offset, int whence) in lseek() argument
930 status_t error = descriptor->Seek(offset, whence); in lseek()
/haiku/src/apps/mail/
H A Dwords27674 whence