Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 13 of 13) 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/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);
295 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.cpp321 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) in handleSeek() argument
325 switch (whence) { in handleSeek()
336 ALOGW("unexpected whence %d\n", whence); in handleSeek()
508 off64_t _FileAsset::seek(off64_t offset, int whence) in seek() argument
514 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/docs/html/ndk/reference/
Dgroup___asset.jd56 …set.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset, off_t offset, int whence)</td></tr>
58 …t.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset, off64_t offset, int whence)</td></tr>
400 <td class="paramname"><em>whence</em>&#160;</td>
409 <p>Seek to the specified offset within the asset data. 'whence' uses the same constants as lseek()/…
434 <td class="paramname"><em>whence</em>&#160;</td>
443 <p>Seek to the specified offset within the asset data. 'whence' uses the same constants as lseek()/…
Dasset__manager_8h.jd52 …set.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset, off_t offset, int whence)</td></tr>
54 …t.html#ga5630b1f1aa5cd363303018cb2f12f95c">AAsset</a> *asset, off64_t offset, int whence)</td></tr>
/frameworks/base/core/java/android/content/res/
DAssetManager.java727 private native final long seekAsset(long asset, long offset, int whence); in seekAsset() argument
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp464 jlong offset, jint whence) in android_content_AssetManager_seekAsset() argument
474 offset, (whence > 0) ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR)); in android_content_AssetManager_seekAsset()