Searched refs:whence (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/include/utils/ |
D | Asset.h | 75 virtual off_t seek(off_t offset, int whence) = 0; 123 off_t handleSeek(off_t offset, int whence, off_t curPosn, off_t maxPosn); 237 virtual off_t seek(off_t offset, int whence); 294 virtual off_t seek(off_t offset, int whence);
|
/frameworks/base/libs/utils/ |
D | Asset.cpp | 298 off_t Asset::handleSeek(off_t offset, int whence, off_t curPosn, off_t maxPosn) in handleSeek() argument 302 switch (whence) { in handleSeek() 313 LOGW("unexpected whence %d\n", whence); in handleSeek() 485 off_t _FileAsset::seek(off_t offset, int whence) in seek() argument 491 newPosn = handleSeek(offset, whence, mOffset, mLength); in seek() 785 off_t _CompressedAsset::seek(off_t offset, int whence) in seek() argument 790 newPosn = handleSeek(offset, whence, mOffset, mUncompressedLen); in seek()
|
/frameworks/base/native/android/ |
D | asset_manager.cpp | 176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek() argument 178 return asset->mAsset->seek(offset, whence); in AAsset_seek()
|
/frameworks/base/native/include/android/ |
D | asset_manager.h | 94 off_t AAsset_seek(AAsset* asset, off_t offset, int whence);
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 678 private native final long seekAsset(int asset, long offset, int whence); in seekAsset() argument
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 407 jlong offset, jint whence) in android_content_AssetManager_seekAsset() argument 417 offset, (whence > 0) ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR)); in android_content_AssetManager_seekAsset()
|