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

123

/haiku-fatelf/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-fatelf/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-fatelf/src/tests/kits/net/sock/
H A Dourhdr.h85 #define read_lock(fd, offset, whence, len) \
86 lock_reg(fd, F_SETLK, F_RDLCK, offset, whence, len)
87 #define readw_lock(fd, offset, whence, len) \
88 lock_reg(fd, F_SETLKW, F_RDLCK, offset, whence, len)
89 #define write_lock(fd, offset, whence, len) \
90 lock_reg(fd, F_SETLK, F_WRLCK, offset, whence, len)
91 #define writew_lock(fd, offset, whence, len) \
92 lock_reg(fd, F_SETLKW, F_WRLCK, offset, whence, len)
93 #define un_lock(fd, offset, whence, len) \
94 lock_reg(fd, F_SETLK, F_UNLCK, offset, whence, le
[all...]
/haiku-fatelf/src/bin/coreutils/lib/
H A Dlseek.c38 rpl_lseek (int fd, off_t offset, int whence) argument
64 return lseek (fd, offset, whence);
H A Dfseeko.c38 rpl_fseeko (FILE *fp, off_t offset, int whence) argument
103 whence == SEEK_END && offset > 0 ? 0 : offset,
104 whence);
146 if (!(whence == SEEK_END && offset > 0))
149 return fseeko (fp, offset, whence);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dlseek.c35 rpl_lseek (int fd, off_t offset, int whence) argument
61 return lseek (fd, offset, whence);
H A Dfseeko.c33 rpl_fseeko (FILE *fp, off_t offset, int whence) argument
101 off_t pos = lseek (fileno (fp), offset, whence);
119 return fseeko (fp, offset, whence);
H A Dstdio.h275 extern int fseeko (FILE *fp, off_t offset, int whence);
276 # define fseek(fp, offset, whence) fseeko (fp, (off_t)(offset), whence)
287 extern int rpl_fseek (FILE *fp, long offset, int whence);
H A Dstdio.in.h246 extern int fseeko (FILE *fp, off_t offset, int whence);
247 # define fseek(fp, offset, whence) fseeko (fp, (off_t)(offset), whence)
258 extern int rpl_fseek (FILE *fp, long offset, int whence);
/haiku-fatelf/src/bin/network/wget/lib/
H A Dlseek.c35 rpl_lseek (int fd, off_t offset, int whence) argument
61 return lseek (fd, offset, whence);
H A Dfseeko.c35 rpl_fseeko (FILE *fp, off_t offset, int whence) argument
100 whence == SEEK_END && offset > 0 ? 0 : offset,
101 whence);
126 if (!(whence == SEEK_END && offset > 0))
129 return fseeko (fp, offset, whence);
/haiku-fatelf/src/system/libroot/posix/glibc/include/
H A Dunistd.h19 #define __lseek(fd, pos, whence) \
20 lseek(fd, pos, whence)
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Dfseek.c55 fseeko(fp, offset, whence)
58 int whence;
79 * Change any SEEK_CUR to SEEK_SET, and check `whence' argument.
80 * After this, whence is either SEEK_SET or SEEK_END.
82 switch (whence) {
106 whence = SEEK_SET;
148 if (whence == SEEK_SET)
235 (*seekfn)(fp->_cookie, (fpos_t)offset, whence) == POS_ERR) {
255 fseek(fp, offset, whence)
258 int whence;
[all...]
H A Dstdio.c81 __sseek(cookie, offset, whence)
84 int whence;
89 ret = lseek(fp->_file, (off_t)offset, whence);
/haiku-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/
H A Dbon_io.h18 int seek(int offset, int whence);
/haiku-fatelf/src/libs/tiff/
H A Dtif_stream.cxx88 _tiffosSeekProc(thandle_t fd, toff_t off, int whence) argument
97 switch(whence) {
124 switch( whence ) {
161 _tiffisSeekProc(thandle_t fd, toff_t off, int whence) argument
165 switch(whence) {
/haiku-fatelf/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-fatelf/src/libs/zlib/
H A Dgzlib.c275 z_off64_t ZEXPORT gzseek64(file, offset, whence)
278 int whence;
296 if (whence != SEEK_SET && whence != SEEK_CUR)
300 if (whence == SEEK_SET)
351 z_off_t ZEXPORT gzseek(file, offset, whence)
354 int whence;
358 ret = gzseek64(file, (z_off64_t)offset, whence);
/haiku-fatelf/headers/private/fs_shell/
H A Dfssh_unistd.h71 extern fssh_off_t fssh_lseek(int fd, fssh_off_t offset, int whence);
/haiku-fatelf/src/add-ons/media/plugins/ffmpeg/
H A DAVFormatWriter.h49 static off_t _Seek(void* cookie, off_t offset, int whence);
H A DAVFormatWriter.cpp582 AVFormatWriter::_Seek(void* cookie, off_t offset, int whence) argument
585 cookie, offset, whence);
594 if (whence == AVSEEK_SIZE) {
601 off_t position = positionIO->Seek(offset, whence);
/haiku-fatelf/src/bin/gdb/bfd/
H A Dbfdio.c54 real_fseek (FILE *file, file_ptr offset, int whence) argument
57 return fseeko64 (file, offset, whence);
59 return fseeko (file, offset, whence);
61 return fseek (file, offset, whence);
92 . int (*bseek) (struct bfd *abfd, file_ptr offset, int whence);
/haiku-fatelf/src/libs/pdflib/libs/pdcore/
H A Dpc_file.h63 int pdc_fseek(pdc_file *sfp, long offset, int whence);

Completed in 171 milliseconds

123