Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 19 of 19) sorted by relevance

/packages/modules/adb/
Dadb_io_test.cpp51 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
65 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
79 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
98 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
112 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
141 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
154 ASSERT_EQ(0, lseek(tf.fd, 0, SEEK_SET)); in POSIX_TEST()
Dsysdeps.h149 return lseek(fd.get(), pos, where); in unix_lseek()
151 #undef lseek
152 #define lseek ___xxx_lseek macro
558 return lseek(fd.get(), pos, where); in adb_lseek()
563 #undef lseek
564 #define lseek ___xxx_lseek macro
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Ddocument.cc103 size_t destSize = lseek(fw.Fd(), 0, SEEK_END); in SaveAs()
164 lseek(source, 0, SEEK_SET); in CloneRawFile()
171 size_t sourceSize = lseek(source, 0, SEEK_END); in CloneRawFile()
172 size_t destSize = lseek(dest, 0, SEEK_END); in CloneRawFile()
190 size_t destSize = lseek(fw.Fd(), 0, SEEK_END); in SaveAsCopyWithoutSecurity()
Dfile.cc40 off_t end = lseek(fd, 0, SEEK_END); in GetFileSize()
78 if (lseek(fd_.get(), pos, SEEK_SET) == -1) { in DoReadBlock()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DIsoInterface.java138 final long pos = Os.lseek(fd, 0, OsConstants.SEEK_CUR); in parseNextBox()
213 Os.lseek(fd, pos + box.headerSize, OsConstants.SEEK_SET); in parseNextBox()
235 Os.lseek(fd, pos + len, OsConstants.SEEK_SET); in parseNextBox()
241 Os.lseek(fd, 4, OsConstants.SEEK_SET); in IsoInterface()
256 final long end = Os.lseek(fd, 0, OsConstants.SEEK_END); in IsoInterface()
257 Os.lseek(fd, 0, OsConstants.SEEK_SET); in IsoInterface()
/packages/services/Mtp/src/com/android/mtp/
DMtpFileWriter.java60 Os.lseek(mCacheFd.getFileDescriptor(), offset, OsConstants.SEEK_SET); in write()
80 final long size = Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_END); in flush()
85 Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_SET); in flush()
/packages/modules/NeuralNetworks/runtime/test/
DTestMemory.cpp55 lseek(fd, offsetForMatrix2, SEEK_SET); in TEST_F()
57 lseek(fd, offsetForMatrix3, SEEK_SET); in TEST_F()
/packages/modules/Media/apex/framework/java/android/media/
DProxyDataSourceCallback.java46 Os.lseek(mFD, position, OsConstants.SEEK_SET); in readAt()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DReadableArchiveTest.java399 Os.lseek(descriptor.getFileDescriptor(), "I love ".length(), OsConstants.SEEK_SET); in commonTestOpenDocument()
401 Os.lseek(descriptor.getFileDescriptor(), 0, OsConstants.SEEK_SET); in commonTestOpenDocument()
/packages/services/Car/cpp/computepipe/runner/input_manager/
DVideoDecoder.cpp111 lseek(mFd, 0, SEEK_SET); in initializeMediaExtractor()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchive.java119 return Os.lseek(descriptor.getFileDescriptor(), 0, in canSeek()
/packages/services/Mtp/tests/src/com/android/mtp/
DMtpDocumentsProviderTest.java564 assertEquals(6, Os.lseek(fd.getFileDescriptor(), 6, OsConstants.SEEK_SET)); in testOpenDocument()
568 assertEquals(0, Os.lseek(fd.getFileDescriptor(), 0, OsConstants.SEEK_SET)); in testOpenDocument()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/
DPdfProcessor.java105 Os.lseek(fileDescriptor.getFileDescriptor(), 0, OsConstants.SEEK_SET); in create()
/packages/modules/Bluetooth/system/device/test/
Ddevice_iot_config_test.cc3308 lseek(fd, 0, SEEK_SET); in TEST_F_WITH_FLAGS()
3312 lseek(fd, 0, SEEK_SET); in TEST_F_WITH_FLAGS()
3316 lseek(fd, 0, SEEK_SET); in TEST_F_WITH_FLAGS()
3320 lseek(fd, 0, SEEK_SET); in TEST_F_WITH_FLAGS()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java561 Os.lseek(outFd, mInfoDelta.mCurrentBytes, OsConstants.SEEK_SET); in transferData()
/packages/modules/StatsD/statsd/src/storage/
DStorageManager.cpp330 off_t seekResult = lseek(fd, sizeof(magic) + sizeof(trainInfo.trainVersionCode), SEEK_SET); in readTrainInfoLocked()
/packages/modules/StatsD/statsd/tests/
DUidMap_test.cpp92 ASSERT_EQ(0, lseek(fd, 0, SEEK_SET)); in sendPackagesToStatsd()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DFileSystemPermissionTest.java445 long seek = Os.lseek(pagemap, offset, OsConstants.SEEK_SET); in pfnIsZero()
/packages/services/Car/cpp/watchdog/server/tests/
DPerformanceProfilerTest.cpp1361 lseek(fd, 0, SEEK_SET); in checkDumpFd()