Searched refs:Seek (Results 1 - 25 of 230) sorted by relevance

12345678910

/haiku/src/tests/kits/support/bmemoryio/
H A DMallocSeekTest.cpp25 err = mem.Seek(3, SEEK_SET);
29 err = mem.Seek(3, SEEK_CUR);
33 err = mem.Seek(0, SEEK_END);
37 err = mem.Seek(-5, SEEK_END);
41 err = mem.Seek(5, SEEK_END);
45 err = mem.Seek(-20, SEEK_SET);
55 return(new MallocSeekTestCaller("BMallocIO::Seek Test", &MallocSeekTest::PerformTest));
H A DSeekTest.cpp26 err = mem.Seek(3, SEEK_SET);
30 err = mem.Seek(3, SEEK_CUR);
34 err = mem.Seek(0, SEEK_END);
38 err = mem.Seek(-5, SEEK_END);
42 err = mem.Seek(5, SEEK_END);
52 return(new SeekTestCaller("BMemoryIO::Seek Test", &SeekTest::PerformTest));
H A DMallocBufferLengthTest.cpp48 offset = mem.Seek(0, SEEK_END);
54 offset = mem.Seek(0, SEEK_END);
H A DSetSizeTest.cpp34 pos = mem.Seek(0, SEEK_END);
42 pos = mem.Seek(0, SEEK_END);
/haiku/src/add-ons/mail_daemon/inbound_protocols/pop3/
H A DMessageIO.cpp59 fSlave->Seek(0,SEEK_SET);
65 fSlave->Seek(-4, SEEK_END);
89 fSlave->Seek(0,SEEK_SET);
106 fSlave->Seek (oldPosition, SEEK_SET);
108 fSlave->Seek (0, SEEK_END);
125 BMailMessageIO::Seek(off_t position, uint32 seekMode) function in class:BMailMessageIO
136 return fSlave->Seek(position, seekMode);
152 fSlave->Seek(0,SEEK_END);
155 fSlave->Seek(old,SEEK_SET);
/haiku/src/add-ons/translators/exr/
H A DIStreamWrapper.cpp42 fStream.Seek(pos, SEEK_SET);
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DStdLibFileIO.h26 int Seek(int nDistance, unsigned int nMoveMode);
H A DIO.h34 virtual int Seek(int nDistance, unsigned int nMoveMode) = 0;
H A DWAVInputSource.cpp135 m_spIO->Seek(0, FILE_BEGIN);
163 m_spIO->Seek(RIFFChunkHeader.nChunkBytes, FILE_CURRENT);
185 m_spIO->Seek(nWAVFormatHeaderExtra, FILE_CURRENT);
193 m_spIO->Seek(RIFFChunkHeader.nChunkBytes, FILE_CURRENT);
241 m_spIO->Seek(0, FILE_BEGIN);
251 m_spIO->Seek(nOriginalFileLocation, FILE_BEGIN);
267 m_spIO->Seek(-m_nTerminatingBytes, FILE_END);
277 m_spIO->Seek(nOriginalFileLocation, FILE_BEGIN);
H A DAPEHeader.cpp22 m_pIO->Seek(0, FILE_BEGIN);
62 m_pIO->Seek(nJunkBytes, FILE_BEGIN);
76 m_pIO->Seek(nJunkBytes, FILE_BEGIN);
107 m_pIO->Seek(nJunkBytes, FILE_BEGIN);
112 m_pIO->Seek(nOriginalFileLocation, FILE_BEGIN);
164 m_pIO->Seek(pInfo->nJunkHeaderBytes, FILE_BEGIN);
168 m_pIO->Seek(pInfo->spAPEDescriptor->nDescriptorBytes - nBytesRead, FILE_CURRENT);
174 m_pIO->Seek(pInfo->spAPEDescriptor->nHeaderBytes - nBytesRead, FILE_CURRENT);
223 m_pIO->Seek(pInfo->nJunkHeaderBytes, FILE_BEGIN);
H A DAPEDecompress.h21 int Seek(int nBlockOffset);
/haiku/src/add-ons/translators/shared/
H A DStreamBuffer.h31 off_t Seek(off_t position, uint32 seekMode);
/haiku/src/tests/kits/translation/
H A DBitmapStreamTest.cpp76 suite->addTest(new TC("BitmapStreamTest::Seek Test",
319 * off_t Seek(off_t position, uint32 whence)
344 CPPUNIT_ASSERT(stream.Seek(0, SEEK_END) == nPos);
348 CPPUNIT_ASSERT(stream.Seek(-stream.Size(), SEEK_END) == nPos);
352 CPPUNIT_ASSERT(stream.Seek(-15, SEEK_END) == nPos);
355 CPPUNIT_ASSERT(stream.Seek(1, SEEK_END) == B_BAD_VALUE);
358 CPPUNIT_ASSERT(stream.Seek(-(stream.Size() + 1),
365 CPPUNIT_ASSERT(stream.Seek(0, SEEK_SET) == nPos);
369 CPPUNIT_ASSERT(stream.Seek(nPos, SEEK_SET) == nPos);
373 CPPUNIT_ASSERT(stream.Seek(nPo
[all...]
/haiku/src/add-ons/media/plugins/ape_reader/LibMonkeysAudio/
H A DPositionBridgeIO.h25 virtual int Seek(int oDistance, unsigned int oMoveMode);
H A DPositionBridgeIO.cpp84 int TPositionBridgeIO::Seek(int oDistance, unsigned int oMoveMode) function in class:TPositionBridgeIO
88 return mPositionIO->Seek(oDistance, oMoveMode) < B_OK ? B_ERROR : B_OK;
/haiku/src/add-ons/media/media-add-ons/usb_webcam/
H A DCamBufferedFilterInterface.cpp56 CamBufferedFilterInterface::Seek(off_t position, uint32 seek_mode) function in class:CamBufferedFilterInterface
58 return fInternalBuffer.Seek(position, seek_mode);
H A DCamBufferedFilterInterface.h25 virtual off_t Seek(off_t position, uint32 seek_mode);
H A DCamStreamingDeframer.cpp72 fInputBuff.Seek(0LL, SEEK_SET);
167 fCurrentFrame->Seek(0LL, SEEK_SET);
187 fInputBuff.Seek(0LL, SEEK_SET);
193 fInputBuff.Seek(0LL, SEEK_SET);
/haiku/src/add-ons/translators/hvif/
H A DHVIFTranslator.cpp100 off_t size = inSource->Seek(0, SEEK_END);
101 if (size <= 0 || size > 256 * 1024 || inSource->Seek(0, SEEK_SET) != 0)
142 off_t size = inSource->Seek(0, SEEK_END);
143 if (size <= 0 || size > 256 * 1024 || inSource->Seek(0, SEEK_SET) != 0)
167 stream.Seek(0, SEEK_SET);
/haiku/src/libs/print/libprint/
H A DPrintJobReader.cpp84 if (fJobFile.Seek(start, SEEK_SET) != start)
89 fJobFile.Seek(sizeof(off_t) + sizeof(int32) * 10, SEEK_CUR);
108 fJobFile.Seek(fNextPicture, SEEK_SET);
130 fJobFile.Seek(0, SEEK_SET);
163 fJobFile.Seek(next_page, SEEK_SET);
H A DPrintProcess.cpp63 fFile->Seek(o, SEEK_SET);
82 fFile->Seek(fOffset, SEEK_SET);
85 fFile->Seek(sizeof(offset) + sizeof(dummy), SEEK_CUR);
/haiku/headers/private/storage/
H A DFileDescriptorIO.h26 virtual off_t Seek(off_t position, uint32 seekMode);
/haiku/src/add-ons/input_server/methods/pen/compat/
H A DStringIO.h28 virtual off_t Seek(off_t pos, uint32 seek_mode);
/haiku/src/tests/kits/media/mp3_reader_test/
H A Dmain.cpp105 TRACE("main: calling Seek(stream = %d, time %.6f forward)\n", i, time / 1000000.0);
106 s = reader->Seek(cookies[i], B_MEDIA_SEEK_TO_TIME | B_MEDIA_SEEK_CLOSEST_FORWARD, &frame, &time);
107 TRACE("main: Seek result: time %.6f, frame %Ld\n", time / 1000000.0, frame);
110 TRACE("main: calling Seek(stream = %d, frame %Ld forward)\n", i, frame);
111 s = reader->Seek(cookies[i], B_MEDIA_SEEK_TO_FRAME | B_MEDIA_SEEK_CLOSEST_FORWARD, &frame, &time);
112 TRACE("main: Seek result: time %.6f, frame %Ld\n", time / 1000000.0, frame);
115 TRACE("main: calling Seek(stream = %d, time %.6f backward)\n", i, time / 1000000.0);
116 s = reader->Seek(cookies[i], B_MEDIA_SEEK_TO_TIME | B_MEDIA_SEEK_CLOSEST_BACKWARD, &frame, &time);
117 TRACE("main: Seek result: time %.6f, frame %Ld\n", time / 1000000.0, frame);
120 TRACE("main: calling Seek(strea
[all...]
/haiku/src/tests/kits/media/wav_reader_test/
H A Dmain.cpp105 TRACE("main: calling Seek(stream = %d, time %.6f forward)\n", i, time / 1000000.0);
106 s = reader->Seek(cookies[i], B_MEDIA_SEEK_TO_TIME | B_MEDIA_SEEK_CLOSEST_FORWARD, &frame, &time);
107 TRACE("main: Seek result: time %.6f, frame %Ld\n", time / 1000000.0, frame);
110 TRACE("main: calling Seek(stream = %d, frame %Ld forward)\n", i, frame);
111 s = reader->Seek(cookies[i], B_MEDIA_SEEK_TO_FRAME | B_MEDIA_SEEK_CLOSEST_FORWARD, &frame, &time);
112 TRACE("main: Seek result: time %.6f, frame %Ld\n", time / 1000000.0, frame);
115 TRACE("main: calling Seek(stream = %d, time %.6f backward)\n", i, time / 1000000.0);
116 s = reader->Seek(cookies[i], B_MEDIA_SEEK_TO_TIME | B_MEDIA_SEEK_CLOSEST_BACKWARD, &frame, &time);
117 TRACE("main: Seek result: time %.6f, frame %Ld\n", time / 1000000.0, frame);
120 TRACE("main: calling Seek(strea
[all...]

Completed in 223 milliseconds

12345678910