Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dasset_manager.cpp154 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek() argument
156 return asset->mAsset->seek(offset, whence); in AAsset_seek()
159 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64() argument
161 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.cpp361 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) in handleSeek() argument
365 switch (whence) { in handleSeek()
376 ALOGW("unexpected whence %d\n", whence); in handleSeek()
555 off64_t _FileAsset::seek(off64_t offset, int whence) in seek() argument
561 newPosn = handleSeek(offset, whence, mOffset, mLength); in seek()
856 off64_t _CompressedAsset::seek(off64_t offset, int whence) in seek() argument
861 newPosn = handleSeek(offset, whence, mOffset, mUncompressedLen); in seek()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
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()
DFwdLockFile.h60 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence);
/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.cpp658 off64_t offset, int whence) { argument
661 off_t offset, int whence) {
668 offval = FwdLockFile_lseek(session->fileDesc, offset, whence);
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1506 jint whence) { in NativeAssetSeek() argument
1509 static_cast<off64_t>(offset), (whence > 0 ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR)))); in NativeAssetSeek()
/frameworks/base/core/java/android/content/res/
DAssetManager.java1499 private static native long nativeAssetSeek(long assetPtr, long offset, int whence); in nativeAssetSeek() argument