Lines Matching refs:saSocketAddr
722 ::osl::SocketAddr saSocketAddr; in ctors_none()
730 sal_True == saSocketAddr.is( ) ); in ctors_none()
736 ::osl::SocketAddr saSocketAddr; in ctors_none_000()
739 rtl::OUString suHost = saSocketAddr.getLocalHostname( &aResult); in ctors_none_000()
756 ::osl::SocketAddr saSocketAddr( aHostName1, IP_PORT_HTTP1 ); in ctors_copy()
757 ::osl::SocketAddr saCopySocketAddr( saSocketAddr ); in ctors_copy()
768 ::osl::SocketAddr saSocketAddr( aHostName1, IP_PORT_HTTP1 ); in ctors_copy_no_001()
769 oslSocketAddr psaOSLSocketAddr = saSocketAddr.getHandle( ); in ctors_copy_no_001()
775 saSocketAddr.getPort( ) == IP_PORT_HTTP2 ); in ctors_copy_no_001()
807 ::osl::SocketAddr saSocketAddr( aHostName1, IP_PORT_HTTP1 ); in ctors_copy_handle_001()
808 ::osl::SocketAddr saSocketAddrCopy( saSocketAddr.getHandle( ) ); in ctors_copy_handle_001()
816 ::osl::SocketAddr saSocketAddr( aHostName1, IP_PORT_HTTP1 ); in ctors_copy_handle_002()
817 ::osl::SocketAddr saSocketAddrCopy( saSocketAddr.getHandle( ) ); in ctors_copy_handle_002()
821 saSocketAddr.getPort( ) != IP_PORT_HTTP2 ); in ctors_copy_handle_002()
827 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP ); in ctors_hostname_port_001()
828 printUString(saSocketAddr.getHostname( ), "ctors_hostname_port_001:getHostname"); in ctors_hostname_port_001()
831 saSocketAddr.is( ) == sal_True && in ctors_hostname_port_001()
832 ( saSocketAddr.getPort( ) == IP_PORT_FTP )/*&& in ctors_hostname_port_001()
840 ::osl::SocketAddr saSocketAddr( aHostIpInval1, IP_PORT_MYPORT2 ); in ctors_hostname_port_002()
842 …: using an invalid IP address, the socketaddr ctors should fail", sal_False == saSocketAddr.is( )); in ctors_hostname_port_002()
868 ::osl::SocketAddr saSocketAddr; in is_001()
871 sal_True == saSocketAddr.is( ) ); in is_001()
876 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_INVAL ); in is_002()
879 sal_True == saSocketAddr.is( ) ); in is_002()
884 ::osl::SocketAddr saSocketAddr( aHostIpInval1, IP_PORT_MYPORT ); in is_003()
887 sal_True != saSocketAddr.is( ) ); in is_003()
916 ::osl::SocketAddr saSocketAddr( aHostIp4, IP_PORT_FTP ); in getHostname_000()
927 ::osl::SocketAddr saSocketAddr( aHostIp4, IP_PORT_FTP ); in getHostname_001()
928 rtl::OUString suResult = saSocketAddr.getHostname( 0 ); in getHostname_001()
948 ::osl::SocketAddr saSocketAddr( aHostName1, IP_PORT_FTP ); in getHostname_002()
949 sal_Bool bOK = saSocketAddr.setHostname( suHostname ); in getHostname_002()
952 rtl::OUString suResult = saSocketAddr.getHostname( &aResult ); in getHostname_002()
987 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP ); in getPort_001()
990 IP_PORT_FTP == saSocketAddr.getPort( ) ); in getPort_001()
995 ::osl::SocketAddr saSocketAddr( aHostIp2, IP_PORT_INVAL ); in getPort_002()
1000 saSocketAddr.getPort( )>=1 && saSocketAddr.getPort( ) <= 65535 ); in getPort_002()
1006 ::osl::SocketAddr saSocketAddr( aHostIpInval1, IP_PORT_MYPORT ); in getPort_003()
1009 saSocketAddr.getPort( ) == OSL_INVALID_PORT ); in getPort_003()
1032 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP ); in setPort_001()
1033 sal_Bool bOK = saSocketAddr.setPort( IP_PORT_TELNET ); in setPort_001()
1037 ( IP_PORT_TELNET == saSocketAddr.getPort( ) ) ); in setPort_001()
1050 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP ); in setPort_002()
1051 sal_Bool bOK = saSocketAddr.setPort( IP_PORT_ZERO ); in setPort_002()
1056 sal_Bool bOK1 = sSocket.bind( saSocketAddr ); in setPort_002()
1069 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP); in setPort_003()
1070 sal_Bool bOK = saSocketAddr.setPort( IP_PORT_INVAL ); in setPort_003()
1075 …( ( 1 <= saSocketAddr.getPort( ) ) && ( 65535 >= saSocketAddr.getPort( ) ) &&( bOK == sal_True ) )… in setPort_003()
1082 ::osl::SocketAddr saSocketAddr( aHostIpInval1, IP_PORT_FTP); in setPort_004()
1083 sal_Bool bOK = saSocketAddr.setPort( IP_PORT_MYPORT ); in setPort_004()
1119 ::osl::SocketAddr saSocketAddr( aHostIp2, IP_PORT_FTP ); in setAddr_001()
1120 saSocketAddr.setAddr( UStringIPToByteSequence( aHostIp1 ) ); in setAddr_001()
1121 ::rtl::ByteSequence bsSocketAddr = saSocketAddr.getAddr( 0 ); in setAddr_001()
1149 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_FTP ); in getAddr_001()
1150 ::rtl::ByteSequence bsSocketAddr = saSocketAddr.getAddr( &SocketResult ); in getAddr_001()
1181 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_TELNET); in operator_equal_001()
1184 saSocketAddrEqual = saSocketAddr; in operator_equal_001()
1198 ::osl::SocketAddr saSocketAddr( aHostIp3, IP_PORT_TELNET); in operator_equal_002()
1201 saSocketAddrEqual = saSocketAddr; in operator_equal_002()
1205 saSocketAddr.setPort( IP_PORT_HTTP2 ); in operator_equal_002()
1213 const ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_TELNET); in operator_equal_const_001() local
1216 saSocketAddrEqual = saSocketAddr; in operator_equal_const_001()
1229 const ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_TELNET); in operator_equal_const_002() local
1232 saSocketAddrEqual = saSocketAddr; in operator_equal_const_002()
1236 IP_PORT_HTTP1 != saSocketAddr.getPort( ) ); in operator_equal_const_002()
1256 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_TELNET); in operator_is_equal_001()
1260 sal_True == ( saSocketAddrequal == saSocketAddr.getHandle( ) ) ); in operator_is_equal_001()
1265 ::osl::SocketAddr saSocketAddr( aHostIp2, IP_PORT_FTP); in operator_is_equal_002()
1269 sal_False == ( saSocketAddrequal == saSocketAddr.getHandle( ) ) ); in operator_is_equal_002()
1309 ::osl::SocketAddr saSocketAddr( aHostName3, IP_PORT_MYPORT4 ); in getSocketAddrHandle_002()
1310 oslSocketAddr poslSocketAddr = saSocketAddr.getHandle( ); in getSocketAddrHandle_002()
1312 sal_Bool bOK = ( saSocketAddr == poslSocketAddr ); in getSocketAddrHandle_002()
1389 ::osl::SocketAddr saSocketAddr; in resolveHostname_001()
1390 ::osl::SocketAddr::resolveHostname( aHostIp1, saSocketAddr ); in resolveHostname_001()
1391 ::rtl::ByteSequence bsSocketAddr = saSocketAddr.getAddr( 0 ); in resolveHostname_001()
3377 ::osl::SocketAddr saSocketAddr( aHostIp1, IP_PORT_MYPORT4 );
3378 asSocket.bind( saSocketAddr );