Lines Matching refs:createFromAscii

119 …rtl::OUString suError = rtl::OUString::createFromAscii("Host names should be the same. From Socket…  in ctors_none_000()
121 suError += rtl::OUString::createFromAscii("', from getThisHostname() it is '"); in ctors_none_000()
123 suError += rtl::OUString::createFromAscii("'."); in ctors_none_000()
131 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("localhost"), IP_PORT_HTTP1 ); in ctors_copy()
143 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("localhost"), IP_PORT_HTTP1 ); in ctors_copy_no_001()
152 …::osl::SocketAddr* pSocketAddr = new ::osl::SocketAddr( rtl::OUString::createFromAscii("localhost"… in ctors_copy_no_001()
169 …::osl::SocketAddr* pSocketAddr = new ::osl::SocketAddr( rtl::OUString::createFromAscii("localhost"… in ctors_copy_no_002()
182 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("localhost"), IP_PORT_HTTP1 ); in ctors_copy_handle_001()
191 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("localhost"), IP_PORT_HTTP1 ); in ctors_copy_handle_002()
202 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_FTP ); in ctors_hostname_port_001()
215 …::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("123.345.67.89"), IP_PORT_MYPORT2 ); in ctors_hostname_port_002()
251 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_INVAL ); in is_002()
259 … ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("123.345.67.89"), IP_PORT_MYPORT ); in is_003()
291 … ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("129.158.217.107"), IP_PORT_FTP ); in getHostname_000()
303 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("129.158.217.107"), IP_PORT_FTP ); in getHostname_001()
305 …rtl::OUString suError = outputError(suResult, rtl::OUString::createFromAscii("sceri.PRC.Sun.COM"),… in getHostname_001()
306 sal_Bool bOK = compareUString( suResult, rtl::OUString::createFromAscii("sceri.PRC.Sun.COM") ); in getHostname_001()
312 …if ( compareUString( getIPbyName( aString ), rtl::OUString::createFromAscii("129.158.217.107") ) =… in getHostname_001()
322 rtl::OUString suHostname = rtl::OUString::createFromAscii("cn-1.germany.sun.com"); in getHostname_002()
326 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("localhost"), IP_PORT_FTP ); in getHostname_002()
366 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_FTP ); in getPort_001()
374 …::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("129.158.217.202"), IP_PORT_INVAL ); in getPort_002()
385 rtl::OUString suInvalidIP = rtl::OUString::createFromAscii("123.345.67.89"); in getPort_003()
412 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_FTP ); in setPort_001()
430 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_FTP ); in setPort_002()
449 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_FTP); in setPort_003()
462 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("123.345.67.89"), IP_PORT_FTP); in setPort_004()
499 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("129.158.217.202"), IP_PORT_FTP ); in setAddr_001()
500 saSocketAddr.setAddr( UStringIPToByteSequence( rtl::OUString::createFromAscii("127.0.0.1") ) ); in setAddr_001()
530 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_FTP ); in getAddr_001()
563 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_TELNET); in operator_equal_001()
564 …::osl::SocketAddr saSocketAddrEqual( rtl::OUString::createFromAscii("129.158.217.202"), IP_PORT_FT… in operator_equal_001()
581 …::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("129.158.217.199"), IP_PORT_TELNET); in operator_equal_002()
582 …::osl::SocketAddr saSocketAddrEqual( rtl::OUString::createFromAscii("129.158.217.202"), IP_PORT_FT… in operator_equal_002()
596 …const ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_TELNET); in operator_equal_const_001()
597 …::osl::SocketAddr saSocketAddrEqual( rtl::OUString::createFromAscii("129.158.217.202"), IP_PORT_FT… in operator_equal_const_001()
613 …const ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_TELNET); in operator_equal_const_002()
614 …::osl::SocketAddr saSocketAddrEqual( rtl::OUString::createFromAscii("129.158.217.202"), IP_PORT_FT… in operator_equal_const_002()
625 …::osl::SocketAddr* pSocketAddr = new ::osl::SocketAddr( rtl::OUString::createFromAscii("127.0.0.1"… in operator_equal_assign_001()
627 …ocketAddr* pSocketAddrAssign = new ::osl::SocketAddr( rtl::OUString::createFromAscii("129.158.217.… in operator_equal_assign_001()
640 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_TELNET); in operator_is_equal_001()
641 …::osl::SocketAddr saSocketAddrequal( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_TELNET ); in operator_is_equal_001()
649 ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("129.158.217.202"), IP_PORT_FTP); in operator_is_equal_002()
650 …::osl::SocketAddr saSocketAddrequal( rtl::OUString::createFromAscii("127.0.0.1"), IP_PORT_TELNET ); in operator_is_equal_002()
680 …::osl::SocketAddr* pSocketAddr = new ::osl::SocketAddr( rtl::OUString::createFromAscii("localhost"… in getSocketAddrHandle_001()
693 …::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("deuce.PRC.Sun.COM"), IP_PORT_MYPOR… in getSocketAddrHandle_002()
738 if (suThisHost.equals(rtl::OUString::createFromAscii("localhost"))) in getLocalHostname_001()
774 ::osl::SocketAddr::resolveHostname( rtl::OUString::createFromAscii("127.0.0.1"), saSocketAddr ); in resolveHostname_001()
803 rtl::OUString suServiceFTP = rtl::OUString::createFromAscii( "ftp" ); in gettheServicePort_001()
804 rtl::OUString suProtocolTCP = rtl::OUString::createFromAscii( "tcp" ); in gettheServicePort_001()
812 rtl::OUString suServiceTELNET = rtl::OUString::createFromAscii( "telnet" ); in gettheServicePort_002()
813 rtl::OUString suProtocolTCP = rtl::OUString::createFromAscii( "tcp" ); in gettheServicePort_002()
821 rtl::OUString suServiceNETBIOS = rtl::OUString::createFromAscii( "netbios-dgm" ); in gettheServicePort_003()
822 rtl::OUString suProtocolUDP = rtl::OUString::createFromAscii( "udp" ); in gettheServicePort_003()
829 rtl::OUString suProtocolUDP = rtl::OUString::createFromAscii( "udp" ); in gettheServicePort_004()
831 …OSL_INVALID_PORT == ::osl::SocketAddr::getServicePort( ::rtl::OUString::createFromAscii( "notexist… in gettheServicePort_004()
852 … ::osl::SocketAddr saSocketAddr( rtl::OUString::createFromAscii("localhost"), IP_PORT_HTTP1 ); in getFamilyOfSocketAddr_001()