/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
H A D | HandshakeCompletedEventTest.java | 37 int port; field in class:HandshakeCompletedEventTest 55 port = ss.getLocalPort(); 62 soc = (SSLSocket) sf.createSocket("localhost", port);
|
/external/apache-http/src/org/apache/http/ |
H A D | HttpHost.java | 41 * This includes remote host name, port and scheme. 67 /** The port to use. */ 68 protected final int port; field in class:HttpHost 79 * @param port the port number. 80 * <code>-1</code> indicates the scheme default port. 85 public HttpHost(final String hostname, int port, final String scheme) { argument 97 this.port = port; 104 * @param port th 107 HttpHost(final String hostname, int port) argument [all...] |
/external/apache-http/src/org/apache/http/auth/ |
H A D | AuthScope.java | 39 * a port number, a realm name and an authentication scheme name which 61 * The <tt>-1</tt> value represents any port. 76 * Default scope matching any host, port, realm and authentication scheme. 91 /** The port the credentials apply to. */ 92 private final int port; field in class:AuthScope 95 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and 101 * @param port the port the credentials apply to. May be set 103 * any port. 111 public AuthScope(final String host, int port, argument 134 AuthScope(final String host, int port, final String realm) argument 149 AuthScope(final String host, int port) argument [all...] |
/external/apache-http/src/org/apache/http/conn/scheme/ |
H A D | PlainSocketFactory.java | 89 public Socket connectSocket(Socket sock, String host, int port, argument 119 remoteAddress = new InetSocketAddress(this.nameResolver.resolve(host), port); 121 remoteAddress = new InetSocketAddress(host, port);
|
H A D | Scheme.java | 70 /** The default port for this scheme */ 90 * @param port the default port for this scheme 94 final int port) { 104 if ((port <= 0) || (port > 0xffff)) { 106 ("Port is invalid: " + port); 111 this.defaultPort = port; 117 * Obtains the default port. 119 * @return the default port fo 92 Scheme(final String name, final SocketFactory factory, final int port) argument 168 resolvePort(int port) argument [all...] |
/external/autotest/client/common_lib/cros/graphite/ |
H A D | autotest_stats.py | 33 port=autotest_es.ES_PORT, variable 36 _statsd = stats.Statsd(es=_default_es, host=STATSD_SERVER, port=STATSD_PORT,
|
/external/autotest/client/tests/kvm/deps/ |
H A D | finish.cpp | 58 SOCKET PrepareListenSocket(int port) argument 77 addr.sin_port = htons(port); 110 // Resolve the server address and port
|
/external/autotest/site_utils/ |
H A D | log_socket_server.py | 5 # receiver. The receiver listens to default logging port (9020) and save log to 85 def __init__(self, host='localhost', port=None, 87 if not port: 88 port = utils.get_unused_port() 89 SocketServer.ThreadingTCPServer.__init__(self, (host, port), handler) 93 self.port = port 113 port = None variable in class:LogSocketServer 126 port = multiprocessing.Value(ctypes.c_int, 0) 129 args=(server_started, port), [all...] |
/external/avahi/avahi-compat-howl/samples/ |
H A D | browse.c | 43 sw_port port, 58 fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port); 35 my_resolver( sw_discovery discovery, sw_discovery_oid oid, sw_uint32 interface_index, sw_const_string name, sw_const_string type, sw_const_string domain, sw_ipv4_address address, sw_port port, sw_octets text_record, sw_uint32 text_record_len, sw_opaque_t extra) argument
|
H A D | resolve.c | 43 sw_port port, 58 fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port); 35 my_resolver( sw_discovery discovery, sw_discovery_oid oid, sw_uint32 interface_index, sw_const_string name, sw_const_string type, sw_const_string domain, sw_ipv4_address address, sw_port port, sw_octets text_record, sw_uint32 text_record_len, sw_opaque_t extra) argument
|
/external/avahi/avahi-daemon/ |
H A D | dbus-async-service-resolver.c | 63 uint16_t port, 119 DBUS_TYPE_UINT16, &port, 53 avahi_dbus_async_service_resolver_callback( AvahiSServiceResolver *r, AvahiIfIndex interface, AvahiProtocol protocol, AvahiResolverEvent event, const char *name, const char *type, const char *domain, const char *host_name, const AvahiAddress *a, uint16_t port, AvahiStringList *txt, AvahiLookupResultFlags flags, void* userdata) argument
|
H A D | dbus-sync-service-resolver.c | 59 uint16_t port, 115 DBUS_TYPE_UINT16, &port, 49 avahi_dbus_sync_service_resolver_callback( AvahiSServiceResolver *r, AvahiIfIndex interface, AvahiProtocol protocol, AvahiResolverEvent event, const char *name, const char *type, const char *domain, const char *host_name, const AvahiAddress *a, uint16_t port, AvahiStringList *txt, AvahiLookupResultFlags flags, void* userdata) argument
|
/external/avahi/examples/ |
H A D | core-browse-services.c | 59 uint16_t port, 88 host_name, port, a, 49 resolve_callback( AvahiSServiceResolver *r, AVAHI_GCC_UNUSED AvahiIfIndex interface, AVAHI_GCC_UNUSED AvahiProtocol protocol, AvahiResolverEvent event, const char *name, const char *type, const char *domain, const char *host_name, const AvahiAddress *address, uint16_t port, AvahiStringList *txt, AvahiLookupResultFlags flags, AVAHI_GCC_UNUSED void* userdata) argument
|
/external/c-ares/ |
H A D | ares_platform.c | 84 * Ref: http://www.iana.org/assignments/port-numbers 1209 {"hello-port", {NULL}, 652, "tcp"}, 1210 {"hello-port", {NULL}, 652, "udp"}, 2677 {"udp-sr-port", {NULL}, 1624, "tcp"}, 2678 {"udp-sr-port", {NULL}, 1624, "udp"}, 2720 {"sa-msg-port", {NULL}, 1646, "tcp"}, 2721 {"sa-msg-port", {NULL}, 1646, "udp"}, 3152 {"paradym-31port", {NULL}, 1864, "tcp"}, 3153 {"paradym-31port", {NULL}, 1864, "udp"}, 3212 {"o2server-port", {NUL 10986 getservbyport(int port, const char *proto) argument [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | OpenSSLContextImpl.java | 121 public SSLEngine engineCreateSSLEngine(String host, int port) { argument 127 return new OpenSSLEngineImpl(host, port, p);
|
/external/deqp/android/package/src/com/drawelements/deqp/execserver/ |
H A D | ExecService.java | 63 final int port = intent != null ? intent.getIntExtra("port", DEFAULT_PORT) : DEFAULT_PORT; 65 if (m_isRunning && (m_curPort != port)) { 66 Log.i(LOG_TAG, String.format("Port changed (old: %d, new: %d), killing old server", m_curPort, port)); 72 startServer(port); 75 m_curPort = port; 77 Log.i(LOG_TAG, String.format("Listening on port %d", m_curPort)); 109 private native void startServer (int port); argument
|
/external/guava/guava/src/com/google/common/net/ |
H A D | HostAndPort.java | 34 * An immutable representation of a host and port. 58 * concerned with brackets, colons, and port numbers. Full validation of the 68 /** Magic value indicating the absence of a port number. */ 74 /** Validated port number in the range [0..65535], or NO_PORT */ 75 private final int port; field in class:HostAndPort 80 private HostAndPort(String host, int port, boolean hasBracketlessColons) { argument 82 this.port = port; 97 /** Return true if this instance has a defined port. */ 99 return port > 133 fromParts(String host, int port) argument 311 isValidPort(int port) argument [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | localconf.c | 165 char addr[NI_MAXHOST], port[NI_MAXSERV]; local 167 GETNAMEINFO(remote, addr, port);
|
/external/iptables/extensions/ |
H A D | libip6t_MASQUERADE.c | 27 " --to-ports <port>[-<port>]\n" 30 " Randomize source port.\n"); 44 unsigned int port, maxport; local 48 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX)) 53 r->min_proto.tcp.port 54 = r->max_proto.tcp.port 55 = htons(port); 61 if (maxport < port) 64 r->min_proto.tcp.port [all...] |
H A D | libip6t_REDIRECT.c | 27 " --to-ports <port>[-<port>]\n" 43 unsigned int port, maxport; local 47 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX) && 48 (port = xtables_service_to_port(arg, NULL)) == (unsigned)-1) 53 range->min_proto.tcp.port 54 = range->max_proto.tcp.port 55 = htons(port); 62 if (maxport < port) 65 range->min_proto.tcp.port [all...] |
H A D | libipt_MASQUERADE.c | 20 " --to-ports <port>[-<port>]\n" 23 " Randomize source port.\n"); 45 unsigned int port, maxport; local 49 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX)) 54 mr->range[0].min.tcp.port 55 = mr->range[0].max.tcp.port 56 = htons(port); 62 if (maxport < port) 65 mr->range[0].min.tcp.port [all...] |
H A D | libipt_REDIRECT.c | 20 " --to-ports <port>[-<port>]\n" 44 unsigned int port, maxport; local 48 if (!xtables_strtoui(arg, &end, &port, 0, UINT16_MAX) && 49 (port = xtables_service_to_port(arg, NULL)) == (unsigned)-1) 54 mr->range[0].min.tcp.port 55 = mr->range[0].max.tcp.port 56 = htons(port); 63 if (maxport < port) 66 mr->range[0].min.tcp.port [all...] |
H A D | libxt_udp.c | 17 "[!] --source-port port[:port]\n" 19 " match source port(s)\n" 20 "[!] --destination-port port[:port]\n" 22 " match destination port(s)\n"); 27 {.name = "source-port", .id = O_SOURCE_PORT, .type = XTTYPE_PORTRC, 31 {.name = "destination-port", 64 port_to_service(int port) argument 75 print_port(uint16_t port, int numeric) argument [all...] |
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/ |
H A D | AbstractAgentMojo.java | 100 * <li>tcpserver: The agent listens for incoming connections on the TCP port 101 * specified by the {@link #address} and {@link #port}. Execution data is 103 * <li>tcpclient: At startup the agent connects to the TCP port specified by 104 * the {@link #address} and {@link #port}. Execution data is written to this 122 * the output method is tcpclient. In tcpserver mode the port must be 126 * @parameter property="jacoco.port" 128 Integer port; field in class:AbstractAgentMojo 205 if (port != null) { 206 agentOptions.setPort(port.intValue());
|
/external/javassist/src/main/javassist/tools/web/ |
H A D | Viewer.java | 30 * <ul><code>% java javassist.tools.web.Viewer <i>host port</i> Main arg1, ...</code></ul> 34 * a server http://<i>host</i>:<i>port</i>. 46 * String port = v.getPort(); 52 private int port; field in class:Viewer 66 "Usage: java javassist.tools.web.Viewer <host> <port> class [args ...]"); 73 * @param p port number 77 port = p; 86 * Returns the port number. 88 public int getPort() { return port; } 163 URL url = new URL("http", server, port, [all...] |