/external/chromium/net/base/ |
file_stream.h | 24 enum Whence { 62 int64 Seek(Whence whence, int64 offset);
|
file_stream_posix.cc | 39 // Make sure our Whence mappings match the system headers. 328 int64 FileStream::Seek(Whence whence, int64 offset) { 338 static_cast<int>(whence));
|
/external/stlport/src/details/ |
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);
|
/frameworks/base/include/androidfw/ |
Asset.h | 73 * Seek to the specified offset. "whence" uses the same values as 77 virtual off64_t seek(off64_t offset, int whence) = 0; 125 off64_t handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn); 239 virtual off64_t seek(off64_t offset, int whence); 296 virtual off64_t seek(off64_t offset, int whence);
|
/ndk/sources/cxx-stl/stlport/src/details/ |
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/marisa-trie/lib/marisa/ |
trie.h | 36 long offset = 0, int whence = SEEK_SET); 41 long offset = 0, int whence = SEEK_SET); 48 long offset = 0, int whence = SEEK_SET) const; 326 long offset, int whence); 330 long offset, int whence); 335 int trunc_flag, long offset, int whence);
|
bitvector.cc | 257 long offset, int whence) { 260 temp_mapper.open(filename, offset, whence); 281 long offset, int whence) { 283 reader.open(filename, offset, whence); 313 long offset, int whence) const { 315 writer.open(filename, trunc_flag, offset, whence);
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
trie.h | 36 long offset = 0, int whence = SEEK_SET); 41 long offset = 0, int whence = SEEK_SET); 48 long offset = 0, int whence = SEEK_SET) const; 326 const char *filename, long offset, int whence); 331 const char *filename, long offset, int whence); 336 const char *filename, int trunc_flag, long offset, int whence);
|
bitvector.cc | 257 long offset, int whence) { 260 temp_mapper.open(filename, offset, whence); 281 long offset, int whence) { 283 reader.open(filename, offset, whence); 313 long offset, int whence) const { 315 writer.open(filename, trunc_flag, offset, whence);
|
/external/flac/include/FLAC/ |
callback.h | 122 * \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/eigen/Eigen/src/StlSupport/ |
details.h | 53 // even if this function is never called. Whence this little wrapper.
|
/external/marisa-trie/ |
android_diff.txt | 148 - long offset, int whence) try { 149 + long offset, int whence) { 153 h->trie.mmap(&h->mapper, filename, offset, whence); 172 - long offset, int whence) try { 173 + long offset, int whence) { 177 h->trie.load(filename, offset, whence); 209 - int trunc_flag, long offset, int whence) try { 210 + int trunc_flag, long offset, int whence) { 214 h->trie.save(filename, trunc_flag != 0, offset, whence);
|
/external/qemu/distrib/sdl-1.2.15/src/file/ |
SDL_rwops.c | 186 static int SDLCALL win32_file_seek(SDL_RWops *context, int offset, int whence) 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) 325 if ( fseek(context->hidden.stdio.fp, offset, whence) == 0 ) { 367 static int SDLCALL mem_seek(SDL_RWops *context, int offset, int whence) 371 switch (whence) { 382 SDL_SetError("Unknown value for 'whence'");
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
FwdLockFile.c | 316 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence) { 323 switch (whence) { 325 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence); 329 newFilePos = lseek64(pSession->fileDesc, offset, whence);
|
/frameworks/base/libs/androidfw/ |
Asset.cpp | 309 * Do generic seek() housekeeping. Pass in the offset/whence values from 315 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) 319 switch (whence) { 330 ALOGW("unexpected whence %d\n", whence); 502 off64_t _FileAsset::seek(off64_t offset, int whence) 508 newPosn = handleSeek(offset, whence, mOffset, mLength); 802 off64_t _CompressedAsset::seek(off64_t offset, int whence) 807 newPosn = handleSeek(offset, whence, mOffset, mUncompressedLen);
|
/external/libvpx/libvpx/nestegg/test/ |
test.c | 29 stdio_seek(int64_t offset, int whence, void * fp) 31 return fseek(fp, offset, whence);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
StreamChecker.cpp | 260 // Check the legality of the 'whence' argument of 'fseek'. 261 SVal Whence = state->getSVal(CE->getArg(2), C.getLocationContext()); 262 Optional<nonloc::ConcreteInt> CI = Whence.getAs<nonloc::ConcreteInt>(); 273 BT_illegalwhence.reset(new BuiltinBug("Illegal whence argument", 274 "The whence argument to fseek() should be "
|
/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) {
|
/external/chromium/webkit/glue/ |
webfileutilities_impl.cc | 131 return file_stream.Seek(static_cast<net::Whence>(origin), offset);
|
/external/yaffs2/yaffs2/direct/ |
yaffsfs.h | 179 off_t yaffs_lseek(int fd, off_t offset, int whence) ;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
stdio.in.h | 323 extern int fseeko (FILE *fp, off_t offset, int whence); 324 # define fseek(fp, offset, whence) fseeko (fp, (off_t)(offset), whence) 335 extern int rpl_fseek (FILE *fp, long offset, int whence);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.h | 97 * @param[in] whence One of SEEK_SET, SEEK_CUR, and SEEK_END. 102 typedef off64_t FwdLockConv_LSeekFunc_t(int fileDesc, off64_t offset, int whence);
|
/external/strace/ |
desc.c | 225 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_???");
|