Lines Matching refs:seqRead
221 Sequence<sal_Int8> seqRead( seqWrite.getLength() ); in testSimple() local
227 rInput->readBytes( seqRead , rInput->available() ); in testSimple()
228 ERROR_ASSERT( ! strcmp( (char *) seqWrite.getArray() , (char * )seqRead.getArray() ) , in testSimple()
239 rInput->readBytes( seqRead , seqWrite.getLength() ); in testSimple()
240 ERROR_ASSERT( ! strcmp( (char *) seqWrite.getArray() , (char * )seqRead.getArray() ) , in testSimple()
350 rInput->readBytes( seqRead , 4 ); in testSimple()
352 ERROR_ASSERT( 3 == seqRead.getArray()[0] , "rewrite didn't work" ); in testSimple()
353 ERROR_ASSERT( 2 == seqRead.getArray()[1] , "rewrite didn't work" ); in testSimple()
354 ERROR_ASSERT( 1 == seqRead.getArray()[2] , "rewrite didn't work" ); in testSimple()
355 ERROR_ASSERT( 0 == seqRead.getArray()[3] , "rewrite didn't work" ); in testSimple()
581 Sequence<sal_Int8> seqRead(10); in testSimple() local
591 rInput->readBytes( seqRead , 10 ); in testSimple()
592 ERROR_ASSERT( 9 == seqRead.getArray()[9] , "basic read/write failure" ); in testSimple()
603 rInput->readBytes( seqRead , 10 ); in testSimple()
604 ERROR_ASSERT( 10 == seqRead.getArray()[0] , "marking error" ); in testSimple()
612 rInput->readBytes( seqRead , 10 ); in testSimple()
613 ERROR_ASSERT( 20 == seqRead.getArray()[0] , "Inbetween mark failed!\n" ); in testSimple()
619 rInput->readBytes( seqRead , 10 ); in testSimple()
620 ERROR_ASSERT( 20 == seqRead.getArray()[0] , "Inbetween mark failed!\n" ); 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()