/development/simulator/app/ |
AssetStream.h | 71 /* seek, using wxWidgets-defined values for "whence" */ 73 int whence; local 77 whence = SEEK_SET; 79 whence = SEEK_END; 81 whence = SEEK_CUR; 82 newPosn = mpAsset->seek(seek, whence);
|
/bionic/libc/unistd/ |
lseek64.c | 30 extern int __llseek(int fd, unsigned long offset_hi, unsigned long offset_lo, loff_t* result, int whence); 32 loff_t lseek64(int fd, loff_t off, int whence) 36 if ( __llseek(fd, (unsigned long)(off >> 32),(unsigned long)(off), &result, whence ) < 0 )
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
fstream.h | 42 off_t seek (off_t n, seekdir whence = beg); 59 inline void seekg (off_t n, seekdir whence = beg) { seek (n, whence); } 60 inline void seekp (off_t n, seekdir whence = beg) { seek (n, whence); }
|
fstream.cpp | 136 off_t fstream::seek (off_t n, seekdir whence) 138 off_t p = lseek (m_fd, n, whence);
|
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_rwops.h | 48 /* Seek to 'offset' relative to whence, one of stdio's whence values: 52 int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence); 101 #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence)
|
/bionic/libc/stdio/ |
fseek.c | 46 * `Whence' must be one of the three SEEK_* macros. 49 fseeko(FILE *fp, off_t offset, int whence) 70 * Change any SEEK_CUR to SEEK_SET, and check `whence' argument. 71 * After this, whence is either SEEK_SET or SEEK_END. 73 switch (whence) { 97 whence = SEEK_SET; 139 if (whence == SEEK_SET) 226 (*seekfn)(fp->_cookie, (fpos_t)offset, whence) == POS_ERR) { 246 fseek(FILE *fp, long offset, int whence) 250 return(fseeko(fp, off, whence)); [all...] |
stdio.c | 70 __sseek(void *cookie, fpos_t offset, int whence) 75 ret = lseek(fp->_file, (off_t)offset, whence);
|
/external/e2fsprogs/lib/blkid/ |
llseek.c | 90 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence) 97 return lseek(fd, (off_t) offset, whence); 104 result = my_llseek(fd, offset, whence);
|
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_rwops.h | 42 /* 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)
|
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_rwops.h | 42 /* 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)
|
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_rwops.h | 42 /* 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)
|
/prebuilt/windows/sdl/include/SDL/ |
SDL_rwops.h | 42 /* 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/e2fsprogs/lib/ext2fs/ |
fileio.c | 297 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);
|
/external/stlport/src/details/ |
fstream_unistd.cpp | 288 int whence; local 294 whence = SEEK_SET; 297 whence = SEEK_CUR; 302 whence = SEEK_END; 308 return LSEEK(_M_file_id, offset, whence);
|
fstream_stdio.cpp | 344 int whence; local 350 whence = SEEK_SET; 353 whence = SEEK_CUR; 358 whence = SEEK_END; 364 if ( FSEEK(_M_file, offset, whence) == 0 ) {
|
fstream_win32io.cpp | 549 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/stlport/src/ |
stdio_streambuf.cpp | 78 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/src/file/ |
SDL_rwops.c | 126 static int SDLCALL win32_file_seek(SDL_RWops *context, int offset, int whence) 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) 265 if ( fseek(context->hidden.stdio.fp, offset, whence) == 0 ) { 307 static int SDLCALL mem_seek(SDL_RWops *context, int offset, int whence) 311 switch (whence) { 322 SDL_SetError("Unknown value for 'whence'");
|
/external/bluetooth/glib/glib/ |
giounix.c | 267 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);
|
/frameworks/base/include/utils/ |
Asset.h | 80 * Seek to the specified offset. "whence" uses the same values as 84 virtual off_t seek(off_t offset, int whence) = 0; 132 off_t handleSeek(off_t offset, int whence, off_t curPosn, off_t maxPosn); 246 virtual off_t seek(off_t offset, int whence); 303 virtual off_t seek(off_t offset, int whence);
|
/frameworks/base/media/libmediaplayerservice/ |
VorbisPlayer.cpp | 109 int VorbisPlayer::vp_fseek(void *me, ogg_int64_t off, int whence) { 111 if (whence == SEEK_SET) 112 return fseek(self->mFile, off + self->mOffset, whence); 113 else if (whence == SEEK_CUR) 114 return fseek(self->mFile, off, whence); 115 else if (whence == SEEK_END)
|
/frameworks/base/libs/utils/ |
Asset.cpp | 291 * Do generic seek() housekeeping. Pass in the offset/whence values from 297 off_t Asset::handleSeek(off_t offset, int whence, off_t curPosn, off_t maxPosn) 301 switch (whence) { 312 LOGW("unexpected whence %d\n", whence); 484 off_t _FileAsset::seek(off_t offset, int whence) 490 newPosn = handleSeek(offset, whence, mOffset, mLength); 774 off_t _CompressedAsset::seek(off_t offset, int whence) 779 newPosn = handleSeek(offset, whence, mOffset, mUncompressedLen);
|
/system/core/libcutils/ |
open_memstream.c | 164 static fpos_t seek_memstream(void* cookie, fpos_t offset, int whence) 169 if (whence == SEEK_CUR) { 171 } else if (whence == SEEK_END) {
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
IFileSystem.java | 89 public long seek(int fileDescriptor, long offset, int whence)
|
/external/yaffs2/yaffs2/direct/ |
yaffsfs.h | 179 off_t yaffs_lseek(int fd, off_t offset, int whence) ;
|