Home
last modified time | relevance | path

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

/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/base/libs/androidfw/include/androidfw/
DAsset.h80 virtual off64_t seek(off64_t offset, int whence) = 0;
141 off64_t handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn);
262 virtual off64_t seek(off64_t offset, int whence);
318 virtual off64_t seek(off64_t offset, int whence);
/frameworks/native/include/android/
Dasset_manager.h139 off_t AAsset_seek(AAsset* asset, off_t offset, int whence)
151 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
/frameworks/base/libs/androidfw/
DAsset.cpp359 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) in handleSeek() argument
363 switch (whence) { in handleSeek()
374 ALOGW("unexpected whence %d\n", whence); in handleSeek()
553 off64_t _FileAsset::seek(off64_t offset, int whence) in seek() argument
559 newPosn = handleSeek(offset, whence, mOffset, mLength); in seek()
854 off64_t _CompressedAsset::seek(off64_t offset, int whence) in seek() argument
859 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.cpp654 off64_t offset, int whence) { argument
657 off_t offset, int whence) {
664 offval = FwdLockFile_lseek(session->fileDesc, offset, whence);
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp494 jlong offset, jint whence) in android_content_AssetManager_seekAsset() argument
504 offset, (whence > 0) ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR)); in android_content_AssetManager_seekAsset()
/frameworks/base/core/java/android/content/res/
DAssetManager.java816 private native final long seekAsset(long asset, long offset, int whence); in seekAsset() argument