Home
last modified time | relevance | path

Searched refs:seqWrite (Results 1 – 4 of 4) sorted by relevance

/aoo42x/main/io/test/stm/
H A Dmarktest.cxx218 Sequence<sal_Int8> seqWrite( strlen( pcStr )+1 ); in testSimple() local
219 memcpy( seqWrite.getArray() , pcStr , seqWrite.getLength() ); in testSimple()
221 Sequence<sal_Int8> seqRead( seqWrite.getLength() ); in testSimple()
226 rOutput->writeBytes( seqWrite ); in testSimple()
235 rOutput->writeBytes( seqWrite ); in testSimple()
239 rInput->readBytes( seqRead , seqWrite.getLength() ); in testSimple()
248 rOutput->writeBytes( seqWrite ); in testSimple()
259 rInput->skipBytes( nMax*seqWrite.getLength() ); in testSimple()
580 Sequence<sal_Int8> seqWrite( 256 ); in testSimple() local
585 seqWrite.getArray()[i] = i; in testSimple()
[all …]
H A Dpipetest.cxx256 Sequence<sal_Int8> seqWrite = createSeq( "Hallo, du Ei !" ); in testSimple() local
260 output->writeBytes( seqWrite ); in testSimple()
263 ERROR_ASSERT( ! strcmp( (char *) seqWrite.getArray() , (char * )seqRead.getArray() ) , in testSimple()
269 input->skipBytes( seqWrite.getLength() - 5 ); in testSimple()
273 output->writeBytes( seqWrite ); in testSimple()
278 (char*) &( seqWrite.getArray()[seqWrite.getLength()-5] ) ), in testSimple()
283 output->writeBytes( seqWrite ); in testSimple()
284 ERROR_ASSERT( seqWrite.getLength() == input->available(), "wrong available() after write" ); in testSimple()
287 ERROR_ASSERT( seqWrite.getLength() -10 == input->readSomeBytes( seqRead , 100 ) , in testSimple()
/aoo42x/main/extensions/test/stm/
H A Dmarktest.cxx219 Sequence<BYTE> seqWrite( strlen( pcStr )+1 ); in testSimple() local
220 memcpy( seqWrite.getArray() , pcStr , seqWrite.getLen() ); in testSimple()
222 Sequence<BYTE> seqRead( seqWrite.getLen() ); in testSimple()
227 rOutput->writeBytes( seqWrite ); in testSimple()
236 rOutput->writeBytes( seqWrite ); in testSimple()
240 rInput->readBytes( seqRead , seqWrite.getLen() ); in testSimple()
249 rOutput->writeBytes( seqWrite ); in testSimple()
260 rInput->skipBytes( nMax*seqWrite.getLen() ); in testSimple()
581 Sequence<BYTE> seqWrite( 256 ); in testSimple() local
586 seqWrite.getArray()[i] = i; in testSimple()
[all …]
H A Dpipetest.cxx259 Sequence<BYTE> seqWrite = createSeq( "Hallo, du Ei !" ); in testSimple() local
263 output->writeBytes( seqWrite ); in testSimple()
266 ERROR_ASSERT( ! strcmp( (char *) seqWrite.getArray() , (char * )seqRead.getArray() ) , in testSimple()
272 input->skipBytes( seqWrite.getLen() - 5 ); in testSimple()
276 output->writeBytes( seqWrite ); in testSimple()
281 (char*) &( seqWrite.getArray()[seqWrite.getLen()-5] ) ), in testSimple()
286 output->writeBytes( seqWrite ); in testSimple()
287 ERROR_ASSERT( seqWrite.getLen() == input->available(), "wrong available() after write" ); in testSimple()
290 ERROR_ASSERT( seqWrite.getLen() -10 == input->readSomeBytes( seqRead , 100 ) , in testSimple()

Completed in 29 milliseconds