/frameworks/base/core/tests/coretests/src/android/net/ |
UriTest.java | 169 Uri uri = Uri.parse("http://localhost:42"); 170 assertEquals("localhost", uri.getHost()); 173 uri = Uri.parse("http://bob@localhost:42"); 175 assertEquals("localhost", uri.getHost()); 178 uri = Uri.parse("http://bob%20lee@localhost:42"); 184 assertEquals("localhost", uri.getHost()); 187 uri = Uri.parse("http://localhost"); 188 assertEquals("localhost", uri.getHost());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ |
SocketFactoryTest.java | 170 * InetAddress localHost, int localPort) 251 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldURLClassLoaderTest.java | 204 URL[] urls = { new URL("http://localhost:" + port + "/") }; 244 String tempPath3 = "http://localhost:" + port + "/";
|
UrlEncodingTest.java | 240 assertRoundTrip("ftp://test:pwd@localhost:2121/%D0%9C", 241 "ftp%3A%2F%2Ftest%3Apwd%40localhost%3A2121%2F%25D0%259C");
|
/libcore/ojluni/src/main/java/sun/net/smtp/ |
SmtpClient.java | 169 mailhost = "localhost"; 196 mailhost = "localhost";
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_docxmlrpc.py | 27 serv = DocXMLRPCServer(("localhost", 0), logRequests=False) 85 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_docxmlrpc.py | 27 serv = DocXMLRPCServer(("localhost", 0), logRequests=False) 85 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_docxmlrpc.py | 27 serv = DocXMLRPCServer(("localhost", 0), logRequests=False) 85 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_docxmlrpc.py | 27 serv = DocXMLRPCServer(("localhost", 0), logRequests=False) 85 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
|
/external/v8/samples/ |
process.cc | 660 StringHttpRequest("/process.cc", "localhost", "google.com", "firefox"), 661 StringHttpRequest("/", "localhost", "google.net", "firefox"), 662 StringHttpRequest("/", "localhost", "google.org", "safari"), 663 StringHttpRequest("/", "localhost", "yahoo.com", "ie"), 664 StringHttpRequest("/", "localhost", "yahoo.com", "safari"), 665 StringHttpRequest("/", "localhost", "yahoo.com", "firefox")
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
URLConnectionTest.java | 227 url = new URL("http://localhost:" + port + "/test1"); 229 url2 = new URL("http://localhost:" + port + "/test2"); 231 url3 = new URL("http://localhost:" + port + "/test3"); 295 new URL("http://localhost:" + port + path).openConnection(); 310 assertEquals("localhost:" + port, headers.get("Host")); [all...] |
/external/autotest/client/bin/ |
job_unittest.py | 155 self.god.stub_class(job.local_host, 'LocalHost') 215 job.local_host.LocalHost.expect_new(hostname='localhost', 246 options.hostname = 'localhost' 288 options.hostname = 'localhost'
|
/external/chromium-trace/catapult/third_party/WebOb/docs/ |
jsonrpc-example.txt | 98 help='Host to serve on (default localhost; 0.0.0.0 to make public)') 134 do something like ``smtplib:SMTP('localhost')`` to get a fully 573 >>> proxy = ServerProxy('http://localhost:8080', proxy=app) 614 Fault: Method error calling http://localhost:8080: integer division or modulo by zero 637 ProxyError: Error from JSON-RPC client http://localhost:8080: 400 Bad Request
|
/external/libbrillo/brillo/http/ |
http_utils_unittest.cc | 21 static const char kFakeUrl[] = "http://localhost"; 22 static const char kEchoUrl[] = "http://localhost/echo"; 23 static const char kMethodEchoUrl[] = "http://localhost/echo/method"; 181 static const char json_echo_url[] = "http://localhost/echo/json"; 220 // So if we do GET "http://localhost?test=blah", this handler responds
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
DatagramSocketTest.java | 146 InetAddress localHost = InetAddress.getLocalHost(); 148 ds.connect(localHost, ds.getLocalPort()); 149 DatagramPacket send = new DatagramPacket(new byte[10], 10, localHost, 159 assertEquals(localHost, receive.getAddress()); 509 "localhost", 0); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
ServerSocketChannelTest.java | 170 InetSocketAddress bindAddress = new InetSocketAddress("localhost", address.getPort()); 188 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); 207 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); 232 InetSocketAddress bindAddr = new InetSocketAddress("localhost", 0); 787 InetSocketAddress localAddr = new InetSocketAddress("localhost", 0);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
SimpleXMLRPCServer.py | 15 server = SimpleXMLRPCServer(("localhost", 8000)) 36 server = SimpleXMLRPCServer(("localhost", 8000)) 67 server = SimpleXMLRPCServer(("localhost", 8000)) 89 server = MathServer(("localhost", 8000)) 704 server = SimpleXMLRPCServer(("localhost", 8000))
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
SimpleXMLRPCServer.py | 15 server = SimpleXMLRPCServer(("localhost", 8000)) 36 server = SimpleXMLRPCServer(("localhost", 8000)) 67 server = SimpleXMLRPCServer(("localhost", 8000)) 89 server = MathServer(("localhost", 8000)) 704 server = SimpleXMLRPCServer(("localhost", 8000))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
SimpleXMLRPCServer.py | 15 server = SimpleXMLRPCServer(("localhost", 8000)) 36 server = SimpleXMLRPCServer(("localhost", 8000)) 67 server = SimpleXMLRPCServer(("localhost", 8000)) 89 server = MathServer(("localhost", 8000)) 704 server = SimpleXMLRPCServer(("localhost", 8000))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
SimpleXMLRPCServer.py | 15 server = SimpleXMLRPCServer(("localhost", 8000)) 36 server = SimpleXMLRPCServer(("localhost", 8000)) 67 server = SimpleXMLRPCServer(("localhost", 8000)) 89 server = MathServer(("localhost", 8000)) 704 server = SimpleXMLRPCServer(("localhost", 8000))
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpServer.java | 367 // "http://localhost:<port>/redirectTest.html/<3XX level response 370 // http://localhost:8080/redirectTest.html/301-http://www.apache.org" 397 print(os, "Location: http://localhost:" + (port + 1)
|
/external/autotest/puppylab/ |
clusterctl | 98 'localhost', 'gsutil cp %s %s' % 267 self._check_shadow_config(vm, 'host', 'localhost') 268 global_db = ('localhost' if vm == self.vagrant_master_name
|
/external/jmdns/src/javax/jmdns/ |
JmDNS.java | 50 * Check that your platform correctly handle the default localhost IP address and the local hostname. In doubt use the explicit constructor.<br/> 69 * Check that your platform correctly handle the default localhost IP address and the local hostname. In doubt use the explicit constructor.<br/> 90 * Check that your platform correctly handle the default localhost IP address and the local hostname. In doubt use the explicit constructor.<br/>
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
CertificatesToPlayWith.java | 461 * subjectAltName=DNS:localhost.localdomain,DNS:localhost,IP:127.0.0.1 463 * $ openssl req -x509 -nodes -days 36500 -subj '/CN=localhost' -config ./cert.cnf \
|
/external/okhttp/okhttp-tests/src/test/resources/ |
web-platform-test-urltestdata.txt | 120 file://localhost s:file h:localhost p:/ 121 file://localhost/ s:file h:localhost p:/ 122 file://localhost/test s:file h:localhost p:/test
|