Home
last modified time | relevance | path

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

/frameworks/native/include/utils/
DCompat.h30 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64() argument
31 return lseek(fd, offset, whence); in lseek64()
/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/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/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/compile/libbcc/lib/ExecutionEngine/
DFileHandle.cpp167 off_t FileHandle::seek(off_t offset, int whence) { in seek() argument
168 return (mFD < 0) ? -1 : lseek(mFD, offset, whence); in seek()
DFileHandle.h59 off_t seek(off_t offset, int whence);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.h70 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence);
DFwdLockFile.c327 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence) { in FwdLockFile_lseek() argument
334 switch (whence) { in FwdLockFile_lseek()
336 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence); in FwdLockFile_lseek()
340 newFilePos = lseek64(pSession->fileDesc, offset, whence); in FwdLockFile_lseek()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h467 int whence);
472 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.cpp640 off64_t offset, int whence) { argument
643 off_t offset, int whence) {
650 offval = FwdLockFile_lseek(session->fileDesc, offset, whence);
/frameworks/base/core/java/android/content/res/
DAssetManager.java680 private native final long seekAsset(int asset, long offset, int whence); in seekAsset() argument
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp393 jlong offset, jint whence) in android_content_AssetManager_seekAsset() argument
403 offset, (whence > 0) ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR)); in android_content_AssetManager_seekAsset()