Searched refs:port (Results 26 - 50 of 1630) sorted by relevance

1234567891011>>

/external/chromium_org/mojo/system/
H A Dmessage_pipe.h40 // Creates a |MessagePipe| with a |LocalMessagePipeEndpoint| on port 0 and a
41 // |ProxyMessagePipeEndpoint| on port 1. |*channel_endpoint| is set to the
46 // Creates a |MessagePipe| with a |ProxyMessagePipeEndpoint| on port 0 and a
47 // |LocalMessagePipeEndpoint| on port 1. |*channel_endpoint| is set to the
50 // configuration arises from a local message pipe having its port 0
55 // Gets the other port number (i.e., 0 -> 1, 1 -> 0).
56 static unsigned GetPeerPort(unsigned port);
59 MessagePipeEndpoint::Type GetType(unsigned port);
62 // corresponding names. In all cases, the port |port| mus
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dwin_unittest.py35 from webkitpy.layout_tests.port import port_testcase
36 from webkitpy.layout_tests.port import win
48 port = self.make_port()
49 port._executive = MockExecutive(should_log=True)
53 env = output.assert_outputs(self, port.setup_environ_for_server)
58 port = self.make_port()
59 env = port.setup_environ_for_server(port.driver_name())
63 port = self.make_port(options=MockOptions(register_cygwin=True, results_directory='/'))
64 port
[all...]
H A Dbrowser_test_driver_unittest.py33 from webkitpy.layout_tests.port import Port, Driver, DriverOutput
34 from webkitpy.layout_tests.port import browser_test, browser_test_driver
35 from webkitpy.layout_tests.port.server_process_mock import MockServerProcess
37 from webkitpy.layout_tests.port.port_testcase import TestWebKitPort
44 port = TestWebKitPort()
45 driver = browser_test_driver.BrowserTestDriver(port, 0, pixel_tests=True)
/external/chromium_org/base/mac/
H A Dscoped_mach_port.h23 static void Free(mach_port_t port);
31 static void Free(mach_port_t port);
36 // A scoper for handling a Mach port that names a send right. Send rights are
43 explicit ScopedMachSendRight(mach_port_t port = traits_type::InvalidValue())
44 : ScopedGeneric(port) {}
49 // A scoper for handling a Mach port's receive right. There is only one
50 // receive right per port. This takes ownership of the receive right on
57 mach_port_t port = traits_type::InvalidValue()) : ScopedGeneric(port) {}
/external/chromium_org/third_party/tlslite/tlslite/integration/
H A Dimap4_tls.py17 def __init__(self, host = '', port = IMAP4_TLS_PORT,
46 @type port: int
47 @param port: Port to connect to.
81 IMAP4.__init__(self, host, port)
84 def open(self, host = '', port = IMAP4_TLS_PORT):
85 """Setup connection to remote server on "host:port".
91 self.port = port
93 self.sock.connect((host, port))
/external/chromium_org/chrome/test/chromedriver/net/
H A Dnet_util.h15 explicit NetAddress(int port); // Host is set to 127.0.0.1.
16 NetAddress(const std::string& host, int port);
21 // Returns host:port.
25 int port() const;
H A Dport_server.h20 PortReservation(const base::Closure& on_free_func, int port);
30 // Communicates with a port reservation management server.
33 // Construct a port server that communicates via the unix domain socket with
38 Status ReservePort(int* port, scoped_ptr<PortReservation>* reservation);
41 Status RequestPort(int* port);
42 void ReleasePort(int port);
56 Status ReservePort(int* port, scoped_ptr<PortReservation>* reservation);
59 Status ReservePortFromPool(int* port,
64 void ReleasePort(int port);
65 void ReleasePortToPool(int port);
[all...]
/external/chromium_org/mojo/spy/ui/
H A Ddev_server.py11 def Main(port, args):
17 port=port, project=project)
/external/chromium_org/net/url_request/
H A Dftp_protocol_handler.cc30 int port = request->url().IntPort(); local
32 !IsPortAllowedByFtp(port) && !IsPortAllowedByOverride(port)) {
/external/chromium_org/tools/telemetry/telemetry/web_components/
H A Ddev_server.py11 def Main(port, args):
17 port=port, project=project)
/external/chromium_org/remoting/webapp/
H A Dhost_installer.js59 var port =
63 port.onDisconnect.removeListener(onDisconnected);
64 port.onMessage.removeListener(onMessage);
65 port.disconnect();
70 port.onDisconnect.removeListener(onDisconnected);
71 port.onMessage.removeListener(onMessage);
75 port.onDisconnect.addListener(onDisconnected);
76 port.onMessage.addListener(onMessage);
77 port.postMessage({type: 'hello'});
/external/arduino/hardware/arduino/cores/arduino/
H A Dwiring_pulse.c34 // cache the port and bit of the pin in order to speed up the
38 uint8_t port = digitalPinToPort(pin); local
48 while ((*portInputRegister(port) & bit) == stateMask)
53 while ((*portInputRegister(port) & bit) != stateMask)
58 while ((*portInputRegister(port) & bit) == stateMask) {
/external/bluetooth/bluedroid/udrv/ulinux/
H A Duipc_linux.h28 unsigned int port; member in struct:__anon1735
/external/chromium_org/content/test/data/workers/
H A Dworker_utils.js9 worker.port.onmessage = function(evt) {
12 worker.postMessage = function(msg, port) {
13 worker.port.postMessage(msg, port);
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
H A DKnownPorts.h36 PLATFORM_EXPORT bool isDefaultPortForProtocol(unsigned short port, const String& protocol);
/external/dnsmasq/contrib/port-forward/
H A Ddnsmasq-portforward6 # It logs to $LOGFILE, if it exists, and maintains port-forwards using
45 for port in $ports; do
48 if [ ${port:0:1} = u ] ; then
50 port=${port/u/}
52 src=${port/:*/}
53 dst=${port/*:/}
55 ${IPTABLES} -t nat -D PREROUTING -p $protocol --destination-port $src -j DNAT --to-destination ${3}:$dst
57 ${IPTABLES} -t nat -A PREROUTING -p $protocol --destination-port $src -j DNAT --to-destination ${3}:$dst
/external/guava/guava/src/com/google/common/net/
H A DHostAndPort.java32 * An immutable representation of a host and port.
56 * concerned with brackets, colons, and port numbers. Full validation of the
64 /** Magic value indicating the absence of a port number. */
70 /** Validated port number in the range [0..65535], or NO_PORT */
71 private final int port; field in class:HostAndPort
76 private HostAndPort(String host, int port, boolean hasBracketlessColons) { argument
78 this.port = port;
93 /** Return true if this instance has a defined port. */
95 return port >
129 fromParts(String host, int port) argument
262 isValidPort(int port) argument
[all...]
/external/apache-http/src/org/apache/http/
H A DHttpHost.java41 * 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/chromium_org/build/android/pylib/
H A Dports.py20 # 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/conscrypt/src/main/java/org/conscrypt/
H A DClientSessionContext.java24 * Caches client sessions. Indexes by host and port. Users are typically
25 * looking to reuse any session for a given host and port.
30 * Sessions indexed by host and port. Protect from concurrent
53 int port = session.getPeerPort();
57 HostAndPort hostAndPortKey = new HostAndPort(host, port);
64 * Finds a cached session for the given host name and port.
67 * @param port of server
70 public SSLSession getSession(String host, int port) { argument
75 HostAndPort hostAndPortKey = new HostAndPort(host, port);
85 byte[] data = persistentCache.getSessionData(host, port);
127 final int port; field in class:ClientSessionContext.HostAndPort
129 HostAndPort(String host, int port) argument
[all...]
/external/nist-sip/java/gov/nist/core/net/
H A DSslNetworkLayer.java88 public ServerSocket createServerSocket(int port, int backlog, argument
90 return new ServerSocket(port, backlog, bindAddress);
93 public Socket createSocket(InetAddress address, int port) argument
95 return new Socket(address, port);
102 public DatagramSocket createDatagramSocket(int port, InetAddress laddr) argument
104 return new DatagramSocket(port, laddr);
108 public SSLServerSocket createSSLServerSocket(int port, int backlog, argument
111 port, backlog, bindAddress);
115 public SSLSocket createSSLSocket(InetAddress address, int port) argument
117 return (SSLSocket) sslSocketFactory.createSocket(address, port);
121 createSSLSocket(InetAddress address, int port, InetAddress myAddress) argument
127 createSocket(InetAddress address, int port, InetAddress myAddress) argument
151 createSocket(InetAddress address, int port, InetAddress myAddress, int myPort) argument
[all...]
/external/chromium_org/extensions/renderer/resources/
H A Dmessaging.js25 // Map of port IDs to port object.
28 // Map of port IDs to unloadEvent listeners. Keep track of these to free the
42 var portSchema = {name: 'port', $ref: 'runtime.Port'};
53 // port.
73 // Disconnects the port from the other end.
94 // Returns true if the specified port id is in this context. This is used by
101 // Hidden port creation function. We don't want to expose an API that lets
102 // people add arbitrary port IDs to the port lis
[all...]
/external/apache-http/src/org/apache/http/cookie/
H A DCookieOrigin.java51 private final int port; field in class:CookieOrigin
55 public CookieOrigin(final String host, int port, final String path, boolean secure) { argument
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/chromium_org/net/quic/
H A Dquic_socket_address_coder.cc46 uint16 port = address_.port(); local
47 serialized.append(reinterpret_cast<const char*>(&port), sizeof(port));
79 uint16 port; local
80 if (length != sizeof(port)) {
83 memcpy(&port, data, length);
85 address_ = IPEndPoint(ip, port);
/external/chromium_org/net/socket/
H A Dserver_socket.cc20 int port,
27 return Listen(IPEndPoint(address_number, port), backlog);
19 ListenWithAddressAndPort(const std::string& address_string, int port, int backlog) argument

Completed in 727 milliseconds

1234567891011>>