/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/util/ |
H A D | PortParser.java | 27 * Utility class for parsing host and port values from command arguments.
35 * Parse the host address and port number of an extended address. This encoded format is used by
41 * @param parameter - the single parameter String containing the encoded host and port number
53 throw new CommandSyntaxException("Error parsing host and port number [" + parameter + "]");
56 int port = Integer.parseInt(tokens[3]);
66 return new HostAndPort(host, port);
70 * Parse a 32-bit IP address and 16-bit port number from the String[] of FTP command parameters.
74 * of a 32-bit internet host address and a 16-bit TCP port address. This address
77 * representation). Thus, the six parameters for the port command would be:
80 * high order 8 bits of the port numbe 118 convertHostAndPortToCommaDelimitedBytes(InetAddress host, int port) argument [all...] |
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/core/socket/ |
H A D | StubSocketFactory.java | 25 * requested host address and port number.
48 public Socket createSocket(InetAddress host, int port) throws IOException {
argument 50 this.requestedDataPort = port;
|
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/stub/example/ |
H A D | 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) {
argument 68 this.port = port;
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/util/ |
H A D | PortParser.java | 27 * Utility class for parsing host and port values from command arguments.
35 * Parse the host address and port number of an extended address. This encoded format is used by
41 * @param parameter - the single parameter String containing the encoded host and port number
53 throw new CommandSyntaxException("Error parsing host and port number [" + parameter + "]");
56 int port = Integer.parseInt(tokens[3]);
66 return new HostAndPort(host, port);
70 * Parse a 32-bit IP address and 16-bit port number from the String[] of FTP command parameters.
74 * of a 32-bit internet host address and a 16-bit TCP port address. This address
77 * representation). Thus, the six parameters for the port command would be:
80 * high order 8 bits of the port numbe 118 convertHostAndPortToCommaDelimitedBytes(InetAddress host, int port) argument [all...] |
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/socket/ |
H A D | StubSocketFactory.java | 25 * requested host address and port number.
48 public Socket createSocket(InetAddress host, int port) throws IOException {
argument 50 this.requestedDataPort = port;
|
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/stub/example/ |
H A D | 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) {
argument 68 this.port = port;
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/stub/command/ |
H A D | PasvCommandHandler.java | 35 * bytes of the 16-bit TCP port address of the data connection on the server to which
62 int port = session.switchToPassiveMode();
65 Assert.isTrue(port > -1, "The server-side port is invalid: " + port);
66 LOG.debug("server=" + server + " port=" + port);
67 String hostAndPort = "(" + convertHostAndPortToStringOfBytes(server, port) + ")";
73 * Convert the InetAddess and port number to a comma-delimited list of byte values,
76 * @param port 79 convertHostAndPortToStringOfBytes(InetAddress host, int port) argument [all...] |
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/core/socket/ |
H A D | StubSocketFactory.java | 27 * requested host address and port number.
50 public Socket createSocket(InetAddress host, int port) throws IOException {
argument 52 this.requestedDataPort = port;
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/stub/example/ |
H A D | 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) {
argument 64 this.port = port;
|
/external/nist-sip/java/javax/sip/ |
H A D | IOExceptionEvent.java | 10 public IOExceptionEvent(Object source, String host, int port, argument 14 mPort = port;
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
H A D | DelegatingSSLSocketFactory.java | 45 public SSLSocket createSocket(String host, int port) throws IOException, UnknownHostException { argument 46 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port); 51 public SSLSocket createSocket(String host, int port, InetAddress localAddress, int localPort) argument 53 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port, localAddress, localPort); 58 public SSLSocket createSocket(InetAddress host, int port) throws IOException { argument 59 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port); 64 public SSLSocket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) argument 66 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port, localAddress, localPort); 81 public SSLSocket createSocket(Socket socket, String host, int port, boolean autoClose) argument 83 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(socket, host, port, autoClos [all...] |
H A D | DelegatingServerSocketFactory.java | 42 public ServerSocket createServerSocket(int port) throws IOException { argument 43 ServerSocket serverSocket = delegate.createServerSocket(port); 48 public ServerSocket createServerSocket(int port, int backlog) throws IOException { argument 49 ServerSocket serverSocket = delegate.createServerSocket(port, backlog); 54 public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) argument 56 ServerSocket serverSocket = delegate.createServerSocket(port, backlog, ifAddress);
|
H A D | DelegatingSocketFactory.java | 43 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { argument 44 Socket socket = delegate.createSocket(host, port); 49 public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) argument 51 Socket socket = delegate.createSocket(host, port, localAddress, localPort); 56 public Socket createSocket(InetAddress host, int port) throws IOException { argument 57 Socket socket = delegate.createSocket(host, port); 62 public Socket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) argument 64 Socket socket = delegate.createSocket(host, port, localAddress, localPort);
|
/external/opencv/otherlibs/highgui/ |
H A D | cvcap.cpp | 90 CV_IMPL CvCapture* cvCreateSocketCapture( const char *address, const char* port, int width, int height ) argument 92 return cvCreateCameraCapture_Socket(address, port, width, height);
|
/external/ppp/pppd/plugins/pppoatm/ |
H A D | misc.c | 45 void atm_tcpip_port_mapping(char *vs_id,uint8_t protocol,uint16_t port) argument 49 vs_id[5] = (htons(port) >> 8) & 255; 50 vs_id[6] = htons(port) & 255;
|
/external/testng/src/main/java/org/testng/remote/strprotocol/ |
H A D | SerializedMessageSender.java | 12 public SerializedMessageSender(String host, int port) { argument 13 super(host, port, false /* no ack */); 16 public SerializedMessageSender(String host, int port, boolean ack) { argument 17 super(host, port, ack);
|
H A D | StringMessageSender.java | 18 public StringMessageSender(String host, int port) { argument 19 super(host, port, false /* no ack */); 22 public StringMessageSender(String host, int port, boolean ack) { argument 23 super(host, port, ack);
|
/external/tlsdate/src/ |
H A D | proxy-polarssl.h | 22 uint16_t port; member in struct:_proxy_polarssl_ctx 41 void proxy_polarssl_set_port(proxy_polarssl_ctx *ctx, uint16_t port);
|
/external/toybox/toys/other/ |
H A D | nbd_client.c | 44 char *host=toys.optargs[0], *port=toys.optargs[1], *device=toys.optargs[2]; local 55 sock = xconnect(host, port, AF_UNSPEC, SOCK_STREAM, 0, 0); 63 error_exit("bad login %s:%s", host, port);
|
/external/xmlrpcpp/test/ |
H A D | HelloClient.cpp | 14 int port = atoi(argv[2]); local 18 XmlRpcClient c(argv[1], port);
|
H A D | HelloServer.cpp | 67 int port = atoi(argv[1]); local 71 // Create the server socket on the specified port 72 s.bindAndListen(port);
|
H A D | TestBase64Server.cpp | 56 int port = atoi(argv[1]);
local 60 // Create the server socket on the specified port
61 s.bindAndListen(port);
|
/external/apache-http/src/org/apache/http/client/utils/ |
H A D | URIUtils.java | 62 * @param port 81 int port, 93 if (port > 0) { 95 buffer.append(port); 117 * and port are taken from the target host, but whose path, query and 124 * Contains the scheme, host and port to use. 78 createURI( final String scheme, final String host, int port, final String path, final String query, final String fragment) argument
|
/external/apache-http/src/org/apache/http/conn/ |
H A D | MultihomePlainSocketFactory.java | 97 * @param port the port to connect to 99 * @param localPort local port 105 public Socket connectSocket(Socket sock, String host, int port, argument 141 sock.connect(new InetSocketAddress(address, port), timeout);
|
/external/avahi/avahi-client/ |
H A D | srv-test.c | 43 AVAHI_GCC_UNUSED uint16_t port, 33 callback( AVAHI_GCC_UNUSED AvahiServiceResolver *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, AVAHI_GCC_UNUSED const AvahiAddress *a, AVAHI_GCC_UNUSED uint16_t port, AVAHI_GCC_UNUSED AvahiStringList *txt, AVAHI_GCC_UNUSED AvahiLookupResultFlags flags, AVAHI_GCC_UNUSED void *userdata) argument
|