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

/frameworks/base/include/utils/
H A DCompat.h30 static inline off64_t lseek64(int fd, off64_t offset, int whence) { argument
31 return lseek(fd, offset, whence);
H A DAsset.h73 * Seek to the specified offset. "whence" uses the same values as
77 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/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.h65 * @param[in] whence One of SEEK_SET, SEEK_CUR, and SEEK_END.
70 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence);
H A DFwdLockFile.c320 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence) { argument
327 switch (whence) {
329 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence);
333 newFilePos = lseek64(pSession->fileDesc, offset, whence);
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DFileHandle.h59 off_t seek(off_t offset, int whence);
H A DFileHandle.cpp167 off_t FileHandle::seek(off_t offset, int whence) { argument
168 return (mFD < 0) ? -1 : lseek(mFD, offset, whence);
/frameworks/base/native/include/android/
H A Dasset_manager.h89 * Seek to the specified offset within the asset data. 'whence' uses the
94 off_t AAsset_seek(AAsset* asset, off_t offset, int whence);
97 * Seek to the specified offset within the asset data. 'whence' uses the
105 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
/frameworks/base/native/android/
H A Dasset_manager.cpp176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) argument
178 return asset->mAsset->seek(offset, whence);
181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) argument
183 return asset->mAsset->seek(offset, whence);
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.h97 * @param[in] whence One of SEEK_SET, SEEK_CUR, and SEEK_END.
102 typedef off64_t FwdLockConv_LSeekFunc_t(int fileDesc, off64_t offset, int whence);
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h457 * @param whence One of SEEK_SET, SEEK_CUR, and SEEK_END.
467 int whence);
472 int whence);
/frameworks/base/libs/utils/
H A DAsset.cpp309 * Do generic seek() housekeeping. Pass in the offset/whence values from
315 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) argument
319 switch (whence) {
330 LOGW("unexpected whence %d\n", whence);
502 off64_t _FileAsset::seek(off64_t offset, int whence) argument
508 newPosn = handleSeek(offset, whence, mOffset, mLength);
802 off64_t _CompressedAsset::seek(off64_t offset, int whence) argument
807 newPosn = handleSeek(offset, whence, mOffset, mUncompressedLen);
/frameworks/base/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp606 off64_t offset, int whence) {
609 off_t offset, int whence) {
616 offval = FwdLockFile_lseek(session->fileDesc, offset, whence);
605 onLseek(int uniqueId, DecryptHandle* decryptHandle, off64_t offset, int whence) argument
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java680 private native final long seekAsset(int asset, long offset, int whence); argument
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp393 jlong offset, jint whence)
403 offset, (whence > 0) ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR));
391 android_content_AssetManager_seekAsset(JNIEnv* env, jobject clazz, jint asset, jlong offset, jint whence) argument

Completed in 168 milliseconds