Lines Matching refs:osl

65 using namespace osl;
93 inline sal_Bool compareSocketAddr( const ::osl::SocketAddr & addr1 , const ::osl::SocketAddr & addr… in compareSocketAddr()
306 ::osl::SocketAddr saTargetSocketAddr;
307 ::osl::ConnectorSocket csConnectorSocket;
364 …::osl::AcceptorSocket asAcceptorSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_T… in run()
365 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT9 ); in run()
366 ::osl::StreamSocket ssStreamConnection; in run()
490 ::osl::SocketAddr saTargetSocketAddr;
491 ::osl::ConnectorSocket csConnectorSocket;
559 …::osl::AcceptorSocket asAcceptorSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_T… in run()
560 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT10 ); in run()
561 ::osl::StreamSocket ssStreamConnection; in run()
626 ::osl::AcceptorSocket asAcceptorSocket;
632 ::osl::SocketAddr saLocalSocketAddr( aHostIP, IP_PORT_MYPORT9 ); in run()
633 ::osl::StreamSocket ssStreamConnection; in run()
659 AcceptorThread(::osl::AcceptorSocket & asSocket, ::rtl::OUString & aBindIP ) in AcceptorThread()
679 ::osl::Socket m_sSocket;
687 CloseSocketThread(::osl::Socket & sSocket ) in CloseSocketThread()
724 ::osl::SocketAddr saSocketAddr; in TEST_F()
737 ::osl::SocketAddr saSocketAddr; in TEST_F()
757 ::osl::SocketAddr saSocketAddr( aHostName1, IP_PORT_HTTP1 ); in TEST_F()
758 ::osl::SocketAddr saCopySocketAddr( saSocketAddr ); in TEST_F()
768 ::osl::SocketAddr saSocketAddr( aHostName1, IP_PORT_HTTP1 ); in TEST_F()
771 ::osl::SocketAddr saSocketAddrCopy( psaOSLSocketAddr, SAL_NO_COPY ); in TEST_F()
776 ::osl::SocketAddr* pSocketAddr = new ::osl::SocketAddr( aHostName1, IP_PORT_HTTP1 ); in TEST_F()
781 ::osl::SocketAddr* pSocketAddrCopy = new ::osl::SocketAddr( psaOSLSocketAddr, SAL_NO_COPY ); in TEST_F()
792 ::osl::SocketAddr* pSocketAddr = new ::osl::SocketAddr( aHostName1, IP_PORT_HTTP1 ); in TEST_F()
795 … ::osl::SocketAddr* pSocketAddrCopy = new ::osl::SocketAddr( psaOSLSocketAddr, SAL_NO_COPY ); in TEST_F()
804 ::osl::SocketAddr saSocketAddr( aHostName1, IP_PORT_HTTP1 ); in TEST_F()
805 ::osl::SocketAddr saSocketAddrCopy( saSocketAddr.getHandle( ) ); in TEST_F()
812 ::osl::SocketAddr saSocketAddr( aHostName1, IP_PORT_HTTP1 ); in TEST_F()
813 ::osl::SocketAddr saSocketAddrCopy( saSocketAddr.getHandle( ) ); in TEST_F()
822 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP ); in TEST_F()
834 ::osl::SocketAddr saSocketAddr( aHostIpInval1, IP_PORT_MYPORT2 ); in TEST_F()
850 ::osl::SocketAddr saSocketAddr; in TEST_F()
857 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_INVAL ); in TEST_F()
864 ::osl::SocketAddr saSocketAddr( aHostIpInval1, IP_PORT_MYPORT ); in TEST_F()
887 ::osl::SocketAddr saSocketAddr( aHostIp4, IP_PORT_FTP ); in TEST_F()
898 ::osl::SocketAddr saSocketAddr( aHostIp4, IP_PORT_FTP ); in TEST_F()
919 ::osl::SocketAddr saSocketAddr( aHostName1, IP_PORT_FTP ); in TEST_F()
951 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP ); in TEST_F()
958 ::osl::SocketAddr saSocketAddr( aHostIp2, IP_PORT_INVAL ); in TEST_F()
968 ::osl::SocketAddr saSocketAddr( aHostIpInval1, IP_PORT_MYPORT ); in TEST_F()
986 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP ); in TEST_F()
1003 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP ); in TEST_F()
1007 ::osl::Socket sSocket(sHandle); in TEST_F()
1021 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP); in TEST_F()
1033 ::osl::SocketAddr saSocketAddr( aHostIpInval1, IP_PORT_FTP); in TEST_F()
1060 ::osl::SocketAddr saSocketAddr( aHostIp2, IP_PORT_FTP ); in TEST_F()
1083 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP ); in TEST_F()
1109 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_TELNET); in TEST_F()
1110 ::osl::SocketAddr saSocketAddrEqual( aHostIp2, IP_PORT_FTP ); in TEST_F()
1125 ::osl::SocketAddr saSocketAddr( aHostIp3, IP_PORT_TELNET); in TEST_F()
1126 ::osl::SocketAddr saSocketAddrEqual( aHostIp2, IP_PORT_FTP ); in TEST_F()
1138 const ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_TELNET); in TEST_F()
1139 ::osl::SocketAddr saSocketAddrEqual( aHostIp2, IP_PORT_FTP ); in TEST_F()
1153 const ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_TELNET); in TEST_F()
1154 ::osl::SocketAddr saSocketAddrEqual( aHostIp2, IP_PORT_FTP ); in TEST_F()
1164 ::osl::SocketAddr* pSocketAddr = new ::osl::SocketAddr( aHostIp1, IP_PORT_TELNET ); in TEST_F()
1166 ::osl::SocketAddr* pSocketAddrAssign = new ::osl::SocketAddr( aHostIp2, IP_PORT_FTP ); in TEST_F()
1178 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_TELNET); in TEST_F()
1179 ::osl::SocketAddr saSocketAddrequal( aHostIp1, IP_PORT_TELNET ); in TEST_F()
1186 ::osl::SocketAddr saSocketAddr( aHostIp2, IP_PORT_FTP); in TEST_F()
1187 ::osl::SocketAddr saSocketAddrequal( aHostIp1, IP_PORT_TELNET ); in TEST_F()
1204 ::osl::SocketAddr* pSocketAddr = new ::osl::SocketAddr( aHostName1, IP_PORT_HTTP1 ); in TEST_F()
1207 … ::osl::SocketAddr* pSocketAddrCopy = new ::osl::SocketAddr( psaOSLSocketAddr, SAL_NO_COPY ); in TEST_F()
1216 ::osl::SocketAddr saSocketAddr( aHostName3, IP_PORT_MYPORT4 ); in TEST_F()
1241 rtl::OUString suHostname = osl::SocketAddr::getLocalHostname(&aResult); in TEST_F()
1249 ::rtl::OUString suResult = ::osl::SocketAddr::getLocalHostname( pResult ); in TEST_F()
1283 ::osl::SocketAddr saSocketAddr; in TEST_F()
1284 ::osl::SocketAddr::resolveHostname( aHostIp1, saSocketAddr ); in TEST_F()
1307 …ASSERT_TRUE(IP_PORT_FTP== ::osl::SocketAddr::getServicePort( aServiceFTP, aProtocolTCP )) << "test… in TEST_F()
1312 …ASSERT_TRUE(IP_PORT_TELNET== ::osl::SocketAddr::getServicePort( aServiceTELNET, aProtocolTCP )) <<… in TEST_F()
1318 …ASSERT_TRUE(IP_PORT_NETBIOS_DGM == ::osl::SocketAddr::getServicePort( aServiceNETBIOS, aProtocolUD… in TEST_F()
1323 …ASSERT_TRUE(OSL_INVALID_PORT == ::osl::SocketAddr::getServicePort( ::rtl::OUString::createFromAsci… in TEST_F()
1379 ::osl::Socket sSocket( sHandle ); in TEST_F()
1387 ::osl::Socket sSocket( sHandle, SAL_NO_ACQUIRE ); in TEST_F()
1394 ::osl::Socket sSocket( sHandle ); in TEST_F()
1396 ::osl::Socket copySocket( sSocket ); in TEST_F()
1417 ::osl::Socket sSocket( sHandleIpx ); //, SAL_NO_ACQUIRE ); in TEST_F()
1456 ::osl::Socket sSocket(sHandle); in TEST_F()
1457 ::osl::Socket assignSocket = sSocket.getHandle(); in TEST_F()
1464 ::osl::Socket sSocket( sHandle ); in TEST_F()
1465 ::osl::Socket assignSocket = sSocket; in TEST_F()
1473 ::osl::Socket sSocket( sHandle ); in TEST_F()
1474 ::osl::Socket equalSocket = sSocket; in TEST_F()
1482 …::osl::Socket equalSocket( osl_createSocket( osl_Socket_FamilyInet, osl_Socket_TypeDgram, osl_Sock… in TEST_F()
1489 ::osl::Socket sSocket( sHandle ); in TEST_F()
1491 ::osl::Socket equalSocket( sSocket ); in TEST_F()
1498 ::osl::Socket sSocket( sHandle ); in TEST_F()
1500 …::osl::Socket equalSocket( osl_createSocket( osl_Socket_FamilyInet, osl_Socket_TypeDgram, osl_Sock… in TEST_F()
1528 ::osl::Socket sSocket(sHandle); in TEST_F()
1538 …::osl::AcceptorSocket asSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStrea… in TEST_F()
1558 …::osl::AcceptorSocket asSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStrea… in TEST_F()
1593 ::osl::Socket sSocket(sHandle); in TEST_F()
1594 ::osl::SocketAddr saBindSocketAddr( aHostIp1, IP_PORT_MYPORT8 ); in TEST_F()
1595 ::osl::SocketAddr saLocalSocketAddr; in TEST_F()
1633 ::osl::Socket sSocket(sHandle); in TEST_F()
1634 ::osl::SocketAddr saBindSocketAddr( aHostIp1, IP_PORT_MYPORT7 ); // aHostIp1 localhost in TEST_F()
1635 ::osl::SocketAddr saLocalSocketAddr; in TEST_F()
1658 ::osl::SocketAddr saBindSocketAddr( aHostIpInval, IP_PORT_TELNET);
1660 ::osl::Socket sSocket(sHandle);
1680 ::osl::Socket sSocket(sHandle); in TEST_F()
1681 ::osl::SocketAddr saBindSocketAddr( getLocalIP(), IP_PORT_INVAL); in TEST_F()
1722 ::osl::Socket sSocket(sHandle); in TEST_F()
1724 ::osl::SocketAddr saBindSocketAddr( aHostIp1, IP_PORT_MYPORT6 ); in TEST_F()
1750 ::osl::Socket sSocket(sHandle); in TEST_F()
1751 ::osl::SocketAddr saBindSocketAddr( aHostIpInval, IP_PORT_POP3); in TEST_F()
1752 ::osl::SocketAddr saLocalSocketAddr; in TEST_F()
1773 ::osl::AcceptorSocket asAcceptorSocket;
1774 ::osl::ConnectorSocket csConnectorSocket;
1797 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT ); in TEST_F()
1798 ::osl::SocketAddr saTargetSocketAddr( aHostIp1, IP_PORT_MYPORT ); in TEST_F()
1799 ::osl::SocketAddr saPeerSocketAddr( aHostIp2, IP_PORT_FTP ); in TEST_F()
1800 ::osl::StreamSocket ssConnection; in TEST_F()
1847 ::osl::Socket sSocket(sHandle); in TEST_F()
1849 ::osl::SocketAddr saBindSocketAddr( getLocalIP(), IP_PORT_MYPORT5 ); in TEST_F()
1863 ::osl::Socket sSocket(sHandle); in TEST_F()
1864 ::osl::SocketAddr saBindSocketAddr( aHostIpInval, IP_PORT_NETBIOS ); in TEST_F()
1865 ::osl::SocketAddr saLocalSocketAddr; in TEST_F()
1884 ::osl::AcceptorSocket asAcceptorSocket;
1885 ::osl::ConnectorSocket csConnectorSocket;
1908 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT1 ); in TEST_F()
1909 ::osl::SocketAddr saTargetSocketAddr( aHostIp1, IP_PORT_MYPORT1 ); in TEST_F()
1910 ::osl::SocketAddr saPeerSocketAddr( aHostIp2, IP_PORT_FTP ); in TEST_F()
1911 ::osl::StreamSocket ssConnection; in TEST_F()
1938 ::osl::AcceptorSocket asAcceptorSocket;
1939 ::osl::ConnectorSocket csConnectorSocket;
1962 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT ); in TEST_F()
1963 ::osl::SocketAddr saTargetSocketAddr( aHostIp1, IP_PORT_MYPORT ); in TEST_F()
1964 ::osl::SocketAddr saPeerSocketAddr( aHostIp2, IP_PORT_FTP ); in TEST_F()
1965 ::osl::StreamSocket ssConnection; in TEST_F()
2009 ::osl::Socket sSocket(sHandle); in TEST_F()
2017 ::osl::Socket sSocket(sHandle); in TEST_F()
2033 ::osl::Socket sSocket(sHandle); in TEST_F()
2077 ::osl::Socket sSocket(sHandle); in TEST_F()
2093 ::osl::Socket sSocket(sHandle); in TEST_F()
2105 ::osl::Socket sSocket(sHandle); in TEST_F()
2115 ::osl::Socket sSocket(sHandle); in TEST_F()
2136 ::osl::AcceptorSocket asAcceptorSocket;
2274 ::osl::AcceptorSocket asAcceptorSocket;
2279 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT ); in TEST_F()
2280 ::osl::StreamSocket ssConnection; in TEST_F()
2304 ::osl::AcceptorSocket asAcceptorSocket;
2309 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT ); in TEST_F()
2310 ::osl::StreamSocket ssConnection; in TEST_F()
2351 ::osl::Socket sSocket(sHandle); in TEST_F()
2352 ::osl::SocketAddr saBindSocketAddr( aHostIpInval, IP_PORT_HTTP2 ); in TEST_F()
2353 ::osl::SocketAddr saLocalSocketAddr; in TEST_F()
2384 ::osl::Socket sSocket(sHandle); in TEST_F()
2385 ::osl::SocketAddr saBindSocketAddr( aHostIp1, IP_PORT_FTP ); in TEST_F()
2386 ::osl::SocketAddr saLocalSocketAddr; in TEST_F()
2393 ::osl::Socket sSocket(sHandle); in TEST_F()
2394 ::osl::SocketAddr saBindSocketAddr( aHostIpInval, IP_PORT_FTP ); in TEST_F()
2395 ::osl::SocketAddr saLocalSocketAddr; in TEST_F()
2432 ::osl::Socket sSocket(sHandle); in TEST_F()
2433 ::osl::Socket assignSocket = sSocket.getHandle(); in TEST_F()
2440 ::osl::Socket sSocket( sHandle ); in TEST_F()
2441 ::osl::Socket assignSocket ( sSocket.getHandle( ) ); in TEST_F()
2485 …::osl::StreamSocket ssSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStream … in TEST_F()
2493 ::osl::StreamSocket ssSocket( sHandle ); in TEST_F()
2501 ::osl::StreamSocket ssSocket( sHandle, SAL_NO_ACQUIRE ); in TEST_F()
2509 …::osl::StreamSocket ssSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStream … in TEST_F()
2511 ::osl::StreamSocket copySocket( ssSocket ); in TEST_F()
2575 …::osl::AcceptorSocket asAcceptorSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_T… in TEST_F()
2576 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT9 ); in TEST_F()
2577 ::osl::StreamSocket ssStreamConnection; in TEST_F()
2663 …::osl::AcceptorSocket asSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStrea… in TEST_F()
2679 …::osl::AcceptorSocket asSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStrea… in TEST_F()
2680 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT9); in TEST_F()
2689 ::osl::StreamSocket ssConnectionSocket; in TEST_F()
2729 …::osl::AcceptorSocket asSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStrea… in TEST_F()
2730 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT9); in TEST_F()
2739 ::osl::StreamSocket ssConnectionSocket; in TEST_F()
2770 …::osl::AcceptorSocket asSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStrea… in TEST_F()
2802 …::osl::ConnectorSocket csSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStre… in TEST_F()
2815 ::osl::AcceptorSocket asAcceptorSocket;
2816 ::osl::ConnectorSocket csConnectorSocket;
2839 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT2 ); in TEST_F()
2840 ::osl::SocketAddr saTargetSocketAddr( aHostIp1, IP_PORT_MYPORT2 ); in TEST_F()
2841 ::osl::SocketAddr saPeerSocketAddr( aHostIp2, IP_PORT_FTP ); in TEST_F()
2842 ::osl::StreamSocket ssConnection; in TEST_F()
2867 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT3 ); in TEST_F()
2868 ::osl::SocketAddr saTargetSocketAddr( aHostIp1, IP_PORT_MYPORT3 ); in TEST_F()
2869 ::osl::SocketAddr saPeerSocketAddr( aHostIp2, IP_PORT_FTP ); in TEST_F()
2893 ::osl::SocketAddr saTargetSocketAddr1( aHostIp1, IP_PORT_MYPORT3 ); in TEST_F()
2894 ::osl::SocketAddr saTargetSocketAddr2( aHostIpInval1, IP_PORT_MYPORT3 ); in TEST_F()
2911 ::osl::SocketAddr saTargetSocketAddr( aHostIpInval1, IP_PORT_MYPORT3 ); in TEST_F()
2943 …::osl::AcceptorSocket asSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStrea… in TEST_F()
2957 …::osl::AcceptorSocket asSocket( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_TypeStrea…
2958 …::osl::AcceptorSocket asSocketAssign( osl_Socket_FamilyInet, osl_Socket_ProtocolIp, osl_Socket_Typ…
2960 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_MYPORT4 );
2992 ::osl::AcceptorSocket asAcceptorSocket;
2993 ::osl::ConnectorSocket csConnectorSocket;
3017 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT3 ); in TEST_F()
3018 ::osl::SocketAddr saTargetSocketAddr( aHostIp1, IP_PORT_MYPORT3 ); in TEST_F()
3019 ::osl::StreamSocket ssConnection; in TEST_F()
3038 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT4 ); in TEST_F()
3039 ::osl::SocketAddr saTargetSocketAddr( aHostIp1, IP_PORT_MYPORT4 ); in TEST_F()
3040 ::osl::SocketAddr saPeerSocketAddr( aHostIp2, IP_PORT_FTP ); in TEST_F()
3041 ::osl::StreamSocket ssConnection; in TEST_F()
3086 ::osl::DatagramSocket dsSocket; in TEST_F()
3096 ::osl::SocketAddr saTargetSocketAddr;
3097 ::osl::DatagramSocket dsSocket;
3127 ::osl::SocketAddr saTargetSocketAddr;
3128 ::osl::DatagramSocket dsSocket;
3132 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT10 ); in run()
3178 ::osl::SocketAddr saLocalSocketAddr( aHostIp1, IP_PORT_MYPORT9 ); in TEST_F()
3179 ::osl::DatagramSocket dsSocket; in TEST_F()
3197 ::osl::SocketAddr saListenSocketAddr( aHostIp1, IP_PORT_MYPORT10 ); in TEST_F()
3198 ::osl::DatagramSocket dsSocket; in TEST_F()
3221 ::osl::SocketAddr saListenSocketAddr( aHostIpInval1, IP_PORT_MYPORT10 ); in TEST_F()
3222 ::osl::DatagramSocket dsSocket; in TEST_F()
3230 ::osl::SocketAddr saListenSocketAddr1( aHostIpInval1, IP_PORT_MYPORT10 ); in TEST_F()
3231 ::osl::SocketAddr saListenSocketAddr2( aHostIp2, IP_PORT_MYPORT10 ); in TEST_F()
3232 ::osl::DatagramSocket dsSocket; in TEST_F()