Searched refs:port (Results 1 - 25 of 1630) sorted by relevance

1234567891011>>

/external/chromium_org/content/test/data/workers/
H A Dmessageport_worker.js2 var port = event.ports[0];
3 port.postMessage("Worker connected.");
4 port.onmessage = function(event2) {
5 port.postMessage("Worker got a port.");
6 var anotherport = event2.data.port;
9 anotherport.postMessage("Worker got a message via the passed port.");
/external/chromium_org/base/mac/
H A Dscoped_mach_port.cc14 void SendRightTraits::Free(mach_port_t port) { argument
15 kern_return_t kr = mach_port_deallocate(mach_task_self(), port);
21 void ReceiveRightTraits::Free(mach_port_t port) { argument
23 mach_port_mod_refs(mach_task_self(), port, MACH_PORT_RIGHT_RECEIVE, -1);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/config/
H A Dirc.py27 port = 6667 variable
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowIntentFilterAuthorityEntry.java10 private int port; field in class:ShadowIntentFilterAuthorityEntry
12 public void __constructor__(String host, String port) { argument
14 if (port == null) {
15 this.port = -1;
17 this.port = Integer.parseInt(port);
28 return port;
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dbase_unittest.py45 from webkitpy.layout_tests.port import Port, Driver, DriverOutput
46 from webkitpy.layout_tests.port.base import VirtualTestSuite
47 from webkitpy.layout_tests.port.test import add_unit_tests_to_mock_filesystem, TestPort
60 port = self.make_port()
61 self.assertIsNotNone(port.default_child_processes())
70 port = self.make_port()
71 port._path_to_wdiff = lambda: "/path/to/wdiff"
72 command = port._wdiff_command("/actual/path", "/expected/path")
91 port = self.make_port(executive=executive_mock.MockExecutive2(exception=OSError))
94 self.assertEqual(port
[all...]
H A Dport_testcase.py46 from webkitpy.layout_tests.port.base import Port, TestConfiguration
47 from webkitpy.layout_tests.port.server_process_mock import MockServerProcess
99 port = self.port_maker(host, port_name, options=options, **kwargs)
100 port._config.build_directory = lambda configuration: '/mock-build'
101 return port
103 def make_wdiff_available(self, port):
104 port._wdiff_available = True
107 port = self.make_port()
108 port._check_file_exists = lambda path, desc: True
109 if port
[all...]
H A Dmac_unittest.py31 from webkitpy.layout_tests.port import mac
32 from webkitpy.layout_tests.port import port_testcase
44 port = self.make_port(os_version=os_version_string, port_name=port_name)
45 self.assertEqual(expected, port.name())
64 port = self.make_port(port_name='mac-snowleopard')
65 self.assertEqual(port.baseline_path(), port._webkit_baseline_path('mac-snowleopard'))
67 port = self.make_port(port_name='mac-lion')
68 self.assertEqual(port.baseline_path(), port
[all...]
/external/libsepol/src/
H A Dport_record.c37 ERR(handle, "out of memory, could not create " "port key");
63 const sepol_port_t * port,
68 (handle, port->low, port->high, port->proto, key_ptr) < 0) {
70 ERR(handle, "could not extract key from port %s %d:%d",
71 sepol_port_get_proto_str(port->proto),
72 port->low, port->high);
85 int sepol_port_compare(const sepol_port_t * port, cons argument
111 sepol_port_compare2(const sepol_port_t * port, const sepol_port_t * port2) argument
138 sepol_port_get_low(const sepol_port_t * port) argument
161 sepol_port_set_range(sepol_port_t * port, int low, int high) argument
251 sepol_port_free(sepol_port_t * port) argument
[all...]
/external/nist-sip/java/gov/nist/core/
H A DHostPort.java33 * Holds the hostname:port.
52 /** port field
55 protected int port; field in class:HostPort
62 port = -1; // marker for not set.
77 if (port != -1)
78 buffer.append(COLON).append(port);
92 return port == that.port && host.equals(that.host);
102 /** get the port field
106 return port;
[all...]
/external/chromium_org/mojo/system/
H A Dmessage_pipe.cc51 unsigned MessagePipe::GetPeerPort(unsigned port) { argument
52 DCHECK(port == 0 || port == 1);
53 return port ^ 1;
56 MessagePipeEndpoint::Type MessagePipe::GetType(unsigned port) { argument
57 DCHECK(port == 0 || port == 1);
59 DCHECK(endpoints_[port]);
61 return endpoints_[port]->GetType();
64 void MessagePipe::CancelAllWaiters(unsigned port) { argument
72 Close(unsigned port) argument
89 WriteMessage( unsigned port, UserPointer<const void> bytes, uint32_t num_bytes, std::vector<DispatcherTransport>* transports, MojoWriteMessageFlags flags) argument
106 ReadMessage(unsigned port, UserPointer<void> bytes, UserPointer<uint32_t> num_bytes, DispatcherVector* dispatchers, uint32_t* num_dispatchers, MojoReadMessageFlags flags) argument
130 AddWaiter(unsigned port, Waiter* waiter, MojoHandleSignals signals, uint32_t context, HandleSignalsState* signals_state) argument
143 RemoveWaiter(unsigned port, Waiter* waiter, HandleSignalsState* signals_state) argument
154 ConvertLocalToProxy(unsigned port) argument
182 EnqueueMessage(unsigned port, scoped_ptr<MessageInTransit> message) argument
187 OnRemove(unsigned port) argument
213 EnqueueMessageInternal( unsigned port, scoped_ptr<MessageInTransit> message, std::vector<DispatcherTransport>* transports) argument
245 AttachTransportsNoLock( unsigned port, MessageInTransit* message, std::vector<DispatcherTransport>* transports) argument
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_HttpServerSocket.java32 private int port = -1; field in class:Support_HttpServerSocket
42 if (port == -1) {
64 public void setPort(int port) { argument
65 this.port = port;
69 instance = new ServerSocket(port);
/external/chromium_org/chrome/common/extensions/docs/examples/api/messaging/timer/
H A Dpage.js5 chrome.runtime.onConnect.addListener(function(port) {
6 port.onMessage.addListener(function(msg) {
7 port.postMessage({counter: msg.counter+1});
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DKeepAliveHttpsTransportSE.java28 private final int port; field in class:KeepAliveHttpsTransportSE
33 public KeepAliveHttpsTransportSE(String host, int port, String file, int timeout) { argument
34 super(host, port, file, timeout);
36 this.port = port;
51 serviceConnection = new HttpsServiceConnectionSEIgnoringConnectionClose(host, port,
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
H A Dtest_http_header_util.py45 host, port, resource = http_header_util.parse_uri('/ws/test')
47 self.assertEqual(None, port)
51 host, port, resource = http_header_util.parse_uri(
54 self.assertEqual(10080, port)
57 host, port, resource = http_header_util.parse_uri(
60 self.assertEqual(80, port)
63 host, port, resource = http_header_util.parse_uri(
66 self.assertEqual(443, port)
69 host, port, resource = http_header_util.parse_uri(
72 self.assertEqual(8080, port)
[all...]
/external/libsepol/include/sepol/
H A Dport_record.h16 extern int sepol_port_compare(const sepol_port_t * port,
19 extern int sepol_port_compare2(const sepol_port_t * port,
30 const sepol_port_t * port,
36 extern int sepol_port_get_proto(const sepol_port_t * port);
38 extern void sepol_port_set_proto(sepol_port_t * port, int proto);
43 extern int sepol_port_get_low(const sepol_port_t * port);
45 extern int sepol_port_get_high(const sepol_port_t * port);
47 extern void sepol_port_set_port(sepol_port_t * port, int port_num);
49 extern void sepol_port_set_range(sepol_port_t * port, int low, int high);
52 extern sepol_context_t *sepol_port_get_con(const sepol_port_t * port);
[all...]
/external/smack/src/org/jivesoftware/smack/util/dns/
H A DHostAddress.java20 private int port; field in class:HostAddress
24 * Creates a new HostAddress with the given FQDN. The port will be set to the default XMPP client port: 5222
38 // Set port to the default port for XMPP client communication
39 this.port = 5222;
43 * Creates a new HostAddress with the given FQDN. The port will be set to the default XMPP client port: 5222
46 * @param port The port t
49 HostAddress(String fqdn, int port) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/
H A DMIDIConnectionEvent.idl35 [InitializedByEventConstructor] readonly attribute MIDIPort port;
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
H A DKnownPorts.cpp37 bool isDefaultPortForProtocol(unsigned short port, const String& protocol) argument
50 return defaultPorts.get(protocol) == port;
55 unsigned short port = url.port(); local
57 // Since most URLs don't have a port, return early for the "no port" case.
58 if (!port)
61 // This blocked port list matches the port blocking that Mozilla implements.
128 0xFFFF, // Used to block all invalid port number
[all...]
/external/cmockery/cmockery_0_1_2/src/example/
H A Ddatabase.h30 unsigned int port; member in struct:DatabaseConnection
36 const unsigned int port);
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
H A DNanoWebSocketServer.java9 public NanoWebSocketServer(int port) { argument
10 super(port);
14 public NanoWebSocketServer(String hostname, int port) { argument
15 super(hostname, port);
19 public NanoWebSocketServer(int port, IWebSocketFactory webSocketFactory) { argument
20 super(port);
24 public NanoWebSocketServer(String hostname, int port, IWebSocketFactory webSocketFactory) { argument
25 super(hostname, port);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DTunnelRequest.java33 final int port; field in class:TunnelRequest
39 * @param port the origin server's port, like 80 or 443.
44 public TunnelRequest(String host, int port, String userAgent, String proxyAuthorization) { argument
48 this.port = port;
54 return "CONNECT " + host + ":" + port + " HTTP/1.1";
64 .url(new URL("https", host, port, "/"));
67 result.header("Host", port == getDefaultPort("https") ? host : (host + ":" + port));
[all...]
/external/nist-sip/java/gov/nist/core/net/
H A DDefaultNetworkLayer.java69 public ServerSocket createServerSocket(int port, int backlog, argument
71 return new ServerSocket(port, backlog, bindAddress);
74 public Socket createSocket(InetAddress address, int port) argument
76 return new Socket(address, port);
83 public DatagramSocket createDatagramSocket(int port, InetAddress laddr) argument
88 MulticastSocket ds = new MulticastSocket( port );
94 } else return new DatagramSocket(port, laddr);
98 public SSLServerSocket createSSLServerSocket(int port, int backlog, argument
101 port, backlog, bindAddress);
105 public SSLSocket createSSLSocket(InetAddress address, int port) argument
111 createSSLSocket(InetAddress address, int port, InetAddress myAddress) argument
117 createSocket(InetAddress address, int port, InetAddress myAddress) argument
141 createSocket(InetAddress address, int port, InetAddress myAddress, int myPort) argument
[all...]
/external/chromium_org/content/public/common/
H A Dsocket_permission_request.h30 int port)
33 port(port) {
38 int port; member in struct:content::SocketPermissionRequest
28 SocketPermissionRequest(OperationType type, const std::string& host, int port) argument
/external/iptables/include/linux/netfilter/
H A Dnf_conntrack_tuple_common.h18 __be16 port; member in struct:nf_conntrack_man_proto::__anon22567
21 __be16 port; member in struct:nf_conntrack_man_proto::__anon22568
27 __be16 port; member in struct:nf_conntrack_man_proto::__anon22570
30 __be16 port; member in struct:nf_conntrack_man_proto::__anon22571
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dnf_conntrack_tuple_common.h18 __be16 port; member in struct:nf_conntrack_man_proto::__anon23192
21 __be16 port; member in struct:nf_conntrack_man_proto::__anon23193
27 __be16 port; member in struct:nf_conntrack_man_proto::__anon23195
30 __be16 port; member in struct:nf_conntrack_man_proto::__anon23196

Completed in 740 milliseconds

1234567891011>>