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

123

/external/e2fsprogs/lib/blkid/
H A Dllseek.c90 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence) argument
97 return lseek(fd, (off_t) offset, whence);
104 result = my_llseek(fd, offset, whence);
H A DblkidP.h163 extern blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence);
/external/flac/include/FLAC/
H A Dcallback.h122 * \param offset The new position, relative to \a whence
123 * \param whence \c SEEK_SET, \c SEEK_CUR, or \c SEEK_END
127 typedef int (*FLAC__IOCallback_Seek) (FLAC__IOHandle handle, FLAC__int64 offset, int whence);
/external/clang/test/Analysis/
H A Dstream.c46 fseek(p, 1, 3); // expected-warning {{The whence argument to fseek() should be SEEK_SET, SEEK_END, or SEEK_CUR.}}
81 // PR 8081 - null pointer crash when 'whence' is not an integer constant
82 void pr8081(FILE *stream, long offset, int whence) { argument
83 fseek(stream, offset, whence);
/external/stlport/src/
H A Dstdio_streambuf.cpp78 int whence; local
81 whence = SEEK_SET;
84 whence = SEEK_CUR;
87 whence = SEEK_END;
93 if (off <= numeric_limits<off_type>::max() && FSEEK(_M_file, off, whence) == 0) {
/external/qemu/distrib/sdl-1.2.12/include/
H A DSDL_rwops.h42 /* Seek to 'offset' relative to whence, one of stdio's whence values:
46 int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence);
114 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
/external/chromium/net/base/
H A Dfile_stream.h62 int64 Seek(Whence whence, int64 offset);
H A Dfile_stream_posix.cc328 int64 FileStream::Seek(Whence whence, int64 offset) { argument
338 static_cast<int>(whence));
H A Dfile_stream_win.cc183 int64 FileStream::Seek(Whence whence, int64 offset) { argument
190 DWORD move_method = static_cast<DWORD>(whence);
/external/stlport/src/details/
H A Dfstream_stdio.cpp344 int whence; local
350 whence = SEEK_SET;
353 whence = SEEK_CUR;
358 whence = SEEK_END;
364 if ( FSEEK(_M_file, offset, whence) == 0 ) {
H A Dfstream_unistd.cpp288 int whence; local
294 whence = SEEK_SET;
297 whence = SEEK_CUR;
302 whence = SEEK_END;
308 return LSEEK(_M_file_id, offset, whence);
H A Dfstream_win32io.cpp549 int whence; local
555 whence = FILE_BEGIN;
558 whence = FILE_CURRENT;
563 whence = FILE_END;
571 li.LowPart = SetFilePointer(_M_file_id, li.LowPart, &li.HighPart, whence);
/external/webkit/Source/WebCore/platform/posix/
H A DFileSystemPOSIX.cpp97 int whence = SEEK_SET; local
100 whence = SEEK_SET;
103 whence = SEEK_CUR;
106 whence = SEEK_END;
111 return static_cast<long long>(lseek(handle, offset, whence));
/external/e2fsprogs/lib/ext2fs/
H A Dfileio.c297 int whence, __u64 *ret_pos)
301 if (whence == EXT2_SEEK_SET)
303 else if (whence == EXT2_SEEK_CUR)
305 else if (whence == EXT2_SEEK_END)
317 int whence, ext2_off_t *ret_pos)
323 retval = ext2fs_file_llseek(file, loffset, whence, &ret_loffset);
296 ext2fs_file_llseek(ext2_file_t file, __u64 offset, int whence, __u64 *ret_pos) argument
316 ext2fs_file_lseek(ext2_file_t file, ext2_off_t offset, int whence, ext2_off_t *ret_pos) argument
/external/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);
/external/bluetooth/glib/glib/
H A Dgiounix.c267 int whence; local
274 whence = SEEK_SET;
277 whence = SEEK_CUR;
280 whence = SEEK_END;
283 whence = -1; /* Shut the compiler up */
296 result = lseek (unix_channel->fd, tmp_offset, whence);
/external/libvpx/nestegg/include/nestegg/
H A Dnestegg.h97 @param whence Seek direction. One of #NESTEGG_SEEK_SET,
102 int (* seek)(int64_t offset, int whence, void * userdata);
/external/valgrind/main/include/
H A Dpub_tool_libcfile.h76 extern OffT VG_(lseek) ( Int fd, OffT offset, Int whence );
/external/qemu/distrib/sdl-1.2.12/src/file/
H A DSDL_rwops.c126 static int SDLCALL win32_file_seek(SDL_RWops *context, int offset, int whence) argument
137 if (whence == RW_SEEK_CUR && context->hidden.win32io.buffer.left) {
142 switch (whence) {
150 SDL_SetError("win32_file_seek: Unknown value for 'whence'");
263 static int SDLCALL stdio_seek(SDL_RWops *context, int offset, int whence) argument
265 if ( fseek(context->hidden.stdio.fp, offset, whence) == 0 ) {
307 static int SDLCALL mem_seek(SDL_RWops *context, int offset, int whence) argument
311 switch (whence) {
322 SDL_SetError("Unknown value for 'whence'");
/external/tremolo/Tremolo/
H A Divorbisfile.h61 int (*seek_func) (void *datasource, ogg_int64_t offset, int whence);
/external/yaffs2/yaffs2/direct/
H A Dyaffsfs.h179 off_t yaffs_lseek(int fd, off_t offset, int whence) ;
/external/libvpx/nestegg/test/
H A Dtest.c29 stdio_seek(int64_t offset, int whence, void * fp) argument
31 return fseek(fp, offset, whence);
/external/qemu/android/
H A Dsnapshot.c70 seek_or_die(int fd, off_t offset, int whence) argument
72 off_t ret = lseek(fd, offset, whence);
/external/libvpx/
H A Dvpxdec.c492 nestegg_seek_cb(int64_t offset, int whence, void * userdata) argument
494 switch(whence) {
495 case NESTEGG_SEEK_SET: whence = SEEK_SET; break;
496 case NESTEGG_SEEK_CUR: whence = SEEK_CUR; break;
497 case NESTEGG_SEEK_END: whence = SEEK_END; break;
499 return fseek(userdata, offset, whence)? -1 : 0;
/external/qemu/distrib/zlib-1.2.3/
H A Dgzio.c767 z_off_t ZEXPORT gzseek (file, offset, whence)
770 int whence;
774 if (s == NULL || whence == SEEK_END ||
783 if (whence == SEEK_SET) {
809 if (whence == SEEK_CUR) {

Completed in 444 milliseconds

123