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

123

/external/linux-tools-perf/util/ui/
H A Dbrowser.h23 void (*seek)(struct ui_browser *self, off_t offset, int whence);
45 void ui_browser__rb_tree_seek(struct ui_browser *self, off_t offset, int whence);
48 void ui_browser__list_head_seek(struct ui_browser *self, off_t offset, int whence);
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/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/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/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/src/
H A Dgzlib.c352 z_off64_t ZEXPORT gzseek64(file, offset, whence)
355 int whence;
373 if (whence != SEEK_SET && whence != SEEK_CUR)
377 if (whence == SEEK_SET)
429 z_off_t ZEXPORT gzseek(file, offset, whence)
432 int whence;
436 ret = gzseek64(file, (z_off64_t)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/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 Divorbisfile.h61 int (*seek_func) (void *datasource, ogg_int64_t offset, int whence);
/external/valgrind/main/include/
H A Dpub_tool_libcfile.h80 extern Off64T VG_(lseek) ( Int fd, Off64T 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);

Completed in 500 milliseconds

123