Lines Matching refs:input

252 	XInputStreamRef input( r , USR_QUERY );  in testSimple()  local
255 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testSimple()
264 input->readBytes( seqRead , input->available() ); in testSimple()
268 ERROR_ASSERT( 0 == input->available() , in testSimple()
272 input->skipBytes( seqWrite.getLen() - 5 ); in testSimple()
273 ERROR_ASSERT( 0 == input->available() , "wrong available after skip" ); in testSimple()
277 ERROR_ASSERT( 5 == input->available() , "wrong available after skip/write " ); in testSimple()
279 input->readBytes( seqRead , 5 ); in testSimple()
287 ERROR_ASSERT( seqWrite.getLen() == input->available(), "wrong available() after write" ); in testSimple()
289 ERROR_ASSERT( 10 == input->readSomeBytes( seqRead , 10 ) , "maximal number of bytes ignored" ); in testSimple()
290 ERROR_ASSERT( seqWrite.getLen() -10 == input->readSomeBytes( seqRead , 100 ) , in testSimple()
303 ERROR_ASSERT(! input->readBytes( seqRead , 1 ), "eof not found !" ); in testSimple()
305 input->closeInput(); in testSimple()
307 input->readBytes( seqRead , 1 ); in testSimple()
320 XInputStreamRef input( r , USR_QUERY ); in testBufferResizing() local
323 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testBufferResizing()
331 input->readBytes( Sequence<BYTE>() , 100); in testBufferResizing()
338 input->readBytes( seqRead, createIntSeq(i).getLen() ); in testBufferResizing()
345 ERROR_ASSERT( ! input->readBytes( seqRead , 1 ) , "eof not reached !" ); in testBufferResizing()
346 input->closeInput(); in testBufferResizing()
357 XInputStreamRef input( r , USR_QUERY ); in testMultithreading() local
360 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testMultithreading()
373 if( 0 == input->readBytes( seqRead, createIntSeq(i).getLen() ) ) { in testMultithreading()
384 input->closeInput(); in testMultithreading()