/external/chromium_org/content/test/data/workers/ |
H A D | worker_common.js | 9 event.ports[0].onmessage = function(e) { 11 event.ports[0].postMessage(msg);
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
H A D | V8ClientCustom.cpp | 22 MessagePortArray ports; local 26 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) { 31 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, exceptionState, info.GetIsolate()); 35 client->postMessage(context, message.release(), &ports, exceptionState);
|
H A D | V8DedicatedWorkerGlobalScopeCustom.cpp | 48 MessagePortArray ports; local 52 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) { 57 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, exceptionState, info.GetIsolate()); 61 workerGlobalScope->postMessage(message.release(), &ports, exceptionState);
|
H A D | V8ServiceWorkerCustom.cpp | 22 MessagePortArray ports; local 26 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) { 31 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, exceptionState, info.GetIsolate()); 34 worker->postMessage(message.release(), &ports, exceptionState);
|
H A D | V8WorkerCustom.cpp | 48 MessagePortArray ports; local 52 if (!SerializedScriptValue::extractTransferables(info[transferablesArgIndex], transferablesArgIndex, ports, arrayBuffers, exceptionState, info.GetIsolate())) { 57 RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, exceptionState, info.GetIsolate()); 60 worker->postMessage(message.release(), &ports, exceptionState);
|
H A D | V8MessageEventCustom.cpp | 102 MessagePortArray ports = event->ports(); local 103 result = serializedValue->deserialize(info.GetIsolate(), &ports);
|
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/ |
H A D | SecurityOriginTest.cpp | 45 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/apache-http/src/org/apache/http/cookie/ |
H A D | SetCookie2.java | 51 * Sets the Port attribute. It restricts the ports to which a cookie 54 void setPorts(int[] ports); argument
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
H A D | RFC2965PortAttributeHandler.java | 55 * into an array of ports. 58 * @return parsed array of ports 65 int[] ports = new int[st.countTokens()]; 69 ports[i] = Integer.parseInt(st.nextToken().trim()); 70 if (ports[i] < 0) { 79 return ports; 84 * ports list. 87 * @param ports port list 89 * the given ports list; <tt>false</tt> otherwise. 91 private static boolean portMatch(int port, int[] ports) { argument [all...] |
H A D | BasicClientCookie2.java | 48 private int[] ports; field in class:BasicClientCookie2 63 return this.ports; 66 public void setPorts(final int[] ports) { argument 67 this.ports = ports; 96 clone.ports = this.ports.clone();
|
/external/chromium_org/net/data/websocket/ |
H A D | websocket_worker_simple.js | 8 event.ports[0].onmessage = function(e) { 10 event.ports[0].postMessage(msg);
|
/external/chromium_org/net/quic/ |
H A D | port_suggester_unittest.cc | 43 // 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/third_party/WebKit/Source/modules/serviceworkers/ |
H A D | Client.cpp | 31 void Client::postMessage(ExecutionContext* context, PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState) argument 34 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebDOMMessageEvent.cpp | 55 OwnPtr<MessagePortArray> ports; local 57 ports = MessagePort::toMessagePortArray(window->document(), webChannels); 58 unwrap<MessageEvent>()->initMessageEvent(type, canBubble, cancelable, messageData, origin, lastEventId, window, ports.release());
|
/external/iptables/include/linux/netfilter/ |
H A D | xt_multiport.h | 17 __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 D | xt_multiport.h | 17 __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/chrome/test/perf/ |
H A D | mach_ports_performancetest.cc | 21 // 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/content/child/ |
H A D | webmessageportchannel_impl.h | 81 std::vector<WebMessagePortChannelImpl*> ports; member in struct:content::WebMessagePortChannelImpl::Message
|
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/ |
H A D | MIDIAccess.h | 57 static PassRefPtrWillBeRawPtr<MIDIAccess> create(PassOwnPtr<MIDIAccessor> accessor, bool sysexEnabled, const Vector<MIDIAccessInitializer::PortDescriptor>& ports, ExecutionContext* executionContext) argument 59 RefPtrWillBeRawPtr<MIDIAccess> access = adoptRefWillBeRefCountedGarbageCollected(new MIDIAccess(accessor, sysexEnabled, ports, executionContext));
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
H A D | portallocatorsessionproxy.h | 57 const std::vector<PortInterface*>& ports() { return ports_; } function in class:cricket::PortAllocatorSessionMuxer
|
/external/chromium_org/build/android/pylib/base/ |
H A D | base_test_runner.py | 10 from pylib import ports namespace 19 # A file on device to store ports of net test server. The format of the file is 21 NET_TEST_SERVER_PORT_INFO_FILE = 'net-test-server-ports' 126 """Unmap previously forwarded ports.""" 152 if not ports.IsDevicePortUsed(self.device, self._forwarder_device_port): 181 self.test_server_spawner_port = ports.AllocateTestServerPort() 188 server_ready, error_msg = ports.IsHttpServerConnectable(
|
/external/chromium_org/net/test/spawned_test_server/ |
H A D | remote_test_server.cc | 36 return base::FilePath("/tmp/net-test-server-ports"); 40 return test_data_dir.Append("net-test-server-ports"); 167 // Gets ports information used by test server spawner and Python test server. 170 // Parse file to extract the ports information. 177 std::vector<std::string> ports; local 178 base::SplitString(port_info, ':', &ports); 179 if (ports.size() != 2u) 182 // Verify the ports information. 183 base::StringToInt(ports[0], &spawner_server_port_); 190 base::StringToInt(ports[ [all...] |
/external/chromium_org/third_party/WebKit/Source/core/events/ |
H A D | MessageEvent.cpp | 57 , m_ports(adoptPtr(new MessagePortArray(initializer.ports))) 63 MessageEvent::MessageEvent(const String& origin, const String& lastEventId, PassRefPtrWillBeRawPtr<EventTarget> source, PassOwnPtr<MessagePortArray> ports) argument 69 , m_ports(ports) 75 MessageEvent::MessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, PassRefPtrWillBeRawPtr<EventTarget> source, PassOwnPtr<MessagePortArray> ports) argument 82 , m_ports(ports) 145 void MessageEvent::initMessageEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& origin, const String& lastEventId, LocalDOMWindow* source, PassOwnPtr<MessagePortArray> ports) argument 156 m_ports = ports; 159 void MessageEvent::initMessageEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, LocalDOMWindow* source, PassOwnPtr<MessagePortArray> ports) argument 171 m_ports = ports;
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
H A D | Worker.cpp | 95 void Worker::postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState) argument 98 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/temp_storage_shared_worker/ |
H A D | TempStorageSharedWorker.js | 31 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...] |