Searched refs:seek (Results 1 - 25 of 36) sorted by relevance

12

/frameworks/base/core/jni/android/graphics/
H A DUtils.cpp23 off64_t pos = fAsset->seek(0, SEEK_SET);
25 SkDebugf("----- fAsset->seek(rewind) failed\n");
38 // asset->seek returns new total offset
41 off64_t oldOffset = fAsset->seek(0, SEEK_CUR);
43 SkDebugf("---- fAsset->seek(oldOffset) failed\n");
46 off64_t newOffset = fAsset->seek(size, SEEK_CUR);
48 SkDebugf("---- fAsset->seek(%d) failed\n", size);
H A DTypeface.cpp75 off64_t pos = fAsset->seek(0, SEEK_SET);
88 // asset->seek returns new total offset
91 off64_t oldOffset = fAsset->seek(0, SEEK_CUR);
94 off64_t newOffset = fAsset->seek(size, SEEK_CUR);
/frameworks/compile/linkloader/utils/
H A Dserialize.h86 void seek(off_t off, bool from_begin = false) { function in class:ArchiveReader
105 seek(size);
111 seek(size);
118 seek(TypeTraits<T>::size);
141 seek(align - delta);
/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) { function in class:bcc::FileHandle
H A DMCCacheReader.cpp122 if (mInfoFile->seek(0, SEEK_SET) != 0) {
123 LOGE("Unable to seek to 0. (reason: %s)\n", strerror(errno));
230 if (mInfoFile->seek(mpHeader->NAME##_offset, SEEK_SET) == -1) { \
231 LOGE("Unable to seek to " #NAME " section\n"); \
/frameworks/compile/linkloader/include/
H A DELFSectionProgBits.h54 AR.seek(sh->getOffset(), true);
/frameworks/base/include/utils/
H A DAsset.h56 /* read chunks, and seek forward and backward */
59 /* read sequentially, with an occasional forward seek */
77 virtual off64_t seek(off64_t offset, int whence) = 0;
124 /* handle common seek() housekeeping */
239 virtual off64_t seek(off64_t offset, int whence);
251 FILE* mFp; // for read/seek
296 virtual off64_t seek(off64_t offset, int whence);
/frameworks/media/libvideoeditor/vss/src/
H A DM4AMRR_CoreReader.c53 * For the seek, the file is splitted in 40 segments for faster search
83 M4OSA_UInt32 m_seekInterval; /* Stores the seek Interval stored in the Index */
243 pStreamContext->m_pOsaFilePtrFct->seek(pStreamContext->m_pAMRFile,
334 pStreamContext->m_pOsaFilePtrFct->seek(pStreamContext->m_pAMRFile, M4OSA_kFileSeekCurrent,
391 pStreamContext->m_pOsaFilePtrFct->seek(pStreamContext->m_pAMRFile,
405 pStreamContext->m_pOsaFilePtrFct->seek(pStreamContext->m_pAMRFile,
411 pStreamContext->m_pOsaFilePtrFct->seek(pStreamContext->m_pAMRFile,
521 pStreamContext->m_pOsaFilePtrFct->seek(pStreamContext->m_pAMRFile,
606 /* Coming to seek for the first time, need to build the seekIndex Table */
633 pStreamContext->m_pOsaFilePtrFct->seek(pStreamContex
[all...]
/frameworks/compile/linkloader/include/impl/
H A DELFSectionRelTable.hxx57 AR.seek(sh->getOffset(), true);
H A DELFSectionStrTab.hxx39 AR.seek(sh->getOffset(), true);
H A DELFSectionHeaderTable.hxx53 AR.seek(header->getSectionHeaderTableOffset(), true);
H A DELFSectionSymTab.hxx98 AR.seek(sh->getOffset(), true);
/frameworks/base/native/android/
H A Dasset_manager.cpp178 return asset->mAsset->seek(offset, whence);
183 return asset->mAsset->seek(offset, whence);
/frameworks/compile/slang/tests/
H A Dtest.py105 stdout_file.seek(0)
106 stderr_file.seek(0)
/frameworks/media/libvideoeditor/osal/inc/
H A DM4OSA_FileReader.h84 M4OSA_ERR (*seek) (M4OSA_Context context, member in struct:__anon1360
H A DM4OSA_FileWriter.h80 M4OSA_ERR (*seek) (M4OSA_Context context, member in struct:__anon1362
109 the position in the file (from the beginning) after the seek in the "position"
/frameworks/base/core/java/android/os/
H A DRecoverySystem.java155 raf.seek(fileLen - 6);
169 raf.seek(fileLen - (commentSize + 22));
266 raf.seek(0);
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorOsal.cpp332 pOsaFileReadPtr->seek = M4OSA_fileReadSeek;
343 pOsaFileWritePtr->seek = M4OSA_fileWriteSeek;
/frameworks/base/core/java/android/speech/tts/
H A DFileSynthesisCallback.java179 mFile.seek(0);
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoViewProxy.java84 // The seek position.
225 public static void seek(int time, HTML5VideoViewProxy proxy) { method in class:HTML5VideoViewProxy.VideoPlayer
329 VideoPlayer.seek(mSeekPosition, this);
609 seek(position);
621 public void seek(int time) { method in class:HTML5VideoViewProxy
H A DHTML5Audio.java296 private void seek(int msec) { method in class:HTML5Audio
/frameworks/compile/libbcc/lib/ExecutionEngine/OldJIT/
H A DCacheReader.cpp126 if (mInfoFile->seek(0, SEEK_SET) != 0) {
127 LOGE("Unable to seek to 0. (reason: %s)\n", strerror(errno));
243 if (mInfoFile->seek(mpHeader->NAME##_offset, SEEK_SET) == -1) { \
244 LOGE("Unable to seek to " #NAME " section\n"); \
/frameworks/base/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp96 void seek(int64_t seekTimeUs, bool seekToKeyFrame);
306 void BlockIterator::seek(int64_t seekTimeUs, bool seekToKeyFrame) { function in class:android::BlockIterator
409 mBlockIter.seek(seekTimeUs, !mIsAudio);
/frameworks/media/libvideoeditor/osal/src/
H A DLVOSA_FileReader_optim.c122 optimized_fp->seek = M4OSA_fileReadSeek_optim;
255 errno = apContext->FS->seek(apContext->aFileDesc, M4OSA_kFileSeekCurrent,
542 apContext->FS->seek = M4OSA_fileReadSeek;

Completed in 2286 milliseconds

12