Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 1567) sorted by relevance

12345678910>>...63

/external/nist-sip/java/gov/nist/javax/sip/header/
DCallIdentifier.java55 protected String host; field in CallIdentifier
68 public CallIdentifier(String localId, String host) { in CallIdentifier() argument
70 this.host = host; in CallIdentifier()
93 if (host != null) { in encode()
94 buffer.append(AT).append(host); in encode()
114 if (this.host == that.host) in equals()
116 if ((this.host == null && that.host != null) in equals()
117 || (this.host != null && that.host == null)) in equals()
119 if (host.compareToIgnoreCase(that.host) != 0) { in equals()
144 return host; in getHost()
[all …]
/external/guava/guava/src/com/google/common/net/
DHostAndPort.java72 private final String host; field in HostAndPort
80 private HostAndPort(String host, int port, boolean hasBracketlessColons) { in HostAndPort() argument
81 this.host = host; in HostAndPort()
94 return host; in getHostText()
133 public static HostAndPort fromParts(String host, int port) { in fromParts() argument
135 HostAndPort parsedHost = fromString(host); in fromParts()
136 checkArgument(!parsedHost.hasPort(), "Host has a port: %s", host); in fromParts()
137 return new HostAndPort(parsedHost.host, port, parsedHost.hasBracketlessColons); in fromParts()
151 public static HostAndPort fromHost(String host) { in fromHost() argument
152 HostAndPort parsedHost = fromString(host); in fromHost()
[all …]
/external/conscrypt/src/main/java/org/conscrypt/
DClientSessionContext.java52 String host = session.getPeerHost(); in sessionRemoved() local
54 if (host == null) { in sessionRemoved()
57 HostAndPort hostAndPortKey = new HostAndPort(host, port); in sessionRemoved()
70 public SSLSession getSession(String host, int port) { in getSession() argument
71 if (host == null) { in getSession()
75 HostAndPort hostAndPortKey = new HostAndPort(host, port); in getSession()
85 byte[] data = persistentCache.getSessionData(host, port); in getSession()
87 session = toSession(data, host, port); in getSession()
105 String host = session.getPeerHost(); in putSession() local
107 if (host == null) { in putSession()
[all …]
DFileClientSessionCache.java120 private static String fileName(String host, int port) { in fileName() argument
121 if (host == null) { in fileName()
124 return host + "." + port; in fileName()
128 public synchronized byte[] getSessionData(String host, int port) { in getSessionData() argument
135 String name = fileName(host, port); in getSessionData()
160 logReadError(host, file, e); in getSessionData()
169 logReadError(host, file, e); in getSessionData()
183 static void logReadError(String host, File file, Throwable t) { in logReadError() argument
184 …System.err.println("FileClientSessionCache: Error reading session data for " + host + " from " + f… in logReadError()
191 String host = session.getPeerHost(); in putSessionData() local
[all …]
/external/jetty/src/java/org/eclipse/jetty/client/
DAddress.java28 private final String host; field in Address
33 String host; in from() local
38 host = hostAndPort.substring(0, colon); in from()
43 host = hostAndPort; in from()
46 return new Address(host, port); in from()
49 public Address(String host, int port) in Address() argument
51 if (host == null) in Address()
54 this.host = host.trim(); in Address()
64 if (!host.equals(that.host)) return false; in equals()
71 int result = host.hashCode(); in hashCode()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/stack/
DHopImpl.java54 protected String host; field in HopImpl
65 return host + ":" + port + "/" + transport; in toString()
75 host = hostName; in HopImpl()
79 if(host.indexOf(":") >= 0) in HopImpl()
80 if(host.indexOf("[") < 0) in HopImpl()
81 host = "[" + host + "]"; in HopImpl()
104 this.host = hop.substring(0,colon); in HopImpl()
120 this.host = hop.substring(0,slash); in HopImpl()
124 this.host = hop; in HopImpl()
131 if (host == null || host.length() == 0) in HopImpl()
[all …]
/external/apache-http/src/org/apache/http/auth/
DAuthScope.java89 private final String host; field in AuthScope
111 public AuthScope(final String host, int port, in AuthScope() argument
114 this.host = (host == null) ? ANY_HOST: host.toLowerCase(Locale.ENGLISH); in AuthScope()
134 public AuthScope(final String host, int port, final String realm) { in AuthScope() argument
135 this(host, port, realm, ANY_SCHEME); in AuthScope()
149 public AuthScope(final String host, int port) { in AuthScope() argument
150 this(host, port, ANY_REALM, ANY_SCHEME); in AuthScope()
161 this.host = authscope.getHost(); in AuthScope()
171 return this.host; in getHost()
225 if (LangUtils.equals(this.host, that.host)) { in match()
[all …]
/external/nist-sip/java/gov/nist/core/
DHostPort.java50 protected Host host; field in HostPort
61 host = null; in HostPort()
76 host.encode(buffer); in encode()
92 return port == that.port && host.equals(that.host); in equals()
99 return host; in getHost()
128 host = h; in setHost()
144 if (host == null) in getInetAddress()
147 return host.getInetAddress(); in getInetAddress()
158 if (this.host != null) in clone()
159 retval.host = (Host) this.host.clone(); in clone()
[all …]
/external/libvncserver/x11vnc/
Davahi.c40 void avahi_advertise(char *name, char *host, uint16_t port);
54 static int try_avahi_helper(char *name, char *host, uint16_t port) { in try_avahi_helper() argument
59 if (!name || !host || !port) {} in try_avahi_helper()
140 if (!name || !host || !port) {} in try_avahi_helper()
150 void avahi_advertise(char *name, char *host, uint16_t port) { in avahi_advertise() argument
153 t = getenv("X11VNC_AVAHI_HOST"); if (t) host = t; in avahi_advertise()
156 if (!try_avahi_helper(name, host, port)) { in avahi_advertise()
190 const char *host; member
196 char *host; member
214 registered[i].host = NULL; in avahi_initialise()
[all …]
Dinet.c43 char *host2ip(char *host);
47 int ipv6_ip(char *host);
48 int dotted_ip(char *host, int partial);
62 int connect_tcp(char *host, int port);
68 char *host2ip(char *host) { in host2ip() argument
77 hp = gethostbyname(host); in host2ip()
139 char *p, *host, a[2]; in ipv6_ip() local
143 host = host_in + 1; in ipv6_ip()
145 host = host_in; in ipv6_ip()
148 if (strstr(host, "::ffff:") == host || strstr(host, "::FFFF:") == host) { in ipv6_ip()
[all …]
/external/apache-http/android/src/android/net/http/
DRequestQueue.java153 ConnectionThread getThread(HttpHost host) { in getThread() argument
158 if (connection != null && connection.mHost.equals(host)) { in getThread()
166 public Connection getConnection(Context context, HttpHost host) { in getConnection() argument
167 host = RequestQueue.this.determineHost(host); in getConnection()
168 Connection con = mIdleCache.getConnection(host); in getConnection()
171 con = Connection.getConnection(mContext, host, mProxyHost, in getConnection()
260 String host = Proxy.getHost(mContext); in setProxyConfig() local
261 if (HttpLog.LOGV) HttpLog.v("RequestQueue.setProxyConfig " + host); in setProxyConfig()
262 if (host == null) { in setProxyConfig()
266 mProxyHost = new HttpHost(host, Proxy.getPort(mContext), "http"); in setProxyConfig()
[all …]
/external/v8/
DCleanSpec.mk48 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/bin/mksnapshot)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/obj/EXECUTABLES/mksnapshot_in…
53 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/bin/mksnapshot)
54 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/obj/EXECUTABLES/mksnapshot_in…
57 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/bin/mksnapshot)
58 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/obj/EXECUTABLES/mksnapshot_in…
61 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/bin/mksnapshot)
62 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/obj/EXECUTABLES/mksnapshot_in…
65 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/bin/mksnapshot)
66 $(call add-clean-step, rm -rf $(OUT_DIR)/host/$(HOST_OS)-$(HOST_ARCH)/obj/EXECUTABLES/mksnapshot_in…
[all …]
/external/libcxx/
DAndroid.mk120 test-libcxx-host: test-libcxx-host-clang
141 test-libcxx-host-clang: libc++
142 python $(LIBCXX_CONFIGTESTS) --compiler=clang --host
143 LIT=$(LIT) LIT_MODE=host make -f $(LIBCXX_TEST_MK)
144 test-libcxx-host-gcc: libc++
145 python $(LIBCXX_CONFIGTESTS) --compiler=gcc --host
146 LIT=$(LIT) LIT_MODE=host make -f $(LIBCXX_TEST_MK)
147 test-libcxx-host-clang-32: libc++
148 python $(LIBCXX_CONFIGTESTS) --bitness=32 --compiler=clang --host
149 LIT=$(LIT) LIT_MODE=host make -f $(LIBCXX_TEST_MK)
[all …]
/external/apache-http/src/org/apache/http/impl/cookie/
DRFC2109DomainHandler.java75 String host = origin.getHost(); in validate() local
80 if (!domain.equals(host)) { in validate()
86 + host + "\""); in validate()
101 host = host.toLowerCase(Locale.ENGLISH); in validate()
102 if (!host.endsWith(domain)) { in validate()
105 + "\". Domain of origin: \"" + host + "\""); in validate()
108 String hostWithoutDomain = host.substring(0, host.length() - domain.length()); in validate()
124 String host = origin.getHost(); in match() local
129 return host.equals(domain) || (domain.startsWith(".") && host.endsWith(domain)); in match()
DBasicDomainHandler.java78 String host = origin.getHost(); in validate() local
83 if (host.contains(".")) { in validate()
88 if (!host.endsWith(domain)) { in validate()
92 if (!host.equals(domain)) { in validate()
95 + "\". Domain of origin: \"" + host + "\""); in validate()
99 if (!host.equals(domain)) { in validate()
102 + "\". Domain of origin: \"" + host + "\""); in validate()
114 String host = origin.getHost(); in match() local
119 if (host.equals(domain)) { in match()
125 return host.endsWith(domain) || host.equals(domain.substring(1)); in match()
DRFC2965DomainAttributeHandler.java104 public boolean domainMatch(String host, String domain) { in domainMatch() argument
105 boolean match = host.equals(domain) in domainMatch()
106 || (domain.startsWith(".") && host.endsWith(domain)); in domainMatch()
122 String host = origin.getHost().toLowerCase(Locale.ENGLISH); in validate() local
149 if (!domainMatch(host, cookieDomain)) { in validate()
157 String effectiveHostWithoutDomain = host.substring( in validate()
158 0, host.length() - cookieDomain.length()); in validate()
167 if (!cookie.getDomain().equals(host)) { in validate()
171 + host + "\""); in validate()
186 String host = origin.getHost().toLowerCase(Locale.ENGLISH); in match() local
[all …]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLEngineTest.java69 String host = "new host"; in test03() local
71 SSLEngine e = new mySSLEngine(host, port); in test03()
72 assertEquals(e.getPeerHost(), host); in test03() local
92 String host = "new host"; in testWrap01() local
96 SSLEngine e = new mySSLEngine(host, port); in testWrap01()
120 String host = "new host"; in testWrap02() local
127 SSLEngine e = new mySSLEngine(host, port); in testWrap02()
153 String host = "new host"; in testWrap03() local
157 SSLEngine e = new mySSLEngine1(host, port); in testWrap03()
183 String host = "new host"; in testWrap04() local
[all …]
/external/openssh/
Dauth-sia.c57 const char *host; in sys_auth_passwd() local
59 host = get_canonical_hostname(options.use_dns); in sys_auth_passwd()
64 if (sia_ses_init(&ent, saved_argc, saved_argv, host, authctxt->user, in sys_auth_passwd()
70 authctxt->user, host); in sys_auth_passwd()
86 const char *host; in session_setup_sia() local
88 host = get_canonical_hostname(options.use_dns); in session_setup_sia()
90 if (sia_ses_init(&ent, saved_argc, saved_argv, host, pw->pw_name, in session_setup_sia()
102 pw->pw_name, host); in session_setup_sia()
106 pw->pw_name, host); in session_setup_sia()
/external/vogar/src/vogar/
DSshTarget.java34 private final String host; field in SshTarget
42 host = hostAndPort.substring(0, colon); in SshTarget()
45 host = hostAndPort; in SshTarget()
48 … deviceFilesystem = new DeviceFilesystem(log, "ssh", "-p", Integer.toString(port), host, "-C"); in SshTarget()
56 return Arrays.asList("ssh", "-p", Integer.toString(port), host, "-C"); in targetProcessPrefix()
64 .args("ssh", "-p", Integer.toString(port), host, "-C", "rm", "-r", file.getPath()) in rm()
73 String line = new Command(log, "ssh", "-p", Integer.toString(port), host, "-C", "id") in getDeviceUserName()
86 new Command(log, "ssh", "-p", Integer.toString(port), host, in forwardTcp()
87 "-L", port + ":" + host + ":" + port, "-N").start(); in forwardTcp()
95 local.getPath(), host + ":" + remote.getPath()).execute(); in push()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDelegatingSSLSocketFactory.java46 public SSLSocket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() argument
47 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port); in createSocket()
53 public SSLSocket createSocket(String host, int port, InetAddress localAddress, int localPort) in createSocket() argument
55 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port, localAddress, localPort); in createSocket()
61 public SSLSocket createSocket(InetAddress host, int port) throws IOException { in createSocket() argument
62 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port); in createSocket()
68 public SSLSocket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) in createSocket() argument
70 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port, localAddress, localPort); in createSocket()
86 public SSLSocket createSocket(Socket socket, String host, int port, boolean autoClose) in createSocket() argument
88 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(socket, host, port, autoClose); in createSocket()
DDelegatingSocketFactory.java44 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() argument
45 Socket socket = delegate.createSocket(host, port); in createSocket()
51 public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) in createSocket() argument
53 Socket socket = delegate.createSocket(host, port, localAddress, localPort); in createSocket()
59 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() argument
60 Socket socket = delegate.createSocket(host, port); in createSocket()
66 public Socket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) in createSocket() argument
68 Socket socket = delegate.createSocket(host, port, localAddress, localPort); in createSocket()
/external/vboot_reference/
DAndroid.mk10 LOCAL_MODULE := libvboot_util-host
26 $(LOCAL_PATH)/host/include \
27 $(LOCAL_PATH)/host/lib/include
90 host/lib/crossystem.c \
91 host/lib/file_keys.c \
92 host/lib/fmap.c \
93 host/lib/host_common.c \
94 host/lib/host_key.c \
95 host/lib/host_keyblock.c \
96 host/lib/host_misc.c \
[all …]
/external/apache-http/src/org/apache/http/cookie/
DCookieOrigin.java50 private final String host; field in CookieOrigin
55 public CookieOrigin(final String host, int port, final String path, boolean secure) { in CookieOrigin() argument
57 if (host == null) { in CookieOrigin()
61 if (host.trim().length() == 0) { in CookieOrigin()
72 this.host = host.toLowerCase(Locale.ENGLISH); in CookieOrigin()
83 return this.host; in getHost()
105 buffer.append(this.host); in toString()
/external/libvncserver/webclients/java-applet/ssl/
Dss_vncviewer575 host=`echo "$orig" | sed -e 's/\].*$//' -e 's/\[//'`
580 host=`echo "$orig" | sed -e 's/:[^:]*$//'`
585 host=`echo "$orig" | awk -F: '{print $1}'`
589 if [ "X$reverse" != "X" -a "X$STUNNEL_LISTEN" = "X" -a "X$host" != "X" ]; then
590 STUNNEL_LISTEN=$host
594 if [ "X$host" = "X" ]; then
595 host=$localhost
605 elif echo "$host" | grep '^[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*$' > /dev/null; then
611 gout=`getent hosts "$host" 2>/dev/null`
623 if type host > /dev/null 2>/dev/null; then
[all …]
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/bin/util/
Dss_vncviewer575 host=`echo "$orig" | sed -e 's/\].*$//' -e 's/\[//'`
580 host=`echo "$orig" | sed -e 's/:[^:]*$//'`
585 host=`echo "$orig" | awk -F: '{print $1}'`
589 if [ "X$reverse" != "X" -a "X$STUNNEL_LISTEN" = "X" -a "X$host" != "X" ]; then
590 STUNNEL_LISTEN=$host
594 if [ "X$host" = "X" ]; then
595 host=$localhost
605 elif echo "$host" | grep '^[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*$' > /dev/null; then
611 gout=`getent hosts "$host" 2>/dev/null`
623 if type host > /dev/null 2>/dev/null; then
[all …]

12345678910>>...63