Home
last modified time | relevance | path

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

123

/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()
189 lseek(fd, pos, SEEK_SET); in writeHeader_native()
210 lseek(fd, prevPos, SEEK_SET); in writeHeader_native()
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc92 if (-1 == (old_pos = ::lseek(pFD, 0, SEEK_CUR)))
95 if (-1 == ::lseek(pFD, pOffset, SEEK_SET))
100 ::lseek(pFD, old_pos, SEEK_SET);
105 if (-1 == ::lseek(pFD, old_pos, SEEK_SET))
114 if (-1 == (old_pos = ::lseek(pFD, 0, SEEK_CUR)))
117 if (-1 == ::lseek(pFD, pOffset, SEEK_SET))
122 ::lseek(pFD, old_pos, SEEK_SET);
127 if (-1 == ::lseek(pFD, old_pos, SEEK_SET))
/frameworks/base/libs/protoutil/src/
DProtoFileReader.cpp35 off_t current = lseek(fd, 0, SEEK_CUR); in get_file_size()
39 off_t end = lseek(fd, 0, SEEK_END); in get_file_size()
43 off_t err = lseek(fd, current, SEEK_SET); in get_file_size()
/frameworks/base/packages/MtpDocumentsProvider/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()
/frameworks/base/core/jni/android/graphics/
DUtils.h63 fCurr = ::lseek(fd, 0, SEEK_CUR); in AutoFDSeek()
67 ::lseek(fFD, fCurr, SEEK_SET); in ~AutoFDSeek()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp377 mCuesOffset = ::lseek(mFd, 0, SEEK_CUR); in reset()
381 ::lseek(mFd, mCuesOffset, SEEK_SET); in reset()
392 uint64_t totalSize = ::lseek(mFd, 0, SEEK_END); in reset()
394 ::lseek(mFd, mSegmentOffset + sizeOf(kMkvSegment), SEEK_SET); in reset()
405 ::lseek(mFd, durationOffset, SEEK_SET); in reset()
415 ::lseek(mFd, mSegmentDataStart, SEEK_SET); in reset()
571 offsets[i] = ::lseek(mFd, 0, SEEK_CUR); in start()
/frameworks/av/media/libmedia/
DMidiIoWrapper.cpp41 mLength = lseek(mFd, 0, SEEK_END); in MidiIoWrapper()
120 lseek(mFd, mBase + offset, SEEK_SET); in readAt()
/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()
321 int pos = lseek(m_fd, m_dataEndPos, SEEK_SET); in SkipEntityData()
/frameworks/av/services/mediaextractor/seccomp_policy/
Dmediaextractor-arm64.policy23 lseek: 1
Dmediaextractor-x86_64.policy20 lseek: 1
Dmediaextractor-arm.policy21 lseek: 1
Dmediaextractor-x86.policy20 lseek: 1
/frameworks/base/cmds/idmap/
Dcreate.cpp60 if (lseek(fd, 0, SEEK_SET) < 0) { in write_idmap()
89 if (lseek(idmap_fd, 0, SEEK_SET) < 0) { in is_idmap_stale_fd()
/frameworks/base/media/apex/java/android/media/
DProxyDataSourceCallback.java46 Os.lseek(mFD, position, OsConstants.SEEK_SET); in readAt()
/frameworks/ml/nn/runtime/test/
DTestMemory.cpp50 lseek(fd, offsetForMatrix2, SEEK_SET); in TEST_F()
52 lseek(fd, offsetForMatrix3, SEEK_SET); in TEST_F()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbDescriptorParser.cpp51 lseek(fd, 0, SEEK_SET); in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getRawDescriptors_1native()
/frameworks/av/services/mediacodec/seccomp_policy/
Dmediacodec-arm.policy50 lseek: 1
Dmediacodec-x86.policy39 lseek: 1
Dmediaswcodec-x86_64.policy39 lseek: 1
Dmediaswcodec-x86.policy39 lseek: 1
/frameworks/av/media/codec2/hidl/services/seccomp_policy/
Dcodec2.vendor.base-x86.policy31 lseek: 1
Dcodec2.software.base-x86.policy31 lseek: 1
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dzero_copy_stream_impl.cc60 #define lseek(fd, offset, origin) ((off_t)-1) macro
158 lseek(file_, count, SEEK_CUR) != (off_t)-1) { in Skip()
/frameworks/av/media/utils/
DServiceUtilities.cpp233 off_t size = lseek(heap->getHeapID(), 0, SEEK_END); in checkIMemory()
234 lseek(heap->getHeapID(), 0, SEEK_SET); in checkIMemory()
/frameworks/base/drm/java/android/drm/
DDrmOutputStream.java72 Os.lseek(mFd, status.offset, SEEK_SET); in finish()

123