Lines Matching refs:input

249 	Reference< XInputStream > input( r , UNO_QUERY );  in testSimple()  local
252 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testSimple()
261 input->readBytes( seqRead , input->available() ); in testSimple()
265 ERROR_ASSERT( 0 == input->available() , in testSimple()
269 input->skipBytes( seqWrite.getLength() - 5 ); in testSimple()
270 ERROR_ASSERT( 0 == input->available() , "wrong available after skip" ); in testSimple()
274 ERROR_ASSERT( 5 == input->available() , "wrong available after skip/write " ); in testSimple()
276 input->readBytes( seqRead , 5 ); in testSimple()
284 ERROR_ASSERT( seqWrite.getLength() == input->available(), "wrong available() after write" ); in testSimple()
286 ERROR_ASSERT( 10 == input->readSomeBytes( seqRead , 10 ) , "maximal number of bytes ignored" ); in testSimple()
287 ERROR_ASSERT( seqWrite.getLength() -10 == input->readSomeBytes( seqRead , 100 ) , in testSimple()
300 ERROR_ASSERT(! input->readBytes( seqRead , 1 ), "eof not found !" ); in testSimple()
302 input->closeInput(); in testSimple()
305 input->readBytes( seqRead , 1 ); in testSimple()
313 input->available( ); in testSimple()
322 input->skipBytes(42 ); in testSimple()
335 Reference< XInputStream > input( r , UNO_QUERY ); in testBufferResizing() local
338 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testBufferResizing()
347 input->readBytes( dummy , 100); in testBufferResizing()
354 input->readBytes( seqRead, createIntSeq(i).getLength() ); in testBufferResizing()
361 ERROR_ASSERT( ! input->readBytes( seqRead , 1 ) , "eof not reached !" ); in testBufferResizing()
362 input->closeInput(); in testBufferResizing()
373 Reference< XInputStream > input( r , UNO_QUERY ); in testMultithreading() local
376 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testMultithreading()
389 if( 0 == input->readBytes( seqRead, createIntSeq(i).getLength() ) ) { in testMultithreading()
400 input->closeInput(); in testMultithreading()