Lines Matching refs:rInput

85 	void testSimple( const Reference< XOutputStream > &r, const Reference < XInputStream > &rInput );
209 const Reference< XInputStream > &rInput ) in testSimple()
227 rInput->readBytes( seqRead , rInput->available() ); in testSimple()
239 rInput->readBytes( seqRead , seqWrite.getLength() ); in testSimple()
251 ERROR_ASSERT( 0 == rInput->available() , "bytes available though mark is holded" ); in testSimple()
257 …ERROR_ASSERT( nMax*seqWrite.getLength() == rInput->available(),"bytes are not available though mar… in testSimple()
259 rInput->skipBytes( nMax*seqWrite.getLength() ); in testSimple()
260 ERROR_ASSERT( 0 == rInput->available(), "skip bytes failure" ); in testSimple()
273 ERROR_ASSERT( 0 == rInput->available(), "stream isn't clean" ); in testSimple()
302 ERROR_ASSERT( 256 == rInput->available(), "in between mark failure" ); in testSimple()
303 rInput->readBytes( aByte ,256); in testSimple()
344 ERROR_ASSERT( rInput->available() == 1 , "wrong number of bytes flushed" ); in testSimple()
348 ERROR_ASSERT( rInput->available() == 4 , "wrong number of bytes flushed" ); in testSimple()
350 rInput->readBytes( seqRead , 4 ); in testSimple()
358 rInput->closeInput(); in testSimple()
447 const Reference < XInputStream > &rInput );
514 Reference < XInputStream > rInput( TestObject , UNO_QUERY ); in test() local
517 OSL_ASSERT( rInput.is() ); in test()
520 testSimple( rPipeOutput , rInput ); in test()
576 const Reference < XInputStream > &rInput ) in testSimple()
578 Reference < XMarkableStream > rMarkable( rInput , UNO_QUERY ); in testSimple()
589 ERROR_ASSERT( 256 == rInput->available() , "basic read/write failure" ); in testSimple()
591 rInput->readBytes( seqRead , 10 ); in testSimple()
596 rInput->skipBytes( 50 ); in testSimple()
597 ERROR_ASSERT( 256-10-50 == rInput->available() , "marking error" ); in testSimple()
601 ERROR_ASSERT( 256-10 == rInput->available() , "marking error" ); in testSimple()
603 rInput->readBytes( seqRead , 10 ); in testSimple()
612 rInput->readBytes( seqRead , 10 ); in testSimple()
619 rInput->readBytes( seqRead , 10 ); in testSimple()
626 ERROR_ASSERT( 256-10-50 == rInput->available() , "marking error" ); in testSimple()
629 …ERROR_ASSERT( 100 == rInput->readSomeBytes( seqRead , 100 ) , "wrong results using readSomeBytes" … in testSimple()
630 ERROR_ASSERT( 96 == rInput->readSomeBytes( seqRead , 1000) , "wrong results using readSomeBytes" ); in testSimple()
632 rInput->closeInput(); in testSimple()