/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
TcpConnectorFactory.java | 56 public Connector createConnector( int channel, int port ) throws IOException 58 return new SocketConnector( remoteAddress, port );
|
/external/nist-sip/java/javax/sip/ |
IOExceptionEvent.java | 10 public IOExceptionEvent(Object source, String host, int port, 14 mPort = port;
|
/libcore/luni/src/main/java/javax/net/ssl/ |
SSLSocket.java | 43 * port. 47 * @param port 48 * the port number to connect to. 54 protected SSLSocket(String host, int port) throws IOException, UnknownHostException { 55 super(host, port); 62 * port. 66 * @param port 67 * the port number to connect to. 71 protected SSLSocket(InetAddress address, int port) throws IOException { 72 super(address, port); [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
TcpStream.cpp | 50 int TcpStream::listen(unsigned short port) 52 m_sock = socket_loopback_server(port, SOCK_STREAM); 81 int TcpStream::connect(unsigned short port) 83 return connect("127.0.0.1",port); 86 int TcpStream::connect(const char* hostname, unsigned short port) 88 m_sock = socket_network_client(hostname, port, SOCK_STREAM);
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLServerSocketTest.java | 86 protected MySSLServerSocket(int port) throws IOException { 87 super(port); 90 protected MySSLServerSocket(int port, int backlog) throws IOException { 91 super(port, backlog); 94 protected MySSLServerSocket(int port, int backlog, InetAddress address) 96 super(port, backlog, address);
|
/external/chromium_org/chrome/test/chromedriver/server/ |
server.py | 28 port = self._FindOpenPort() 29 chromedriver_args = [exe_path, '--port=%d' % port] 33 self._url = 'http://127.0.0.1:%d' % port 47 for port in range(9500, 10000): 49 socket.create_connection(('127.0.0.1', port), 0.2).close() 51 return port 52 raise RuntimeError('Cannot find open port to launch ChromeDriver')
|
/external/smack/src/org/jivesoftware/smack/ |
BOSHConfiguration.java | 48 public BOSHConfiguration(String xmppDomain, int port) { 49 super(xmppDomain, port); 62 * @param port the port of the connection manager 69 public BOSHConfiguration(boolean https, String host, int port, String filePath, String xmppDomain) { 70 super(host, port, xmppDomain); 83 * @param port the port of the connection manager 91 public BOSHConfiguration(boolean https, String host, int port, String filePath, ProxyInfo proxy, String xmppDomain) { 92 super(host, port, xmppDomain, proxy) [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLServerSocketFactoryImpl.java | 57 public ServerSocket createServerSocket(int port) throws IOException { 58 return new OpenSSLServerSocketImpl(port, (SSLParametersImpl) sslParameters.clone()); 61 public ServerSocket createServerSocket(int port, int backlog) 63 return new OpenSSLServerSocketImpl(port, 68 public ServerSocket createServerSocket(int port, 71 return new OpenSSLServerSocketImpl(port,
|
SSLServerSocketFactoryImpl.java | 95 public ServerSocket createServerSocket(int port) throws IOException { 99 return new SSLServerSocketImpl(port, 107 public ServerSocket createServerSocket(int port, int backlog) 112 return new SSLServerSocketImpl(port, backlog, 120 public ServerSocket createServerSocket(int port, int backlog, 125 return new SSLServerSocketImpl(port, backlog, iAddress,
|
SSLSocketFactoryImpl.java | 86 public Socket createSocket(Socket s, String host, int port, 91 return new SSLSocketWrapper(s, host, port, autoClose, (SSLParametersImpl) sslParameters 112 public Socket createSocket(String host, int port) 117 return new SSLSocketImpl(host, port, 125 public Socket createSocket(String host, int port, 131 return new SSLSocketImpl(host, port, localHost, localPort, 139 public Socket createSocket(InetAddress host, int port) 144 return new SSLSocketImpl(host, port, 152 public Socket createSocket(InetAddress address, int port, 157 return new SSLSocketImpl(address, port, localAddress, localPort [all...] |
/libcore/luni/src/main/java/java/net/ |
SocketImpl.java | 30 * ServerSocket} on a well known port (referred to as listener) used to 42 * The remote port this socket is connected to. 44 protected int port; field in class:SocketImpl 52 * The local port this socket is connected to. 78 * Binds this socket to the specified local host address and port number. 82 * @param port 83 * the port on the local machine to bind this socket to. 87 protected abstract void bind(InetAddress address, int port) throws IOException; 98 * Connects this socket to the specified remote host and port number. 102 * @param port [all...] |
ProxySelectorImpl.java | 44 int port = -1; local 49 port = 80; 51 proxy = lookupProxy("http.proxyHost", "http.proxyPort", Proxy.Type.HTTP, port); 53 port = 443; 55 proxy = lookupProxy("https.proxyHost", "https.proxyPort", Proxy.Type.HTTP, port); 57 port = 80; // not 21 as you might guess 59 proxy = lookupProxy("ftp.proxyHost", "ftp.proxyPort", Proxy.Type.HTTP, port); 76 proxy = lookupProxy("proxyHost", "proxyPort", Proxy.Type.HTTP, port); 100 int port = getSystemPropertyInt(portKey, defaultPort); local 101 return new Proxy(type, InetSocketAddress.createUnresolved(host, port)); [all...] |
/external/chromium_org/build/android/pylib/ |
ports.py | 20 # The following two methods are used to allocate the port source for various 22 # same time, it's important to have a mechanism to allocate the port 23 # process-safe. In here, we implement the safe port allocation by leveraging 26 """Resets the port allocation to start from TEST_SERVER_PORT_FIRST. 43 """Allocates a port incrementally. 46 Returns a valid port which should be in between TEST_SERVER_PORT_FIRST and 47 TEST_SERVER_PORT_LAST. Returning 0 means no more valid port can be used. 49 port = 0 54 # Get current valid port and calculate next valid port [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
manager_unittest.py | 47 port = Mock() # FIXME: Use a tighter mock. 48 port.TEST_PATH_SEPARATOR = '/' 49 manager = Manager(port, options=MockOptions(http=True, max_locked_shards=1), printer=Mock()) 59 def get_manager(port): 60 manager = Manager(port, options=MockOptions(http=True, max_locked_shards=1), printer=Mock()) 76 port = host.port_factory.get('test-mac-leopard') 77 port.start_http_server = start_http_server 78 port.start_websocket_server = start_websocket_server 79 port.stop_http_server = stop_http_server 80 port.stop_websocket_server = stop_websocket_serve [all...] |
/external/dropbear/ |
fake-rfc2553.c | 119 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 134 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port; 157 long int port; local 160 port = 0; 164 port = strtol(servname, &cp, 10); 165 if (port > 0 && port <= 65535 && *cp == '\0') 166 port = htons(port); 168 port = sp->s_port [all...] |
/external/openssh/openbsd-compat/ |
fake-rfc2553.c | 124 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 139 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port; 162 long int port; local 165 port = 0; 172 port = strtol(servname, &cp, 10); 173 if (port > 0 && port <= 65535 && *cp == '\0') 174 port = htons(port); 176 port = sp->s_port [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/ |
test_run_results_unittest.py | 49 def run_results(port, extra_skipped_tests=[]): 52 expectations = test_expectations.TestExpectations(port, tests) 58 def summarized_results(port, expected, passing, flaky, only_include_failing=False, extra_skipped_tests=[]): 61 initial_results = run_results(port, extra_skipped_tests) 86 retry_results = run_results(port, extra_skipped_tests) 93 return test_run_results.summarize_results(port, initial_results.expectations, initial_results, retry_results, enabled_pixel_tests_in_retry=False, only_include_failing=only_include_failing) 99 self.port = host.port_factory.get(port_name='test') 102 test_dict = test_run_results._interpret_test_failures([test_failures.FailureReftestMismatchDidNotOccur(self.port.abspath_for_test('foo/reftest-expected-mismatch.html'))]) 121 self.port = host.port_factory.get(port_name='test') 124 summary = summarized_results(self.port, expected=False, passing=False, flaky=False [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
RtpStream.cpp | 32 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss); 59 uint16_t port = ntohs(*p); local 60 if ((port & 1) == 0) { 62 return port; 68 uint16_t delta = port << 1; 69 ++port; 73 port += delta; 74 } while (port < 1024); 75 *p = htons(port); 79 return port; [all...] |
/external/chromium_org/chrome/browser/resources/inspect/ |
inspect.css | 105 .port-icon { 114 .port-icon.error { 118 .port-icon.connected { 123 .port-icon.transient { 128 .port-number { 254 #port-forwarding-overlay { 266 #port-forwarding-overlay:not(.open) { 270 #port-forwarding-config { 293 #port-forwarding-config > .close-button { 299 #port-forwarding-config-title [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 55 protected int port; field in class:HopImpl 65 return host + ":" + port + "/" + transport; 69 * Create new hop given host, port and transport. 71 * @param portNumber port 83 port = portNumber; 90 * @param hop is a hop string in the form of host:port/Transport 114 port = Integer.parseInt(portstr); 116 throw new IllegalArgumentException("Bad port spec"); 122 this.port = transport.equalsIgnoreCase("TLS") ? 5061 : 5060; 126 this.port = 5060 [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
RotateFilter.java | 52 public void onInputPortOpen(InputPort port) { 53 if (port.getName().equals("rotateAngle")) { 54 port.bindToFieldNamed("mRotateAngle"); 55 port.setAutoPullEnabled(true); 56 } else if (port.getName().equals("sourceRect")) { 57 port.bindToFieldNamed("mSourceRect"); 58 port.setAutoPullEnabled(true);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
audiodev.py | 15 ## inited_nchannels, port, converter, classinited: private 54 self.port = None 58 if self.port: 66 if not self.port: 69 while self.port.getfilled() > 0: 74 if self.port: 75 self.port.closeport() 76 self.port = None 118 if not self.port: 120 self.port = al.openport('Python', 'w', self.config [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
audiodev.py | 15 ## inited_nchannels, port, converter, classinited: private 54 self.port = None 58 if self.port: 66 if not self.port: 69 while self.port.getfilled() > 0: 74 if self.port: 75 self.port.closeport() 76 self.port = None 118 if not self.port: 120 self.port = al.openport('Python', 'w', self.config [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
linux_unittest.py | 35 from webkitpy.layout_tests.port import linux 36 from webkitpy.layout_tests.port import port_testcase 49 port = self.make_port(host, port_name=port_name) 50 self.assertEqual(port.architecture(), expected_architecture) 52 self.assertTrue(port.baseline_path().endswith('linux-x86')) 53 self.assertTrue(port.baseline_search_path()[0].endswith('linux-x86')) 54 self.assertTrue(port.baseline_search_path()[1].endswith('linux')) 56 self.assertTrue(port.baseline_path().endswith('linux')) 57 self.assertTrue(port.baseline_search_path()[0].endswith('linux')) 70 # FIXME: Check that, for now, these are illegal port names [all...] |
/external/grub/stage2/ |
serial.c | 49 /* Store the port number of a serial unit. */ 64 /* Read a byte from a port. */ 66 inb (unsigned short port) 70 asm volatile ("inb %w1, %0" : "=a" (value) : "Nd" (port)); 76 /* Write a byte to a port. */ 78 outb (unsigned short port, unsigned char value) 80 asm volatile ("outb %b0, %w1" : : "a" (value), "Nd" (port)); 117 /* Return the port number for the UNITth serial device. */ 127 /* Initialize a serial device. PORT is the port number for a serial device [all...] |