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

1234

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dopj_includes.h78 # define OPJ_FSEEK(stream,offset,whence) _fseeki64(stream,/* __int64 */ offset,whence)
84 # define OPJ_FSEEK(stream,offset,whence) fseek(stream,offset,whence)
/external/libvpx/libvpx/test/
H A Dwebm_video_source.h37 nestegg_seek_cb(int64_t offset, int whence, void *userdata) { argument
39 switch (whence) {
41 whence = SEEK_SET;
44 whence = SEEK_CUR;
47 whence = SEEK_END;
50 return fseek(f, (long)offset, whence) ? -1 : 0;
/external/libvpx/libvpx/
H A Dwebmdec.c29 static int nestegg_seek_cb(int64_t offset, int whence, void *userdata) { argument
30 switch (whence) {
32 whence = SEEK_SET;
35 whence = SEEK_CUR;
38 whence = SEEK_END;
41 return fseek(userdata, (int32_t)offset, whence) ? -1 : 0;
/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);
/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/linux-tools-perf/perf-3.12.0/tools/perf/ui/
H A Dbrowser.h26 void (*seek)(struct ui_browser *self, off_t offset, int whence);
63 void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence);
66 void ui_browser__rb_tree_seek(struct ui_browser *self, off_t offset, int whence);
69 void ui_browser__list_head_seek(struct ui_browser *self, off_t offset, int whence);
/external/chromium_org/components/nacl/loader/nonsfi/
H A Dirt_fdio.cc42 int IrtSeek(int fd, nacl_abi_off_t offset, int whence, argument
44 return CheckErrorWithResult(lseek(fd, offset, whence), new_offset);
/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/libvorbis/include/vorbis/
H A Dvorbisfile.h41 int (*seek_func) (void *datasource, ogg_int64_t offset, int whence);
53 static int _ov_header_fseek_wrap(FILE *f,ogg_int64_t off,int whence){ argument
57 return fseeko64(f,off,whence);
59 return _fseeki64(f,off,whence);
61 return fseek(f,off,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.15/include/
H A DSDL_rwops.h43 /** Seek to 'offset' relative to whence, one of stdio's whence values:
47 int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence);
122 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_wrap_real.h20 int _real_lseek(int fd, int64_t offset, int whence, int64_t* new_offset);
H A Dkernel_wrap_dummy.cc30 int _real_lseek(int fd, off_t offset, int whence, off_t* new_offset) { argument
/external/chromium_org/net/base/
H A Dfile_stream.cc46 int FileStream::Seek(base::File::Whence whence, argument
52 context_->Seek(whence, offset, callback);
H A Dfile_stream_context.h94 void Seek(base::File::Whence whence,
151 IOResult SeekFileImpl(base::File::Whence whence, int64 offset);
H A Dfile_stream_context_posix.cc81 base::File::Whence whence,
83 int64 res = file_.Seek(whence, offset);
80 SeekFileImpl( base::File::Whence whence, int64 offset) argument
H A Dfile_stream.h71 virtual int Seek(base::File::Whence whence, int64 offset,
/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);
/external/chromium_org/third_party/zlib/
H A Dgzlib.c277 z_off64_t ZEXPORT gzseek64(file, offset, whence)
280 int whence;
298 if (whence != SEEK_SET && whence != SEEK_CUR)
302 if (whence == SEEK_SET)
353 z_off_t ZEXPORT gzseek(file, offset, whence)
356 int whence;
360 ret = gzseek64(file, (z_off64_t)offset, whence);
/external/qemu/distrib/zlib-1.2.8/
H A Dgzlib.c362 z_off64_t ZEXPORT gzseek64(file, offset, whence)
365 int whence;
383 if (whence != SEEK_SET && whence != SEEK_CUR)
387 if (whence == SEEK_SET)
439 z_off_t ZEXPORT gzseek(file, offset, whence)
442 int whence;
446 ret = gzseek64(file, (z_off64_t)offset, whence);
/external/zlib/src/
H A Dgzlib.c362 z_off64_t ZEXPORT gzseek64(file, offset, whence)
365 int whence;
383 if (whence != SEEK_SET && whence != SEEK_CUR)
387 if (whence == SEEK_SET)
439 z_off_t ZEXPORT gzseek(file, offset, whence)
442 int whence;
446 ret = gzseek64(file, (z_off64_t)offset, whence);
/external/e2fsprogs/lib/ext2fs/
H A Dfileio.c338 int whence, __u64 *ret_pos)
342 if (whence == EXT2_SEEK_SET)
344 else if (whence == EXT2_SEEK_CUR)
346 else if (whence == EXT2_SEEK_END)
358 int whence, ext2_off_t *ret_pos)
364 retval = ext2fs_file_llseek(file, loffset, whence, &ret_loffset);
337 ext2fs_file_llseek(ext2_file_t file, __u64 offset, int whence, __u64 *ret_pos) argument
357 ext2fs_file_lseek(ext2_file_t file, ext2_off_t offset, int whence, ext2_off_t *ret_pos) argument
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dgzlib.c365 int whence)
383 if (whence != SEEK_SET && whence != SEEK_CUR)
387 if (whence == SEEK_SET)
442 int whence)
446 ret = gzseek64(file, (z_off64_t)offset, whence);
362 gzseek64( gzFile file, z_off64_t offset, int whence) argument
439 gzseek( gzFile file, z_off_t offset, int whence) argument
/external/chromium_org/media/filters/
H A Dffmpeg_glue.cc30 static int64 AVIOSeekOperation(void* opaque, int64 offset, int whence) { argument
33 switch (whence) {

Completed in 616 milliseconds

1234