Lines Matching refs:sSocket

686 	CloseSocketThread(::osl::Socket & sSocket )  in CloseSocketThread()  argument
687 : m_sSocket( sSocket ) in CloseSocketThread()
1054 ::osl::Socket sSocket(sHandle); in setPort_002()
1055 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 );//sal_True); in setPort_002()
1056 sal_Bool bOK1 = sSocket.bind( saSocketAddr ); in setPort_002()
1059 sal_Int32 newPort = sSocket.getLocalPort(); in setPort_002()
1521 ::osl::Socket sSocket( sHandle ); in ctors_acquire()
1524 osl_Socket_TypeStream == sSocket.getType( ) ); in ctors_acquire()
1530 ::osl::Socket sSocket( sHandle, SAL_NO_ACQUIRE ); in ctors_no_acquire()
1533 osl_Socket_TypeStream == sSocket.getType( ) ); in ctors_no_acquire()
1538 ::osl::Socket sSocket( sHandle ); in ctors_copy_ctor()
1540 ::osl::Socket copySocket( sSocket ); in ctors_copy_ctor()
1562 ::osl::Socket sSocket( sHandleIpx ); //, SAL_NO_ACQUIRE ); in ctors_family_Ipx()
1563 t_print("#Type is %d \n", sSocket.getType( ) ); in ctors_family_Ipx()
1566 osl_Socket_TypeStream == sSocket.getType( ) ); in ctors_family_Ipx()
1613 ::osl::Socket sSocket(sHandle); in operators_assignment_handle()
1614 ::osl::Socket assignSocket = sSocket.getHandle(); in operators_assignment_handle()
1622 ::osl::Socket sSocket( sHandle ); in operators_assignment()
1623 ::osl::Socket assignSocket = sSocket; in operators_assignment()
1632 ::osl::Socket sSocket( sHandle ); in operators_equal_handle_001()
1633 ::osl::Socket equalSocket = sSocket; in operators_equal_handle_001()
1650 ::osl::Socket sSocket( sHandle ); in operators_equal_001()
1652 ::osl::Socket equalSocket( sSocket ); in operators_equal_001()
1655 equalSocket == sSocket ); in operators_equal_001()
1660 ::osl::Socket sSocket( sHandle ); in operators_equal_002()
1665 !( equalSocket == sSocket ) ); in operators_equal_002()
1703 ::osl::Socket sSocket(sHandle); in close_001()
1704 sSocket.close(); in close_001()
1707 sSocket.getHandle() == sHandle ); in close_001()
1774 ::osl::Socket sSocket(sHandle); in getLocalAddr_001()
1778 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getLocalAddr_001()
1780 sal_Bool bOK1 = sSocket.bind( saBindSocketAddr ); in getLocalAddr_001()
1781 …::rtl::OUString suError1 = ::rtl::OUString::createFromAscii("Socket bind fail:") + sSocket.getErro… in getLocalAddr_001()
1784 sSocket.getLocalAddr( saLocalSocketAddr ); in getLocalAddr_001()
1786 sal_Bool bOK = compareUString( saLocalSocketAddr.getHostname( 0 ), sSocket.getLocalHost() ) ; in getLocalAddr_001()
1822 ::osl::Socket sSocket(sHandle); in getLocalPort_001()
1826 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getLocalPort_001()
1828 sal_Bool bOK1 = sSocket.bind( saBindSocketAddr ); in getLocalPort_001()
1829 …::rtl::OUString suError1 = ::rtl::OUString::createFromAscii("Socket bind fail:") + sSocket.getErro… in getLocalPort_001()
1831 sal_Bool bOK = ( IP_PORT_MYPORT7 == sSocket.getLocalPort( ) ); in getLocalPort_001()
1849 ::osl::Socket sSocket(sHandle); in getLocalPort_002()
1850 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); // sal_True); in getLocalPort_002()
1851 sSocket.bind( saBindSocketAddr ); in getLocalPort_002()
1853 ::rtl::OUString suError = outputError(::rtl::OUString::valueOf(sSocket.getLocalPort( )), in getLocalPort_002()
1856 sal_Bool bOK = ( OSL_INVALID_PORT == sSocket.getLocalPort( ) ); in getLocalPort_002()
1868 ::osl::Socket sSocket(sHandle); in getLocalPort_003()
1871 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getLocalPort_003()
1873 sal_Bool bOK1 = sSocket.bind( saBindSocketAddr ); in getLocalPort_003()
1874 …::rtl::OUString suError1 = ::rtl::OUString::createFromAscii("Socket bind fail:") + sSocket.getErro… in getLocalPort_003()
1876 ::rtl::OUString suError = outputError(::rtl::OUString::valueOf(sSocket.getLocalPort( )), in getLocalPort_003()
1879 sal_Bool bOK = ( sSocket.getLocalPort( ) >= 1 && sSocket.getLocalPort( ) <= 65535); in getLocalPort_003()
1919 ::osl::Socket sSocket(sHandle); in getLocalHost_001()
1923 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getLocalHost_001()
1925 sal_Bool bOK1 = sSocket.bind( saBindSocketAddr ); in getLocalHost_001()
1926 …::rtl::OUString suError1 = ::rtl::OUString::createFromAscii("Socket bind fail:") + sSocket.getErro… in getLocalHost_001()
1931 bOK = compareUString( sSocket.getLocalHost( ), getThisHostname( ) ) ; in getLocalHost_001()
1932 suError = outputError(sSocket.getLocalHost( ), getThisHostname( ), in getLocalHost_001()
1937 bRes1 = compareUString( sSocket.getLocalHost( ), aUString ) ; in getLocalHost_001()
1938 bRes2 = compareUString( sSocket.getLocalHost( ), saBindSocketAddr.getHostname(0) ) ; in getLocalHost_001()
1940 …suError = outputError(sSocket.getLocalHost( ), aUString, "test for getLocalHost function: create l… in getLocalHost_001()
1947 ::osl::Socket sSocket(sHandle); in getLocalHost_002()
1951 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getLocalHost_002()
1952 sSocket.bind( saBindSocketAddr ); in getLocalHost_002()
1954 sal_Bool bOK = compareUString( sSocket.getLocalHost( ), aNullURL ) ; in getLocalHost_002()
1955 …::rtl::OUString suError = outputError(sSocket.getLocalHost( ), aNullURL, "test for getLocalHost fu… in getLocalHost_002()
2061 ::osl::Socket sSocket(sHandle); in bind_001()
2065 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in bind_001()
2066 sal_Bool bOK1 = sSocket.bind( saBindSocketAddr ); in bind_001()
2069 sal_Bool bOK2 = compareUString( sSocket.getLocalHost( ), saBindSocketAddr.getHostname( ) ) ; in bind_001()
2071 sSocket.close(); in bind_001()
2077 ::osl::Socket sSocket(sHandle); in bind_002()
2081 sSocket.setOption( osl_Socket_OptionReuseAddr, 1); // sal_True); in bind_002()
2082 sal_Bool bOK1 = sSocket.bind( saBindSocketAddr ); in bind_002()
2083 sal_Bool bOK2 = compareUString( sSocket.getLocalHost( ), getThisHostname( ) ) ; in bind_002()
2249 ::osl::Socket sSocket(sHandle); in getType_001()
2252 osl_Socket_TypeStream == sSocket.getType( ) ); in getType_001()
2258 ::osl::Socket sSocket(sHandle); in getType_002()
2261 osl_Socket_TypeDgram == sSocket.getType( ) ); in getType_002()
2276 ::osl::Socket sSocket(sHandle); in getType_003()
2279 osl_Socket_TypeRaw == sSocket.getType( ) ); in getType_003()
2329 ::osl::Socket sSocket(sHandle); in getOption_001()
2332 sSocket.getOption( osl_Socket_OptionType, pType, sizeof ( sal_Int32 ) ); in getOption_001()
2346 ::osl::Socket sSocket(sHandle); in getOption_004()
2349 … sal_Int32 nRes = sSocket.getOption( osl_Socket_OptionInvalid, pbDontRoute, sizeof ( sal_Bool ) ); in getOption_004()
2359 ::osl::Socket sSocket(sHandle); in getOption_simple_001()
2361 sal_Bool bOK = ( sal_False == sSocket.getOption( osl_Socket_OptionDontRoute ) ); in getOption_simple_001()
2370 ::osl::Socket sSocket(sHandle); in getOption_simple_002()
2372 sal_Bool bOK = ( sal_False == sSocket.getOption( osl_Socket_OptionDebug ) ); in getOption_simple_002()
2648 ::osl::Socket sSocket(sHandle); in clearError_001()
2651 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in clearError_001()
2652 sSocket.bind( saBindSocketAddr );//build an error "osl_Socket_E_AddrNotAvail" in clearError_001()
2653 oslSocketError seBind = sSocket.getError( ); in clearError_001()
2654 sSocket.clearError( ); in clearError_001()
2657 osl_Socket_E_None == sSocket.getError( ) && seBind != osl_Socket_E_None ); in clearError_001()
2690 ::osl::Socket sSocket(sHandle); in getError_001()
2695 osl_Socket_E_None == sSocket.getError( ) ); in getError_001()
2700 ::osl::Socket sSocket(sHandle); in getError_002()
2703 sSocket.setOption( osl_Socket_OptionReuseAddr, 1 ); //sal_True); in getError_002()
2704 sSocket.bind( saBindSocketAddr );//build an error "osl_Socket_E_AddrNotAvail" in getError_002()
2708 osl_Socket_E_InvalidError == sSocket.getError( ) ); in getError_002()
2713 osl_Socket_E_AddrNotAvail == sSocket.getError( ) ); in getError_002()
2747 ::osl::Socket sSocket(sHandle); in getHandle_001()
2748 ::osl::Socket assignSocket = sSocket.getHandle(); in getHandle_001()
2756 ::osl::Socket sSocket( sHandle ); in getHandle_002()
2757 ::osl::Socket assignSocket ( sSocket.getHandle( ) ); in getHandle_002()