Searched refs:eventTarget (Results 1 – 7 of 7) sorted by relevance
/third_party/node/test/parallel/ |
D | test-nodeeventtarget.js | 20 const eventTarget = new NodeEventTarget(); constant 21 strictEqual(eventTarget.listenerCount('foo'), 0); 22 deepStrictEqual(eventTarget.eventNames(), []); 26 strictEqual(this, eventTarget); 36 eventTarget.addEventListener('foo', ev1); 37 eventTarget.addEventListener('foo', ev2, { once: true }); 38 strictEqual(eventTarget.listenerCount('foo'), 2); 39 ok(eventTarget.dispatchEvent(new Event('foo'))); 40 strictEqual(eventTarget.listenerCount('foo'), 1); 41 eventTarget.dispatchEvent(new Event('foo')); [all …]
|
D | test-eventtarget.js | 133 const eventTarget = new EventTarget(); constant 137 strictEqual(this, eventTarget); 148 eventTarget.addEventListener('foo', ev1); 149 eventTarget.addEventListener('foo', ev2, { once: true }); 150 ok(eventTarget.dispatchEvent(new Event('foo'))); 151 eventTarget.dispatchEvent(new Event('foo')); 153 eventTarget.removeEventListener('foo', ev1); 154 eventTarget.dispatchEvent(new Event('foo')); 160 const eventTarget = new EventTarget(); constant 162 eventTarget.addEventListener('foo', fn, { once: true }); [all …]
|
D | test-events-on-async-iterator.js | 220 async function eventTarget() { function 380 eventTarget,
|
/third_party/flutter/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/ |
D | NVCtrl.c | 1123 xnvctrlEventTarget *eventTarget; in wire_to_event() local 1148 eventTarget = (xnvctrlEventTarget *) wire; in wire_to_event() 1149 reTarget->attribute_changed.type = eventTarget->u.u.type & 0x7F; in wire_to_event() 1151 _XSetLastRequestRead(dpy, (xGenericReply*) eventTarget); in wire_to_event() 1153 ((eventTarget->u.u.type & 0x80) != 0); in wire_to_event() 1156 eventTarget->u.attribute_changed.time; in wire_to_event() 1158 eventTarget->u.attribute_changed.target_type; in wire_to_event() 1160 eventTarget->u.attribute_changed.target_id; in wire_to_event() 1162 eventTarget->u.attribute_changed.display_mask; in wire_to_event() 1164 eventTarget->u.attribute_changed.attribute; in wire_to_event() [all …]
|
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/ |
D | NVCtrl.c | 1123 xnvctrlEventTarget *eventTarget; in wire_to_event() local 1148 eventTarget = (xnvctrlEventTarget *) wire; in wire_to_event() 1149 reTarget->attribute_changed.type = eventTarget->u.u.type & 0x7F; in wire_to_event() 1151 _XSetLastRequestRead(dpy, (xGenericReply*) eventTarget); in wire_to_event() 1153 ((eventTarget->u.u.type & 0x80) != 0); in wire_to_event() 1156 eventTarget->u.attribute_changed.time; in wire_to_event() 1158 eventTarget->u.attribute_changed.target_type; in wire_to_event() 1160 eventTarget->u.attribute_changed.target_id; in wire_to_event() 1162 eventTarget->u.attribute_changed.display_mask; in wire_to_event() 1164 eventTarget->u.attribute_changed.attribute; in wire_to_event() [all …]
|
/third_party/node/doc/api/ |
D | events.md | 1201 passed to the `eventTarget.dispatchEvent()` function. 1424 #### `eventTarget.addEventListener(type, listener[, options])` 1466 #### `eventTarget.dispatchEvent(event)` 1480 #### `eventTarget.removeEventListener(type, listener)` 1551 Node.js-specific alias for `eventTarget.removeListener()`. 1565 Node.js-specific alias for `eventTarget.addListener()`.
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V14.md | 2297 * [[`8ef4557c65`](https://github.com/nodejs/node/commit/8ef4557c65)] - **events**: make eventTarget…
|