Home
last modified time | relevance | path

Searched refs:SEEK_CUR (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/native/graphics/jni/
Daassetstreamadaptor.cpp51 return AAsset_seek64(mAAsset, 0, SEEK_CUR) != -1; in hasPosition()
55 const off64_t offset = AAsset_seek64(mAAsset, 0, SEEK_CUR); in getPosition()
74 if (AAsset_seek64(mAAsset, offset, SEEK_CUR) == -1) { in move()
92 const off64_t oldOffset = AAsset_seek64(mAAsset, 0, SEEK_CUR); in read()
98 const off64_t newOffset = AAsset_seek64(mAAsset, size, SEEK_CUR); in read()
Dimagedecoder.cpp143 return ::lseek64(descriptor, 0, SEEK_CUR) != -1; in isSeekable()
/frameworks/base/libs/hwui/jni/
DUtils.cpp57 return fAsset->seek(0, SEEK_CUR) != -1; in hasPosition()
61 const off64_t offset = fAsset->seek(0, SEEK_CUR); in getPosition()
80 if (fAsset->seek(offset, SEEK_CUR) == -1) { in move()
98 off64_t oldOffset = fAsset->seek(0, SEEK_CUR); in read()
103 off64_t newOffset = fAsset->seek(size, SEEK_CUR); in read()
154 return ::lseek64(descriptor, 0, SEEK_CUR) != -1; in isSeekable()
DUtils.h63 fCurr = ::lseek(fd, 0, SEEK_CUR); in AutoFDSeek()
DBitmapFactory.cpp726 if (::lseek(descriptor, 0, SEEK_CUR) == 0) { in nativeDecodeFileDescriptor()
/frameworks/base/ravenwood/runtime-test/test/com/android/ravenwood/runtimetest/
DOsTest.java64 assertEquals(4, Os.lseek(fd, 0, OsConstants.SEEK_CUR)); in testLseek()
65 assertEquals(6, Os.lseek(fd, 2, OsConstants.SEEK_CUR)); in testLseek()
114 assertEquals(4, Os.lseek(fd1, 0, OsConstants.SEEK_CUR)); in checkAreDup()
117 assertEquals(4, Os.lseek(fd2, 0, OsConstants.SEEK_CUR)); in checkAreDup()
119 assertEquals(6, Os.lseek(fd1, 2, OsConstants.SEEK_CUR)); in checkAreDup()
120 assertEquals(6, Os.lseek(fd2, 0, OsConstants.SEEK_CUR)); in checkAreDup()
/frameworks/base/core/jni/
Dandroid_backup_BackupHelperDispatcher.cpp64 lseek(fd, remainingHeader, SEEK_CUR); in readHeader_native()
82 lseek(fd, remainingHeader, SEEK_CUR); in readHeader_native()
117 lseek(fd, remainingHeader, SEEK_CUR); in readHeader_native()
131 lseek(fd, bytesToSkip, SEEK_CUR); in skipChunk_native()
161 pos = lseek(fd, 0, SEEK_CUR); in allocateHeader_native()
163 lseek(fd, headerSize, SEEK_CUR); in allocateHeader_native()
179 prevPos = lseek(fd, 0, SEEK_CUR); in writeHeader_native()
Dfd_utils.cpp314 const off_t offset = TEMP_FAILURE_RETRY(lseek64(fd, 0, SEEK_CUR)); in CreateFromFd()
Dandroid_util_AssetManager.cpp1510 static_cast<off64_t>(offset), (whence > 0 ? SEEK_END : (whence < 0 ? SEEK_SET : SEEK_CUR)))); in NativeAssetSeek()
/frameworks/native/libs/binder/
DRecordedTransaction.cpp189 off_t fdCurrentPosition = lseek(fd.get(), 0, SEEK_CUR); in fromFile()
206 fdCurrentPosition = lseek(fd.get(), 0, SEEK_CUR); in fromFile()
256 fdCurrentPosition = lseek(fd.get(), chunkPayloadSize, SEEK_CUR); in fromFile()
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc92 if (-1 == (old_pos = ::lseek(pFD, 0, SEEK_CUR)))
114 if (-1 == (old_pos = ::lseek(pFD, 0, SEEK_CUR)))
/frameworks/base/libs/protoutil/src/
DProtoFileReader.cpp35 off_t current = lseek(fd, 0, SEEK_CUR); in get_file_size()
/frameworks/base/libs/androidfw/
DBackupData.cpp57 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); in BackupDataWriter()
184 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); in BackupDataReader()
DAsset.cpp351 case SEEK_CUR: in handleSeek()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp409 mCuesOffset = ::lseek(mFd, 0, SEEK_CUR); in reset()
603 offsets[i] = ::lseek(mFd, 0, SEEK_CUR); in start()
DWebmFrameThread.cpp151 off_t fpos = ::lseek(mFd, 0, SEEK_CUR); in flushFrames()
DWebmElement.cpp116 off64_t off = ::lseek64(fd, (size - 1), SEEK_CUR) - (size - 1); in write()
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dfile_test.cc103 EXPECT_EQ(lseek(f.fd(), 1, SEEK_CUR), 2); in TEST()
693 case SEEK_CUR: in funopen_seek()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c327 case SEEK_CUR: in FwdLockFile_lseek()
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java19 import static android.system.OsConstants.SEEK_CUR;
323 Os.lseek(fd, 0, SEEK_CUR); in createFromFile()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java634 public static final int SEEK_CUR = placeholder(); field in OsConstants
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp162 return (TEMP_FAILURE_RETRY(lseek64(fd.get(), size, SEEK_CUR)) >= 0); in skipBytes()
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_os_constants.cpp502 initConstant(env, c, "SEEK_CUR", SEEK_CUR); in OsConstants_initConstants()
/frameworks/base/media/java/android/media/
DExifInterface.java2054 Os.lseek(fd, 0, OsConstants.SEEK_CUR); in isSeekableFD()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12