HomeSort by relevance Sort by last modified time
    Searched defs:localhost (Results 1 - 25 of 25) sorted by null

  /external/python/cpython3/Lib/test/
test_timeout.py 113 localhost = support.HOST variable in class:TimeoutTestCase
245 support.bind_port(self.sock, self.localhost)
252 support.bind_port(serv, self.localhost)
261 support.bind_port(serv, self.localhost)
271 support.bind_port(serv, self.localhost)
290 support.bind_port(self.sock, self.localhost)
  /external/libcups/cups/
ppd-util.c 139 char localhost[HTTP_MAX_URI],/* Local hostname */ local
185 strlcpy(hostname, "localhost", sizeof(hostname));
188 if (!_cups_strcasecmp(hostname, "localhost"))
300 if (cupsServer()[0] == '/' && !_cups_strcasecmp(hostname, "localhost") && port == ippPort())
303 * Redirect localhost to domain socket...
313 * Remap local hostname to localhost...
316 httpGetHostname(NULL, localhost, sizeof(localhost));
318 DEBUG_printf(("2cupsGetPPD3: Local hostname=\"%s\"", localhost));
320 if (!_cups_strcasecmp(localhost, hostname)
    [all...]
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
SslContextBuilder.java 36 * self-signed certificate for a single hostname such as "localhost".
42 private static SSLContext localhost; // Lazily initialized. field in class:SslContextBuilder
44 /** Returns a new SSL context for this host's current localhost address. */
45 public static synchronized SSLContext localhost() { method in class:SslContextBuilder
46 if (localhost != null) return localhost;
52 .commonName(InetAddress.getByName("localhost").getHostName())
55 localhost = new SslContextBuilder()
60 return localhost;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/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 49 InetAddress localhost = InetAddress.getByName("localhost"); //$NON-NLS-1$ local
51 impl.test_connect(localhost, 0);
52 impl.test_connect(localhost, -1);
  /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/curl/lib/
smtp.c 1506 char localhost[HOSTNAME_MAX + 1]; local
    [all...]
  /external/jmdns/src/javax/jmdns/impl/
HostInfo.java 67 HostInfo localhost = null; local
104 localhost = new HostInfo(addr, aName, dns);
105 return localhost;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
urllib.py 35 "localhost", "thishost", "ftperrors", "basejoin", "unwrap",
458 if url[:2] == '//' and url[2:3] != '/' and url[2:12].lower() != 'localhost/':
490 and socket.gethostbyname(host) in (localhost(), thishost()):
808 def localhost(): function
    [all...]
  /external/python/cpython2/Lib/
urllib.py 38 "localhost", "thishost", "ftperrors", "basejoin", "unwrap",
466 if url[:2] == '//' and url[2:3] != '/' and url[2:12].lower() != 'localhost/':
500 and socket.gethostbyname(host) in (localhost(), thishost()):
818 def localhost(): function
819 """Return the IP address of the magic hostname 'localhost'."""
822 _localhost = socket.gethostbyname('localhost')
    [all...]
  /prebuilts/gdb/darwin-x86/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...]
  /prebuilts/gdb/linux-x86/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...]
  /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...]
  /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...]
  /external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
TestKeyStore.java 161 private static final String LOCAL_HOST_NAME = "localhost";
162 private static final String LOCAL_HOST_NAME_IPV6 = "ip6-localhost";
562 // Default to localhost if nothing was specified.
564 subject = localhost();
651 private X500Principal localhost() { method in class:TestKeyStore.Builder
    [all...]
  /external/libevent/test/
regress_bufferevent.c 644 fake_listener_create(struct sockaddr_in *localhost)
646 struct sockaddr *sa = (struct sockaddr *)localhost;
648 ev_socklen_t slen = sizeof(*localhost);
650 memset(localhost, 0, sizeof(*localhost));
651 localhost->sin_port = 0; /* have the kernel pick a port */
652 localhost->sin_addr.s_addr = htonl(0x7f000001L);
653 localhost->sin_family = AF_INET;
657 fd = socket(localhost->sin_family, SOCK_STREAM, 0);
718 struct sockaddr_in localhost; local
797 struct sockaddr_in localhost; local
867 struct sockaddr_in localhost; local
1120 struct sockaddr_in localhost; local
    [all...]
  /libcore/support/src/test/java/libcore/java/security/
TestKeyStore.java 159 private static final String LOCAL_HOST_NAME = "localhost";
377 subject = localhost();
643 private X500Principal localhost() { method in class:TestKeyStore.Builder
    [all...]
  /external/python/cpython3/Lib/urllib/
request.py 2330 def localhost(): function
    [all...]
  /external/webrtc/webrtc/p2p/base/
port_unittest.cc 1543 Port* localhost = ports[3].get(); local
    [all...]
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/mockwebserver/2.7.4/
mockwebserver-2.7.4.jar 
  /prebuilts/tools/common/m2/repository/org/seleniumhq/selenium/selenium-api/2.42.2/
selenium-api-2.42.2.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-transport/4.1.6.Final/
netty-transport-4.1.6.Final.jar 
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-core/1.11.18/
aws-java-sdk-core-1.11.18.jar 
  /prebuilts/tools/linux-x86_64/kythe/extractors/
javac_extractor.jar 
  /prebuilts/tools/linux-x86_64/kythe/indexers/
java_indexer.jar 

Completed in 1136 milliseconds