Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/include/androidfw/
DAsset.h77 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);
/frameworks/base/native/android/
Dasset_manager.cpp176 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()
181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64() argument
183 return asset->mAsset->seek(offset, whence); in AAsset_seek64()
/frameworks/native/include/android/
Dasset_manager.h94 off_t AAsset_seek(AAsset* asset, off_t offset, int whence);
105 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
/frameworks/base/libs/androidfw/
DAsset.cpp315 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) in handleSeek() argument
319 switch (whence) { in handleSeek()
330 ALOGW("unexpected whence %d\n", whence); in handleSeek()
502 off64_t _FileAsset::seek(off64_t offset, int whence) in seek() argument
508 newPosn = handleSeek(offset, whence, mOffset, mLength); in seek()
802 off64_t _CompressedAsset::seek(off64_t offset, int whence) in seek() argument
807 newPosn = handleSeek(offset, whence, mOffset, mUncompressedLen); in seek()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.h60 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence);
DFwdLockFile.c316 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence) { in FwdLockFile_lseek() argument
323 switch (whence) { in FwdLockFile_lseek()
325 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence); in FwdLockFile_lseek()
329 newFilePos = lseek64(pSession->fileDesc, offset, whence); in FwdLockFile_lseek()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h468 int whence);
473 int whence);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.h102 typedef off64_t FwdLockConv_LSeekFunc_t(int fileDesc, off64_t offset, int whence);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
DFwdLockEngine.cpp644 off64_t offset, int whence) { argument
647 off_t offset, int whence) {
654 offval = FwdLockFile_lseek(session->fileDesc, offset, whence);
/frameworks/base/core/java/android/content/res/
DAssetManager.java713 private native final long seekAsset(long asset, long offset, int whence); in seekAsset() argument
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp463 jlong offset, jint whence) in android_content_AssetManager_seekAsset() argument
473 offset, (whence > 0) ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR)); in android_content_AssetManager_seekAsset()