Home
last modified time | relevance | path

Searched refs:MessagePort (Results 1 - 10 of 10) sorted by relevance

/third_party/node/test/fixtures/wpt/streams/transferable/
H A Dtransfer-with-messageport.window.js17 const messagePortCount = transfer.filter(i => i instanceof MessagePort)
27 port instanceof MessagePort,
28 `ports[${i}] include MessagePort ${title}`
44 `when transferring [${stream.constructor.name}, MessagePort]`
53 `when transferring [MessagePort, ${stream.constructor.name}]`
62 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort]`
71 `when transferring [MessagePort, ${stream.constructor.name}, MessagePort] but with empty data`
80 `when transferring [MessagePort,
[all...]
/third_party/node/src/
H A Dnode_messaging.cc87 // `MessagePort`s and `SharedArrayBuffer`s, and make new JS objects out of them.
155 // Create all necessary objects for transferables, e.g. MessagePort handles. in Deserialize()
494 // Check if the source MessagePort is being transferred. in Serialize()
506 static_cast<MessagePort*>(host_object.get())->IsDetached())) { in Serialize()
511 "MessagePort in transfer list is already detached")); in Serialize()
569 MessagePortData::MessagePortData(MessagePort* owner) in MessagePortData()
605 MessagePort::~MessagePort() { in ~MessagePort()
609 MessagePort::MessagePort(Environmen function in node::worker::MessagePort
[all...]
H A Dnode_messaging.h18 class MessagePort;
60 // This is the last message to be received by a MessagePort.
94 // Used for warning user about posting the target MessagePort to itself,
118 friend class MessagePort;
126 // Anonymous SiblingGroup, Used for one-to-one MessagePort pairs.
166 // This contains all data for a `MessagePort` instance that is not tied to
170 explicit MessagePortData(MessagePort* owner);
212 MessagePort* owner_ = nullptr;
214 friend class MessagePort;
221 class MessagePort class
[all...]
H A Dnode_worker.cc68 MessagePort* parent_port = MessagePort::New(env, env->context()); in Worker()
75 MessagePort::Entangle(parent_port, child_port_data_.get()); in Worker()
388 MessagePort* child_port = MessagePort::New(env, in CreateEnvMessagePort()
391 // MessagePort::New() may return nullptr if execution is terminated in CreateEnvMessagePort()
858 // Return the MessagePort that is global for this Environment and communicates
/third_party/node/lib/internal/worker/
H A Dio.js34 MessagePort,
96 // We have to mess with the MessagePort prototype a bit, so that a) we can make
100 const messagePortPrototypePropertyDescriptors = ObjectGetOwnPropertyDescriptors(MessagePort.prototype);
109 ObjectGetPrototypeOf(MessagePort.prototype),
112 ObjectSetPrototypeOf(MessagePort, NodeEventTarget);
113 ObjectSetPrototypeOf(MessagePort.prototype, NodeEventTarget.prototype); class
115 // changing the prototype of MessagePort.prototype implicitly removed them.
116 MessagePort.prototype.ref = MessagePortPrototype.ref;
117 MessagePort.prototype.unref = MessagePortPrototype.unref;
118 MessagePort
[all...]
/third_party/node/test/parallel/
H A Dtest-worker-message-port.js5 const { MessageChannel, MessagePort } = require('worker_threads');
9 assert(port1 instanceof MessagePort);
10 assert(port2 instanceof MessagePort);
172 assert.strictEqual(ev.ports[0].constructor, MessagePort);
180 Object.getOwnPropertyNames(MessagePort.prototype).sort(),
/third_party/node/lib/
H A Dworker_threads.js14 MessagePort,
27 MessagePort,
/third_party/node/test/sequential/
H A Dtest-worker-eventlooputil.js9 MessagePort,
21 assert.ok(msg.metricsCh instanceof MessagePort);
/third_party/node/deps/undici/
H A Dundici.js11411 var { MessagePort } = require("worker_threads");
11551 webidl.converters.MessagePort = webidl.interfaceConverter(MessagePort);
11552 webidl.converters["sequence<MessagePort>"] = webidl.sequenceConverter(
11553 webidl.converters.MessagePort
11592 // valid value for source is a MessagePort.
11593 converter: webidl.nullableConverter(webidl.converters.MessagePort),
11598 converter: webidl.converters["sequence<MessagePort>"],
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 41 milliseconds