/external/chromium_org/net/websockets/ |
websocket_throttle_unittest.cc | 286 // For localhost: 127.0.0.1, 127.0.0.1 292 new SocketStream(GURL("ws://localhost/"), w1.get())); 299 // Trying to open connection to localhost will start without wait. 314 IPAddressNumber localhost; local 315 ParseIPLiteralToNumber("127.0.0.1", &localhost); 321 new SocketStream(GURL("ws://localhost:80/"), w1.get())); 325 AddressList::CreateFromIPAddress(localhost, 80)); 329 // Trying to open connection to localhost:80 will start without waiting. 335 new SocketStream(GURL("ws://localhost:81/"), w2.get())); 339 AddressList::CreateFromIPAddress(localhost, 81)) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
InetSocketAddressTest.java | 45 "127.0.0.1", "localhost", "42.42.42.42", "0.0.0.0" 55 "localhost", "localhost", "42.42.42.42", "0.0.0.0" 69 new InetSocketAddress(InetAddress.getByName("localhost"), 65536); 75 new InetSocketAddress(InetAddress.getByName("localhost"), -1); 106 InetAddress localhost = InetAddress.getByName("localhost"); local 107 isa1 = new InetSocketAddress(localhost.getHostName(), 80); 108 isa2 = new InetSocketAddress(localhost.getHostAddress(), 80); 118 "127.0.0.1", "localhost", "42.42.42.42", "0.0.0.0 130 InetAddress localhost = InetAddress.getByName("localhost"); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
DatagramPacketTest.java | 133 final InetAddress localhost = InetAddress.getLocalHost(); local 134 DatagramSocket socket = new DatagramSocket(0, localhost); 139 6 }, 6, localhost, port);
|
DatagramSocketImplTest.java | 42 InetAddress localhost = InetAddress.getByName("localhost"); //$NON-NLS-1$ local 44 impl.test_connect(localhost, 0); 45 impl.test_connect(localhost, -1);
|
/external/jmdns/src/javax/jmdns/impl/ |
HostInfo.java | 67 HostInfo localhost = null; local 104 localhost = new HostInfo(addr, aName, dns); 105 return localhost;
|
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 254 subject = localhost(); 471 private X500Principal localhost() { method in class:TestKeyStore.Builder [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urllib.py | 38 "localhost", "thishost", "ftperrors", "basejoin", "unwrap", 460 if url[:2] == '//' and url[2:3] != '/' and url[2:12].lower() != 'localhost/': 494 and socket.gethostbyname(host) in (localhost(), thishost()): 810 def localhost(): function 811 """Return the IP address of the magic hostname 'localhost'.""" 814 _localhost = socket.gethostbyname('localhost') [all...] |
urllib2.py | 117 from urllib import localhost, url2pathname, getproxies, proxy_bypass namespace [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urllib.py | 38 "localhost", "thishost", "ftperrors", "basejoin", "unwrap", 460 if url[:2] == '//' and url[2:3] != '/' and url[2:12].lower() != 'localhost/': 494 and socket.gethostbyname(host) in (localhost(), thishost()): 810 def localhost(): function 811 """Return the IP address of the magic hostname 'localhost'.""" 814 _localhost = socket.gethostbyname('localhost') [all...] |
urllib2.py | 117 from urllib import localhost, url2pathname, getproxies, proxy_bypass namespace [all...] |
/external/chromium_org/third_party/openssl/openssl/ssl/ |
ssltest.c | 1085 char localhost[MAXHOSTNAMELEN+2]; local 1087 if (gethostname(localhost, sizeof localhost-1) == 0) 1089 localhost[sizeof localhost-1]='\0'; 1090 if(strlen(localhost) == sizeof localhost-1) 1092 BIO_printf(bio_err,"localhost name too long\n"); 1096 localhost); [all...] |
/external/openssl/ssl/ |
ssltest.c | 1085 char localhost[MAXHOSTNAMELEN+2]; local 1087 if (gethostname(localhost, sizeof localhost-1) == 0) 1089 localhost[sizeof localhost-1]='\0'; 1090 if(strlen(localhost) == sizeof localhost-1) 1092 BIO_printf(bio_err,"localhost name too long\n"); 1096 localhost); [all...] |