HomeSort by relevance Sort by last modified time
    Searched refs:port (Results 176 - 200 of 4247) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/apache-http/src/org/apache/http/cookie/
CookieOrigin.java 51 private final int port; field in class:CookieOrigin
55 public CookieOrigin(final String host, int port, final String path, boolean secure) {
65 if (port < 0) {
66 throw new IllegalArgumentException("Invalid port: " + port);
73 this.port = port;
91 return this.port;
107 buffer.append(Integer.toString(this.port));
  /external/autotest/server/cros/network/rf_switch/
rf_switch_ssh_tunnel.py 44 port=scpi_ssh_tunnel.ScpiSshTunnel.SCPI_PORT,
52 @param port: SCPI port on device (default 5025)
53 @param proxy_port: port number to bind for SSH tunnel
57 self.port = port
65 port=self.port,
75 port=scpi.Scpi.SCPI_PORT,
84 @param port: SCPI port on device (default 5025
    [all...]
  /external/conscrypt/testing/src/main/java/tests/net/
DelegatingSocketFactory.java 45 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
46 Socket socket = mDelegate.createSocket(host, port);
50 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
52 Socket socket = mDelegate.createSocket(host, port, localHost, localPort);
56 public Socket createSocket(InetAddress host, int port) throws IOException {
57 Socket socket = mDelegate.createSocket(host, port);
61 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
63 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort);
DelegatingSSLSocketFactory.java 54 public Socket createSocket(Socket s, String host, int port, boolean autoClose)
56 SSLSocket socket = (SSLSocket) mDelegate.createSocket(s, host, port, autoClose);
60 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
61 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port);
65 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
67 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort);
71 public Socket createSocket(InetAddress host, int port) throws IOException {
72 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port);
76 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
78 SSLSocket socket = (SSLSocket) mDelegate.createSocket(address, port, localAddress, localPort)
    [all...]
  /external/curl/docs/cmdline-opts/
local-port.d 1 Long: local-port
3 Help: Force use of RANGE for local port numbers
6 Set a preferred single number or range (FROM-TO) of local port numbers to use
7 for the connection(s). Note that port numbers by nature are a scarce resource
  /external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
HttpsServiceConnectionSEIgnoringConnectionClose.java 8 public HttpsServiceConnectionSEIgnoringConnectionClose(String host, int port, String file,
11 super(host, port, file, timeout);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/socket/
DefaultSocketFactory.java 32 * Create a new Socket instance for the specified host and port.
34 * @param port - the port number of the enpoint to which the socket is connected
40 public Socket createSocket(InetAddress host, int port) throws IOException {
41 return new Socket(host, port);
  /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/socket/
DefaultSocketFactory.java 32 * Create a new Socket instance for the specified host and port.
34 * @param port - the port number of the enpoint to which the socket is connected
40 public Socket createSocket(InetAddress host, int port) throws IOException {
41 return new Socket(host, port);
  /external/nist-sip/java/gov/nist/core/net/
NetworkLayer.java 49 * Creates a server with the specified port, listen backlog, and local IP address to bind to.
50 * comparable to "new java.net.ServerSocket(port,backlog,bindAddress);"
52 * @param port
57 public ServerSocket createServerSocket(int port, int backlog,
61 * Creates an SSL server with the specified port, listen backlog, and local IP address to bind to.
64 * @param port
69 public SSLServerSocket createSSLServerSocket(int port, int backlog,
73 * Creates a stream socket and connects it to the specified port number at the specified IP address.
74 * comparable to "new java.net.Socket(address, port);"
77 * @param port
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DelegatingSocketFactory.java 43 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
44 Socket socket = delegate.createSocket(host, port);
49 public Socket createSocket(String host, int port, InetAddress localAddress, int localPort)
51 Socket socket = delegate.createSocket(host, port, localAddress, localPort);
56 public Socket createSocket(InetAddress host, int port) throws IOException {
57 Socket socket = delegate.createSocket(host, port);
62 public Socket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort)
64 Socket socket = delegate.createSocket(host, port, localAddress, localPort);
  /external/openssh/openbsd-compat/
bindresvport.c 50 * Bind a socket to a privileged IP port
60 u_int16_t port; local
91 port = ntohs(*portp);
92 if (port == 0)
93 port = arc4random_uniform(NPORTS) + STARTPORT;
99 *portp = htons(port);
111 port++;
112 if (port > ENDPORT)
113 port = STARTPORT;
  /frameworks/base/core/java/android/app/admin/
ConnectEvent.java 37 /** The destination port number. */
38 private final int port; field in class:ConnectEvent
41 public ConnectEvent(String ipAddress, int port, String packageName, long timestamp) {
44 this.port = port;
49 this.port = in.readInt();
65 return port;
70 return String.format("ConnectEvent(%s, %d, %d, %s)", ipAddress, port, timestamp,
100 out.writeInt(port);
  /libcore/support/src/test/java/tests/net/
DelegatingSocketFactory.java 53 public Socket createSocket(String host, int port) throws IOException, UnknownHostException {
54 Socket socket = mDelegate.createSocket(host, port);
59 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
61 Socket socket = mDelegate.createSocket(host, port, localHost, localPort);
66 public Socket createSocket(InetAddress host, int port) throws IOException {
67 Socket socket = mDelegate.createSocket(host, port);
72 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
74 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort);
  /system/core/adb/sysdeps/posix/
network.cpp 33 static sockaddr* loopback_addr4(sockaddr_storage* addr, socklen_t* addrlen, int port) {
39 addr4->sin_port = htons(port);
43 static sockaddr* loopback_addr6(sockaddr_storage* addr, socklen_t* addrlen, int port) {
49 addr6->sin6_port = htons(port);
53 static int _network_loopback_client(bool ipv6, int port, int type, std::string* error) {
69 addr = (ipv6 ? loopback_addr6 : loopback_addr4)(&addr_storage, &addrlen, port);
79 int network_loopback_client(int port, int type, std::string* error) {
81 int rc = _network_loopback_client(false, port, type, error);
83 return _network_loopback_client(true, port, type, error);
88 static int _network_loopback_server(bool ipv6, int port, int type, std::string* error)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
gopher.py 5 # Usage: gopher [ [selector] host [port] ]
12 # Default selector, host and port
40 # Open a TCP connection to a given host and port
41 def open_socket(host, port):
42 if not port:
43 port = DEF_PORT
44 elif type(port) == type(''):
45 port = string.atoi(port)
47 s.connect((host, port))
    [all...]
  /external/python/cpython2/Demo/sockets/
gopher.py 5 # Usage: gopher [ [selector] host [port] ]
12 # Default selector, host and port
40 # Open a TCP connection to a given host and port
41 def open_socket(host, port):
42 if not port:
43 port = DEF_PORT
44 elif type(port) == type(''):
45 port = string.atoi(port)
47 s.connect((host, port))
    [all...]
  /external/apache-http/src/org/apache/http/auth/
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,
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/example/
RemoteFile.java 35 private int port; field in class:RemoteFile
40 ftpClient.connect(server, port);
63 * Set the port number for the FTP server
65 * @param port - the port number
67 public void setPort(int port) {
68 this.port = port;
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/example/
RemoteFile.java 34 private int port; field in class:RemoteFile
39 ftpClient.connect(server, port);
60 * Set the port number for the FTP server
61 * @param port - the port number
63 public void setPort(int port) {
64 this.port = port;
  /frameworks/opt/net/voip/src/jni/rtp/
util.cpp 25 int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss)
31 if (port < 0 || port > 65535) {
32 jniThrowException(env, "java/lang/IllegalArgumentException", "port");
45 sin->sin_port = htons(port);
53 sin6->sin6_port = htons(port);
  /libcore/ojluni/src/main/java/sun/net/util/
URLUtil.java 61 int port = url.getPort(); local
62 if (port == -1) {
63 /* if no port is specificed then use the protocols
65 port = url.getDefaultPort();
67 if (port != -1) {
68 strForm.append(":").append(port);
  /external/syslinux/gpxe/src/drivers/net/
skge.c 62 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
63 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
64 static void yukon_init(struct skge_hw *hw, int port);
65 static void genesis_mac_init(struct skge_hw *hw, int port);
138 int port = skge->port; local
144 xm_phy_write(hw, port, PHY_BCOM_P_EXT_CTRL, PHY_B_PEC_LED_OFF);
146 skge_write32(hw, SK_REG(port, TX_LED_VAL), 0);
147 skge_write8(hw, SK_REG(port, TX_LED_CTRL), LED_T_OFF);
149 skge_write8(hw, SK_REG(port, LNK_LED_REG), LINKLED_OFF)
626 int port = skge->port; local
723 int port = skge->port; local
758 int port = skge->port; local
833 int port = skge->port; local
1003 int port = skge->port; local
1050 int port = skge->port; local
1134 int port = skge->port; local
1497 int port = skge->port; local
1529 int port = skge->port; local
1550 int port = skge->port; local
1572 int port = skge->port; local
1713 int port = skge->port; local
1796 int port = skge->port; local
2088 int port; local
    [all...]
  /external/conscrypt/android/src/main/java/org/conscrypt/
BaseOpenSSLSocketAdapterFactory.java 49 public Socket createSocket(String hostname, int port)
51 return wrap((OpenSSLSocketImpl) delegate.createSocket(hostname, port));
55 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort)
58 (OpenSSLSocketImpl) delegate.createSocket(hostname, port, localHost, localPort));
61 public Socket createSocket(InetAddress address, int port) throws IOException {
62 return wrap((OpenSSLSocketImpl) delegate.createSocket(address, port));
67 int port,
72 (OpenSSLSocketImpl) delegate.createSocket(address, port, localAddress, localPort));
76 public Socket createSocket(Socket s, String hostname, int port, boolean autoClose)
78 return wrap((OpenSSLSocketImpl) delegate.createSocket(s, hostname, port, autoClose))
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLSocketImpl.java 39 OpenSSLSocketImpl(String hostname, int port) throws IOException {
40 super(hostname, port);
43 OpenSSLSocketImpl(InetAddress address, int port) throws IOException {
44 super(address, port);
47 OpenSSLSocketImpl(String hostname, int port, InetAddress clientAddress, int clientPort)
49 super(hostname, port, clientAddress, clientPort);
52 OpenSSLSocketImpl(InetAddress address, int port, InetAddress clientAddress,
55 super(address, port, clientAddress, clientPort);
58 OpenSSLSocketImpl(Socket socket, String hostname, int port, boolean autoClose)
60 super(socket, hostname, port, autoClose)
    [all...]
  /external/javassist/src/main/javassist/
URLClassPath.java 30 protected int port; field in class:URLClassPath
47 * <code>port</code> is 80, and <code>directory</code> is "/java/classes/".
53 * @param port port number
59 public URLClassPath(String host, int port,
62 this.port = port;
68 return hostname + ":" + port + directory;
90 return fetchClass0(hostname, port, jarname);
123 * @param port port numbe
    [all...]

Completed in 3273 milliseconds

1 2 3 4 5 6 78 91011>>