Home
last modified time | relevance | path

Searched refs:removeListener (Results 1 – 25 of 164) sorted by relevance

1234567

/third_party/node/test/parallel/
Dtest-event-emitter-remove-listeners.js38 ee.removeListener('hello', listener1);
46 ee.removeListener('hello', listener2);
59 ee.removeListener('hello', listener1);
66 ee.removeListener('hello', listener2);
83 this.removeListener('quux', remove2);
88 ee.removeListener('quux', remove1);
104 ee.removeListener('hello', listener2);
107 ee.removeListener('hello', listener1);
114 ee.removeListener('hello', listener4);
144 assert.deepStrictEqual(ee, ee.removeListener('foo', () => {}));
[all …]
Dtest-child-process-fork-net-server.js40 process.removeListener('message', onServer);
65 process.removeListener('message', onClose);
143 child.removeListener('message', messageHandlers);
153 child.removeListener('message', onReady);
Dtest-event-emitter-modify-in-emit.js35 e.removeListener('foo', callback1);
40 e.removeListener('foo', callback2);
45 e.removeListener('foo', callback3);
/third_party/node/deps/npm/node_modules/readable-stream/lib/internal/streams/
Dlegacy.js55 source.removeListener('data', ondata)
56 dest.removeListener('drain', ondrain)
57 source.removeListener('end', onend)
58 source.removeListener('close', onclose)
59 source.removeListener('error', onerror)
60 dest.removeListener('error', onerror)
61 source.removeListener('end', cleanup)
62 source.removeListener('close', cleanup)
63 dest.removeListener('close', cleanup)
Dend-of-stream.js188 stream.removeListener('aborted', onclose)
189 stream.removeListener('complete', onfinish)
190 stream.removeListener('abort', onclose)
191 stream.removeListener('request', onrequest)
192 if (stream.req) stream.req.removeListener('finish', onfinish)
193 stream.removeListener('end', onlegacyfinish)
194 stream.removeListener('close', onlegacyfinish)
195 stream.removeListener('finish', onfinish)
196 stream.removeListener('end', onend)
197 stream.removeListener('error', onerror)
[all …]
Dreadable.js615 dest.removeListener('close', onclose)
616 dest.removeListener('finish', onfinish)
618 dest.removeListener('drain', ondrain)
620 dest.removeListener('error', onerror)
621 dest.removeListener('unpipe', onunpipe)
622 src.removeListener('end', onend)
623 src.removeListener('end', unpipe)
624 src.removeListener('data', ondata)
674 dest.removeListener('error', onerror)
691 dest.removeListener('finish', onfinish)
[all …]
/third_party/node/lib/internal/streams/
Dlegacy.js71 source.removeListener('data', ondata);
72 dest.removeListener('drain', ondrain);
74 source.removeListener('end', onend);
75 source.removeListener('close', onclose);
77 source.removeListener('error', onerror);
78 dest.removeListener('error', onerror);
80 source.removeListener('end', cleanup);
81 source.removeListener('close', cleanup);
83 dest.removeListener('close', cleanup);
Dend-of-stream.js232 stream.removeListener('aborted', onclose);
233 stream.removeListener('complete', onfinish);
234 stream.removeListener('abort', onclose);
235 stream.removeListener('request', onrequest);
236 if (stream.req) stream.req.removeListener('finish', onfinish);
237 stream.removeListener('end', onlegacyfinish);
238 stream.removeListener('close', onlegacyfinish);
239 stream.removeListener('finish', onfinish);
240 stream.removeListener('end', onend);
241 stream.removeListener('error', onerror);
[all …]
Dreadable.js725 dest.removeListener('close', onclose);
726 dest.removeListener('finish', onfinish);
728 dest.removeListener('drain', ondrain);
730 dest.removeListener('error', onerror);
731 dest.removeListener('unpipe', onunpipe);
732 src.removeListener('end', onend);
733 src.removeListener('end', unpipe);
734 src.removeListener('data', ondata);
789 dest.removeListener('error', onerror);
806 dest.removeListener('finish', onfinish);
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/node_modules/readable-stream/lib/internal/streams/
Dend-of-stream.js74 stream.removeListener('complete', onfinish);
75 stream.removeListener('abort', onclose);
76 stream.removeListener('request', onrequest);
77 if (stream.req) stream.req.removeListener('finish', onfinish);
78 stream.removeListener('end', onlegacyfinish);
79 stream.removeListener('close', onlegacyfinish);
80 stream.removeListener('finish', onfinish);
81 stream.removeListener('end', onend);
82 stream.removeListener('error', onerror);
83 stream.removeListener('close', onclose);
/third_party/node/deps/npm/node_modules/events/tests/
Dremove-listeners.js36 ee.removeListener('hello', listener1);
46 ee.removeListener('hello', listener2);
68 ee.removeListener('hello', listener1);
80 ee.removeListener('hello', listener2);
99 this.removeListener('quux', remove2);
104 ee.removeListener('quux', remove1);
127 ee.removeListener('hello', listener2);
132 ee.removeListener('hello', listener1);
141 ee.removeListener('hello', listener4);
171 assert.strictEqual(ee, ee.removeListener('foo', function() {}));
[all …]
/third_party/node/lib/
D_http_client.js511 socket.removeListener('data', socketOnData);
512 socket.removeListener('end', socketOnEnd);
546 socket.removeListener('data', socketOnData);
547 socket.removeListener('end', socketOnEnd);
557 socket.removeListener('data', socketOnData);
558 socket.removeListener('end', socketOnEnd);
559 socket.removeListener('drain', ondrain);
561 if (req.timeoutCb) socket.removeListener('timeout', req.timeoutCb);
562 socket.removeListener('timeout', responseOnTimeout);
575 socket.removeListener('close', socketCloseListener);
[all …]
Devents.js628 this.target.removeListener(this.type, this.wrapFn);
678 EventEmitter.prototype.removeListener = method in EventEmitter
679 function removeListener(type, listener) {
695 if (events.removeListener)
722 if (events.removeListener !== undefined)
729 EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
745 if (events.removeListener === undefined) {
773 this.removeListener(type, listeners);
777 this.removeListener(type, listeners[i]);
972 emitter.removeListener(name, resolver);
[all …]
/third_party/node/deps/npm/node_modules/events/
Devents.js239 this.target.removeListener(this.type, this.wrapFn);
269 EventEmitter.prototype.removeListener = method in EventEmitter
270 function removeListener(type, listener) {
288 if (events.removeListener)
314 if (events.removeListener !== undefined)
321 EventEmitter.prototype.off = EventEmitter.prototype.removeListener;
332 if (events.removeListener === undefined) {
363 this.removeListener(type, listeners);
367 this.removeListener(type, listeners[i]);
452 emitter.removeListener(name, resolver);
[all …]
/third_party/node/benchmark/events/
Dee-add-remove.js7 removeListener: [0, 1], property
11 function main({ newListener, removeListener, n }) { property
21 if (removeListener === 1)
31 ee.removeListener(dummy, listeners[k]);
/third_party/node/deps/npm/node_modules/minipass/
Dindex.js78 this.dest.removeListener('drain', this.ondrain)
90 this.src.removeListener('error', this.proxyErrors)
594 this.removeListener('data', ondata)
595 this.removeListener('end', onend)
596 this.removeListener(DESTROYED, ondestroy)
601 this.removeListener('error', onerr)
602 this.removeListener('end', onend)
603 this.removeListener(DESTROYED, ondestroy)
608 this.removeListener('error', onerr)
609 this.removeListener('data', ondata)
[all …]
/third_party/node/deps/npm/node_modules/https-proxy-agent/dist/
Dparse-proxy-response.js24 socket.removeListener('end', onend);
25 socket.removeListener('error', onerror);
26 socket.removeListener('close', onclose);
27 socket.removeListener('readable', read);
/third_party/node/deps/npm/node_modules/node-gyp/node_modules/readable-stream/lib/
D_stream_readable.js609 dest.removeListener('close', onclose);
610 dest.removeListener('finish', onfinish);
611 dest.removeListener('drain', ondrain);
612 dest.removeListener('error', onerror);
613 dest.removeListener('unpipe', onunpipe);
614 src.removeListener('end', onend);
615 src.removeListener('end', unpipe);
616 src.removeListener('data', ondata);
649 dest.removeListener('error', onerror);
658 dest.removeListener('finish', onfinish);
[all …]
/third_party/node/deps/npm/node_modules/agentkeepalive/lib/
Dagent.js368 socket.removeListener('error', onError);
381 socket.removeListener('close', onClose);
382 socket.removeListener('error', onError);
383 socket.removeListener('free', onFree);
384 socket.removeListener('timeout', onTimeout);
385 socket.removeListener('agentRemove', onRemove);
/third_party/node/lib/internal/
Dsocket_list.js23 self.child.removeListener('internalMessage', onreply);
29 self.child.removeListener('disconnect', onclose);
30 self.child.removeListener('internalMessage', onreply);
/third_party/node/deps/npm/node_modules/signal-exit/dist/mjs/
Dindex.js9 typeof process.removeListener === 'function' &&
45 removeListener(ev, fn) { method in Emitter
152 this.#emitter.removeListener(ev, cb);
197 this.#process.removeListener(sig, listener);
/third_party/node/deps/npm/node_modules/minipass-json-stream/node_modules/minipass/
Dindex.js68 this.dest.removeListener('drain', this.ondrain)
81 this.src.removeListener('error', this.proxyErrors)
577 this.removeListener('data', ondata)
578 this.removeListener('end', onend)
582 this.removeListener('error', onerr)
583 this.removeListener('end', onend)
588 this.removeListener('error', onerr)
589 this.removeListener('data', ondata)
/third_party/node/deps/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/
Dindex.js68 this.dest.removeListener('drain', this.ondrain)
81 this.src.removeListener('error', this.proxyErrors)
577 this.removeListener('data', ondata)
578 this.removeListener('end', onend)
582 this.removeListener('error', onerr)
583 this.removeListener('end', onend)
588 this.removeListener('error', onerr)
589 this.removeListener('data', ondata)
/third_party/node/deps/npm/node_modules/minizlib/node_modules/minipass/
Dindex.js68 this.dest.removeListener('drain', this.ondrain)
81 this.src.removeListener('error', this.proxyErrors)
577 this.removeListener('data', ondata)
578 this.removeListener('end', onend)
582 this.removeListener('error', onerr)
583 this.removeListener('end', onend)
588 this.removeListener('error', onerr)
589 this.removeListener('data', ondata)
/third_party/node/deps/npm/node_modules/minipass-sized/node_modules/minipass/
Dindex.js68 this.dest.removeListener('drain', this.ondrain)
81 this.src.removeListener('error', this.proxyErrors)
577 this.removeListener('data', ondata)
578 this.removeListener('end', onend)
582 this.removeListener('error', onerr)
583 this.removeListener('end', onend)
588 this.removeListener('error', onerr)
589 this.removeListener('data', ondata)

1234567