Searched defs:whence (Results 1 - 25 of 26) sorted by relevance

12

/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/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/libvpx/nestegg/test/
H A Dtest.c29 stdio_seek(int64_t offset, int whence, void * fp) argument
31 return fseek(fp, 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/chromium/net/base/
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/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/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/linux-tools-perf/util/ui/
H A Dbrowser.c42 void ui_browser__list_head_seek(struct ui_browser *self, off_t offset, int whence) argument
47 switch (whence) {
72 void ui_browser__rb_tree_seek(struct ui_browser *self, off_t offset, int whence) argument
77 switch (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/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/strace/
H A Ddesc.c225 static const struct xlat whence[] = { variable in typeref:struct:xlat
275 tprintf(", whence=");
276 printxval(whence, fl.l_whence, "SEEK_???");
298 tprintf(", whence=");
299 printxval(whence, fl.l_whence, "SEEK_???");
/external/qemu/distrib/sdl-1.2.15/src/file/
H A DSDL_rwops.c186 static int SDLCALL win32_file_seek(SDL_RWops *context, int offset, int whence) argument
197 if (whence == RW_SEEK_CUR && context->hidden.win32io.buffer.left) {
202 switch (whence) {
210 SDL_SetError("win32_file_seek: Unknown value for 'whence'");
323 static int SDLCALL stdio_seek(SDL_RWops *context, int offset, int whence) argument
325 if ( fseek(context->hidden.stdio.fp, offset, whence) == 0 ) {
367 static int SDLCALL mem_seek(SDL_RWops *context, int offset, int whence) argument
371 switch (whence) {
382 SDL_SetError("Unknown value for 'whence'");
/external/tremolo/Tremolo/
H A Dvorbisfile.c715 static int _fseek64_wrap(FILE *f,ogg_int64_t off,int whence){ argument
717 return fseek(f,(long)off,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/linux-tools-perf/util/ui/browsers/
H A Dhists.c638 off_t offset, int whence)
647 switch (whence) {
637 ui_browser__hists_seek(struct ui_browser *self, off_t offset, int whence) argument
/external/qemu/hw/
H A Dgoldfish_nand.c181 static int do_lseek(int fd, off_t offset, int whence) argument
185 ret = lseek(fd, offset, whence);
/external/yaffs2/yaffs2/direct/
H A Dyaffsfs.c650 off_t yaffs_lseek(int fd, off_t offset, int whence) argument
666 else if(whence == SEEK_SET)
673 else if(whence == SEEK_CUR)
680 else if(whence == SEEK_END)
/external/flac/libFLAC/
H A Dmetadata_iterators.c142 static int fseek_wrapper_(FLAC__IOHandle handle, FLAC__int64 offset, int whence);
3323 int fseek_wrapper_(FLAC__IOHandle handle, FLAC__int64 offset, int whence) argument
3325 return fseeko((FILE*)handle, (off_t)offset, whence);
/external/libvorbis/lib/
H A Dvorbisfile.c867 static int _fseek64_wrap(FILE *f,ogg_int64_t off,int whence){ argument
869 return fseek(f,off,whence);
/external/qemu/
H A Dsavevm.c606 int64_t qemu_fseek(QEMUFile *f, int64_t pos, int whence) argument
608 if (whence == SEEK_SET) {
610 } else if (whence == SEEK_CUR) {
/external/libvpx/nestegg/src/
H A Dnestegg.c503 ne_io_seek(nestegg_io * io, int64_t offset, int whence) argument
505 return io->seek(offset, whence, io->userdata);

Completed in 736 milliseconds

12