Lines Matching refs:aPipe
85 inline void printPipeError( ::osl::Pipe aPipe ) in printPipeError() argument
87 oslPipeError nError = aPipe.getError( ); in printPipeError()
176 ::osl::Pipe aPipe; in ctors_none()
177 bRes = aPipe.is( ); in ctors_none()
186 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in ctors_name_option()
189 bRes = aPipe.is( ) && aAssignPipe.is( ); in ctors_name_option()
210 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in ctors_copy()
212 ::osl::Pipe aCopyPipe( aPipe ); in ctors_copy()
214 bRes = aCopyPipe.is( ) && aCopyPipe == aPipe; in ctors_copy()
233 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in ctors_no_acquire()
235 ::osl::Pipe aNoAcquirePipe( aPipe.getHandle( ), SAL_NO_ACQUIRE ); in ctors_no_acquire()
249 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in ctors_acquire()
251 ::osl::Pipe aAcquirePipe( aPipe.getHandle( ) ); in ctors_acquire()
280 ::osl::Pipe aPipe; in is_001()
282 …ESSAGE( "#test comment#: test is(), check if the pipe is a valid one.", sal_False == aPipe.is( ) ); in is_001()
287 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in is_002()
289 …IT_ASSERT_MESSAGE( "#test comment#: test is(), a normal pipe creation.", sal_True == aPipe.is( ) ); in is_002()
294 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in is_003()
295 aPipe.clear( ); in is_003()
297 … CPPUNIT_ASSERT_MESSAGE( "#test comment#: test is(), an invalid case.", sal_False == aPipe.is( ) ); in is_003()
302 ::osl::Pipe aPipe( NULL ); in is_004()
304 …T_ASSERT_MESSAGE( "#test comment#: test is(), an invalid constructor.", sal_False == aPipe.is( ) ); in is_004()
336 ::osl::Pipe aPipe; in create_named_security_001()
337 bRes = aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE, rSec ); in create_named_security_001()
338 bRes1 = aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE, rSec ); in create_named_security_001()
339 aPipe.clear( ); in create_named_security_001()
348 ::osl::Pipe aPipe, aPipe1; in create_named_security_002()
349 bRes = aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE, rSec ); in create_named_security_002()
351 aPipe.clear( ); in create_named_security_002()
359 ::osl::Pipe aPipe; in create_named_001()
360 bRes = aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in create_named_001()
361 bRes1 = aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in create_named_001()
362 aPipe.clear( ); in create_named_001()
370 ::osl::Pipe aPipe, aPipe1; in create_named_002()
371 bRes = aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in create_named_002()
373 aPipe.clear( ); in create_named_002()
381 ::osl::Pipe aPipe; in create_named_003()
382 bRes = aPipe.create( test::uniquePipeName(aTestPipeName) ); in create_named_003()
383 aPipe.clear( ); in create_named_003()
409 ::osl::Pipe aPipe; in clear_001()
410 aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in clear_001()
411 aPipe.clear( ); in clear_001()
412 bRes = aPipe.is( ); in clear_001()
435 ::osl::Pipe aPipe, aPipe1; in assign_ref()
436 aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in assign_ref()
437 aPipe1 = aPipe; in assign_ref()
439 bRes1 = aPipe == aPipe1; in assign_ref()
440 aPipe.close( ); in assign_ref()
449 ::osl::Pipe aPipe, aPipe1; in assign_handle()
450 aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in assign_handle()
451 aPipe1 = aPipe.getHandle( ); in assign_handle()
453 bRes1 = aPipe == aPipe1; in assign_handle()
454 aPipe.close( ); in assign_handle()
499 ::osl::Pipe aPipe; in isEqual_001()
500 aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in isEqual_001()
501 bRes = aPipe == aPipe; in isEqual_001()
502 aPipe.close( ); in isEqual_001()
510 ::osl::Pipe aPipe, aPipe1, aPipe2; in isEqual_002()
511 aPipe.create( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in isEqual_002()
513 aPipe1 = aPipe; in isEqual_002()
516 bRes = aPipe == aPipe1; in isEqual_002()
517 bRes1 = aPipe == aPipe2; in isEqual_002()
518 aPipe.close( ); in isEqual_002()
543 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipe1), osl_Pipe_CREATE ); in close_001()
544 aPipe.close( ); in close_001()
545 bRes = aPipe.is( ); in close_001()
547 aPipe.clear( ); in close_001()
548 bRes1 = aPipe.is( ); in close_001()
556 ::osl::StreamPipe aPipe( test::uniquePipeName(aTestPipe1), osl_Pipe_CREATE ); in close_002()
557 aPipe.close( ); in close_002()
558 int nRet = aPipe.send( m_pTestString1.getStr(), 3 ); in close_002()
624 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_OPEN ); in getError_001()
625 oslPipeError nError = aPipe.getError( ); in getError_001()
626 printPipeError( aPipe ); in getError_001()
627 aPipe.clear( ); in getError_001()
635 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in getError_002()
637 oslPipeError nError = aPipe.getError( ); in getError_002()
638 printPipeError( aPipe ); in getError_002()
639 aPipe.clear( ); in getError_002()
663 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_OPEN ); in getHandle_001()
664 bRes = aPipe == aPipe.getHandle( ); in getHandle_001()
665 aPipe.clear( ); in getHandle_001()
673 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in getHandle_002()
674 ::osl::Pipe aPipe1( aPipe.getHandle( ) ); in getHandle_002()
675 bRes = aPipe == aPipe1; in getHandle_002()
676 aPipe.clear( ); in getHandle_002()
809 ::osl::StreamPipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE ); in ctors_no_acquire()
811 ::osl::StreamPipe aNoAcquirePipe( aPipe.getHandle( ), SAL_NO_ACQUIRE ); in ctors_no_acquire()
814 aPipe.clear( ); in ctors_no_acquire()