Searched refs:ports (Results 1 - 25 of 791) sorted by relevance

1234567891011>>

/external/chromium_org/content/test/data/workers/
H A Dincognito_worker.js4 event.ports[0].postMessage(++count);
H A Dworker_common.js9 event.ports[0].onmessage = function(e) {
11 event.ports[0].postMessage(msg);
H A Dmessageport_worker.js2 var port = event.ports[0];
/external/apache-http/src/org/apache/http/impl/cookie/
H A DBasicClientCookie2.java53 private int[] ports; field in class:BasicClientCookie2
68 return this.ports;
71 public void setPorts(final int[] ports) { argument
72 this.ports = ports;
101 clone.ports = this.ports.clone();
H A DRFC2965PortAttributeHandler.java60 * into an array of ports.
63 * @return parsed array of ports
70 int[] ports = new int[st.countTokens()];
74 ports[i] = Integer.parseInt(st.nextToken().trim());
75 if (ports[i] < 0) {
84 return ports;
89 * ports list.
92 * @param ports port list
94 * the given ports list; <tt>false</tt> otherwise.
96 private static boolean portMatch(int port, int[] ports) { argument
[all...]
/external/apache-http/src/org/apache/http/cookie/
H A DSetCookie2.java56 * Sets the Port attribute. It restricts the ports to which a cookie
59 void setPorts(int[] ports); argument
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
H A DSecurityOriginTest.cpp45 int ports[] = { -100, -1, MaxAllowedPort + 1, 1000000 }; local
47 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(ports); ++i) {
48 RefPtr<SecurityOrigin> origin = SecurityOrigin::create("http", "example.com", ports[i]);
49 EXPECT_TRUE(origin->isUnique()) << "Port " << ports[i] << " should have generated a unique origin.";
55 int ports[] = { 0, 80, 443, 5000, MaxAllowedPort }; local
57 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(ports); ++i) {
58 RefPtr<SecurityOrigin> origin = SecurityOrigin::create("http", "example.com", ports[i]);
59 EXPECT_FALSE(origin->isUnique()) << "Port " << ports[i] << " should not have generated a unique origin.";
/external/iptables/include/linux/netfilter/
H A Dxt_multiport.h17 __u8 count; /* Number of ports */
18 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member in struct:xt_multiport
23 __u8 count; /* Number of ports */
24 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member in struct:xt_multiport_v1
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_multiport.h17 __u8 count; /* Number of ports */
18 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member in struct:xt_multiport
23 __u8 count; /* Number of ports */
24 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member in struct:xt_multiport_v1
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/temp_storage_shared_worker/
H A DTempStorageSharedWorker.js31 var ports = []; variable
43 var newPort = /** @type {!MessagePort} */ (event.ports[0]);
51 ports.push(newPort);
53 if (ports.length === 1)
107 for (var i = 0; i < ports.length; i++)
108 notifyTempStorageCleared(ports[i]);
109 ports = null;
137 if (!ports)
139 var index = ports.indexOf(port);
140 ports
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DPostMessage.h25 MessagePortArray ports; local
29 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) {
34 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, exceptionState, info.GetIsolate());
39 instance->postMessage(context, message.release(), &ports, exceptionState);
/external/chromium_org/net/quic/
H A Dport_suggester_unittest.cc43 // fill out a small range of ports.
46 std::set<int> ports; local
50 ports.insert(port_suggester->SuggestPort(min_ephemeral_port_,
52 if (ports.size() == port_range) {
56 EXPECT_EQ(port_range, ports.size());
64 std::set<int> ports; local
67 ports.insert(port_suggester->SuggestPort(min_ephemeral_port_,
71 EXPECT_EQ(port_count, ports.size());
98 std::set<int> ports; local
103 ports
[all...]
/external/chromium_org/net/data/websocket/
H A Dwebsocket_worker_simple.js8 event.ports[0].onmessage = function(e) {
10 event.ports[0].postMessage(msg);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DMessagePort.cpp65 void MessagePort::postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState) argument
73 // Make sure we aren't connected to any of the passed-in ports.
74 if (ports) {
75 for (unsigned i = 0; i < ports->size(); ++i) {
76 MessagePort* dataPort = (*ports)[i].get();
82 channels = MessagePort::disentanglePorts(ports, exceptionState);
107 OwnPtrWillBeRawPtr<MessagePortArray> ports = nullptr; local
112 ports = MessagePort::entanglePorts(*context, channels.release());
114 return ports.release();
198 OwnPtrWillBeRawPtr<MessagePortArray> ports
212 disentanglePorts(const MessagePortArray* ports, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DServiceWorkerClient.cpp26 void ServiceWorkerClient::postMessage(ExecutionContext* context, PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState) argument
29 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState);
/external/libsepol/src/
H A Dport_internal.h5 #include <sepol/ports.h>
/external/chromium_org/chrome/installer/linux/sysroot_scripts/
H A Dsysroot-creator-trusty.sh12 APT_REPO_ARM=http://ports.ubuntu.com
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebDOMMessageEvent.cpp53 OwnPtrWillBeRawPtr<MessagePortArray> ports = nullptr; local
55 ports = MessagePort::toMessagePortArray(window->document(), webChannels);
56 unwrap<MessageEvent>()->initMessageEvent(type, canBubble, cancelable, messageData, origin, lastEventId, window, ports.release());
/external/chromium_org/chrome/test/perf/
H A Dmach_ports_performancetest.cc21 // This test spawns a new browser and counts the number of open Mach ports in
23 // the number of open ports. This is used to protect against leaking Mach ports,
40 std::string ports; variable
43 base::StringAppendF(&ports, "%d,", *it);
45 perf_test::PrintResultList("mach_ports", "", "", ports, "ports", true);
50 // Gets the browser's current number of Mach ports and records it.
106 // Close each tab, recording the number of ports after each. Do not close the
/external/chromium_org/third_party/WebKit/Source/core/events/
H A DMessageEvent.cpp57 , m_ports(adoptPtrWillBeNoop(new MessagePortArray(initializer.ports)))
62 MessageEvent::MessageEvent(const String& origin, const String& lastEventId, PassRefPtrWillBeRawPtr<EventTarget> source, PassOwnPtrWillBeRawPtr<MessagePortArray> ports) argument
68 , m_ports(ports)
73 MessageEvent::MessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, PassRefPtrWillBeRawPtr<EventTarget> source, PassOwnPtrWillBeRawPtr<MessagePortArray> ports) argument
80 , m_ports(ports)
138 void MessageEvent::initMessageEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& origin, const String& lastEventId, LocalDOMWindow* source, PassOwnPtrWillBeRawPtr<MessagePortArray> ports) argument
149 m_ports = ports;
152 void MessageEvent::initMessageEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, LocalDOMWindow* source, PassOwnPtrWillBeRawPtr<MessagePortArray> ports) argument
164 m_ports = ports;
/external/chromium_org/tools/telemetry/telemetry/core/backends/
H A Dadb_commands.py25 from pylib import ports # pylint: disable=F0401 namespace
27 ports = None variable
44 return ports.AllocateTestServerPort()
48 return ports.ResetTestServerPortAllocation()
/external/dnsmasq/contrib/port-forward/
H A Ddnsmasq-portforward43 ports=$(sed -n -e "/^${hostname}\ .*/ s/^.* //p" ${PORTSFILE})
45 for port in $ports; do
/external/iptables/extensions/
H A Dlibxt_multiport.c26 " --source-ports port[,port,port...]\n"
29 " --destination-ports port[,port,port...]\n"
32 " --ports port[,port,port]\n"
41 "[!] --source-ports port[,port:port,port...]\n"
44 "[!] --destination-ports port[,port:port,port...]\n"
47 "[!] --ports port[,port:port,port]\n"
52 {.name = "source-ports", .id = O_SOURCE_PORTS, .type = XTTYPE_STRING,
56 {.name = "destination-ports", .id = O_DEST_PORTS,
60 {.name = "ports", .id = O_SD_PORTS, .type = XTTYPE_STRING,
85 parse_multi_ports(const char *portstring, uint16_t *ports, cons argument
[all...]
/external/chromium_org/third_party/skia/platform_tools/nacl/
H A Dnacl_make67 exportVar C_INCLUDE_PATH "${NACL_SDK_ROOT}/include:${NACL_SDK_ROOT}/ports/include:${C_INCLUDE_PATH}"
68 exportVar CPLUS_INCLUDE_PATH "${NACL_SDK_ROOT}/include:${NACL_SDK_ROOT}/ports/include:${CPLUS_INCLUDE_PATH}"
/external/libutf/
H A DMakefile85 cp Makefile Make.* README LICENSE NOTICE *.[ch137] rpm.spec bundle.ports $(TGZFILES) $(NAME)-$(VERSION)
103 PORTDIR=/usr/ports/$(PORTPLACE)
105 ports:
109 cp $(NAME)-$(VERSION).tgz /usr/ports/distfiles
110 cat bundle.ports | (cd $(PORTDIR) && awk '$$1=="---" && $$3=="---" { ofile=$$2; next} {if(ofile) print >ofile}')
115 shar `find $(PORTDIR)` > ports.shar
116 (cd $(PORTDIR); tar cf - *) | gzip >$(NAME)-$(VERSION)-ports.tgz
119 .phony: all clean nuke install tgz rpm ports

Completed in 685 milliseconds

1234567891011>>