Home
last modified time | relevance | path

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

/aosp14/frameworks/base/native/android/
H A 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()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DAsset.h83 virtual off64_t seek(off64_t offset, int whence) = 0;
162 off64_t handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn);
275 off64_t seek(off64_t offset, int whence) override;
333 virtual off64_t seek(off64_t offset, int whence);
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot_reader.cpp55 off64_t ReadFdFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
56 return lseek(fd_.get(), offset, whence); in Seek()
313 off64_t CompressedSnapshotReader::Seek(off64_t offset, int whence) { in Seek() argument
314 switch (whence) { in Seek()
325 LOG(ERROR) << "Unrecognized seek whence: " << whence; in Seek()
H A Dsnapshot_reader.h42 off64_t Seek(off64_t offset, int whence) override;
60 off64_t Seek(off64_t offset, int whence) override;
/aosp14/system/core/libutils/include/utils/
H A DCompat.h36 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64() argument
37 return lseek(fd, offset, whence); in lseek64()
/aosp14/frameworks/base/libs/androidfw/
H A DAsset.cpp343 off64_t Asset::handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) in handleSeek() argument
347 switch (whence) { in handleSeek()
358 ALOGW("unexpected whence %d\n", whence); in handleSeek()
543 off64_t _FileAsset::seek(off64_t offset, int whence) in seek() argument
549 newPosn = handleSeek(offset, whence, mOffset, mLength); in seek()
864 off64_t _CompressedAsset::seek(off64_t offset, int whence) in seek() argument
869 newPosn = handleSeek(offset, whence, mOffset, mUncompressedLen); in seek()
/aosp14/system/core/libcutils/
H A Dashmem_test.cpp162 int whence; in TEST() member
173 auto off = lseek(fd, cfg.offset, cfg.whence); in TEST()
174 ASSERT_EQ(cfg.ret, off) << "lseek(" << cfg.offset << ", " << cfg.whence << ") failed" in TEST()
/aosp14/system/core/fs_mgr/liblp/
H A Dutility.h64 int64_t SeekFile64(int fd, int64_t offset, int whence);
H A Dutility.cpp70 int64_t SeekFile64(int fd, int64_t offset, int whence) { in SeekFile64() argument
72 return lseek(fd, offset, whence); in SeekFile64()
/aosp14/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp1474 jint whence) { in NativeAssetSeek() argument
1477 static_cast<off64_t>(offset), (whence > 0 ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR)))); in NativeAssetSeek()
/aosp14/frameworks/base/core/java/android/content/res/
H A DAssetManager.java1659 private static native long nativeAssetSeek(long assetPtr, long offset, int whence); in nativeAssetSeek() argument
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...