Lines Matching refs:setOption
95 asAcceptorSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //integer not sal_Bool : sal_True); in run()
443 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getLocalAddr_001()
491 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getLocalPort_001()
515 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); // sal_True); in getLocalPort_002()
536 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getLocalPort_003()
588 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getLocalHost_001()
616 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getLocalHost_002()
671 asAcceptorSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getPeer_001()
730 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in bind_001()
746 sSocket.setOption( osl_Socket_OptionReuseAddr, 1); // sal_True); in bind_002()
800 asAcceptorSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); // sal_True); in isRecvReady_001()
864 asAcceptorSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in isSendReady_001()
1060 class setOption : public CppUnit::TestFixture class
1099 …sal_Bool b1 = asAcceptorSocket.setOption( osl_Socket_OptionDontRoute, pbDontRouteSet, nBufferLen… in setOption_001()
1112 …sal_Bool b3 = asAcceptorSocket.setOption( osl_Socket_OptionDontRoute, pbDontRouteSet, sizeof ( s… in setOption_001()
1157 asAcceptorSocket.setOption( osl_Socket_OptionLinger, &aLingerSet, nBufferLen ); in setOption_002()
1175 sal_Bool b1 = asAcceptorSocket.setOption( osl_Socket_OptionLinger, &aLingerSet, 0 ); in setOption_003()
1184 asAcceptorSocket.setOption( osl_Socket_OptionDontRoute, 1 ); //sal_True ); in setOption_simple_001()
1203 CPPUNIT_TEST_SUITE( setOption );
1229 asAcceptorSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in enableNonBlockingMode_001()
1267 asAcceptorSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); // sal_True); in isNonBlockingMode_001()
1316 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in clearError_001()
1368 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getError_002()
1451 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(osl_Socket::setOption, "osl_Socket");