Home
last modified time | relevance | path

Searched refs:_events (Results 1 – 25 of 43) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-event-emitter-check-listener-leaks.js35 assert.ok(!e._events.default.hasOwnProperty('warned'));
37 assert.ok(e._events.default.warned);
43 assert.ok(!e._events[symbol].hasOwnProperty('warned'));
45 assert.ok(e._events[symbol].hasOwnProperty('warned'));
52 assert.ok(!e._events.specific.hasOwnProperty('warned'));
54 assert.ok(e._events.specific.warned);
59 assert.ok(!e._events['only one'].hasOwnProperty('warned'));
61 assert.ok(e._events['only one'].hasOwnProperty('warned'));
68 assert.ok(!e._events.unlimited.hasOwnProperty('warned'));
79 assert.ok(!e._events.fortytwo.hasOwnProperty('warned'));
[all …]
Dtest-event-emitter-listeners-side-effects.js35 assert(!(e._events instanceof Object));
36 assert.deepStrictEqual(Object.keys(e._events), []);
40 assert.strictEqual(e._events.foo, assert.fail);
50 assert(Array.isArray(e._events.foo));
51 assert.strictEqual(e._events.foo.length, 2);
52 assert.strictEqual(e._events.foo[0], assert.fail);
53 assert.strictEqual(e._events.foo[1], assert.ok);
Dtest-stream-pipe-same-destination-twice.js22 assert.strictEqual(passThrough._events.data.length, 2);
29 assert.strictEqual(passThrough._events.data.length, 1);
49 assert.strictEqual(passThrough._events.data.length, 2);
66 assert.strictEqual(passThrough._events.data.length, 2);
74 assert.strictEqual(passThrough._events.data, undefined);
Dtest-event-emitter-set-max-listeners-side-effects.js29 assert(!(e._events instanceof Object));
30 assert.deepStrictEqual(Object.keys(e._events), []);
32 assert.deepStrictEqual(Object.keys(e._events), []);
Dtest-event-emitter-special-event-names.js12 assert.strictEqual(ee._events.hasOwnProperty, undefined);
13 assert.strictEqual(ee._events.toString, undefined);
Dtest-event-emitter-subclass.js52 assert(!(myee._events instanceof Object));
53 assert.deepStrictEqual(Object.keys(myee._events), []);
Dtest-event-emitter-remove-listeners.js150 ee._events = undefined;
163 assert.strictEqual(ee._events.foo, listener2);
169 assert.strictEqual(ee._events.foo, listener2);
Dtest-http-req-close-robust-from-tampering.js10 req.client._events.close.forEach((fn) => { fn.bind(req)(); });
/third_party/python/Lib/unittest/test/
Dsupport.py42 self._events = log
46 self._events.append('startTest')
50 self._events.append('startTestRun')
54 self._events.append('stopTest')
58 self._events.append('stopTestRun')
62 self._events.append('addFailure')
66 self._events.append('addSuccess')
70 self._events.append('addError')
74 self._events.append('addSkip')
78 self._events.append('addExpectedFailure')
[all …]
/third_party/freetype/docs/reference/assets/javascripts/lunr/
Dwordcut.js1_events=this._events||{},this._maxListeners=this._maxListeners||void 0}function a(n){return"functi…
/third_party/node/lib/internal/streams/
Dlegacy.js106 if (!emitter._events || !emitter._events[event])
108 else if (ArrayIsArray(emitter._events[event]))
109 emitter._events[event].unshift(fn);
111 emitter._events[event] = [fn, emitter._events[event]];
/third_party/grpc/src/python/grpcio_tests/tests/unit/_cython/
D_read_some_but_not_all_responses_test.py32 self._events = []
41 self._events.append(event)
56 while not self._events:
58 return self._events[0]
64 return tuple(self._events)
73 self._events = []
82 self._events.append(event)
99 for event in self._events:
108 return tuple(self._events)
D_common.py47 self._events = collections.defaultdict(list)
56 self._events[event.tag].append(event)
72 if self._events[tag]:
73 return self._events[tag].pop(0)
D_cancel_many_calls_test.py114 self._events = []
123 self._events.append(event)
135 while len(self._events) < at_least:
137 return tuple(self._events)
/third_party/node/lib/
Devents.js124 EventEmitter.prototype._events = undefined; method in EventEmitter
204 if (this._events === undefined ||
205 this._events === ObjectGetPrototypeOf(this)._events) {
206 this._events = ObjectCreate(null);
352 const events = this._events;
435 events = target._events;
437 events = target._events = ObjectCreate(null);
448 events = target._events;
570 const events = this._events;
580 this._events = ObjectCreate(null);
[all …]
/third_party/jsframework/runtime/main/app/
DApp.ts25 private _events: object; property in App
32 this._events = {};
94 const events: object = this._events;
106 const events: object = this._events;
/third_party/node/deps/npm/node_modules/sorted-union-stream/node_modules/readable-stream/lib/
D_stream_readable.js592 if (!dest._events || !dest._events.error)
594 else if (isArray(dest._events.error))
595 dest._events.error.unshift(onerror);
597 dest._events.error = [onerror, dest._events.error];
/third_party/node/deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/
D_stream_readable.js98_events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])…
/third_party/node/deps/npm/node_modules/stream-iterate/node_modules/readable-stream/lib/
D_stream_readable.js98_events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])…
/third_party/node/deps/npm/node_modules/parallel-transform/node_modules/readable-stream/lib/
D_stream_readable.js98_events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])…
/third_party/node/deps/npm/node_modules/from2/node_modules/readable-stream/lib/
D_stream_readable.js98_events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])…
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/lib/
D_stream_readable.js98_events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])…
/third_party/node/deps/npm/node_modules/duplexify/node_modules/readable-stream/lib/
D_stream_readable.js98_events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])…
/third_party/node/deps/npm/node_modules/concat-stream/node_modules/readable-stream/lib/
D_stream_readable.js98_events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])…
/third_party/node/deps/npm/node_modules/flush-write-stream/node_modules/readable-stream/lib/
D_stream_readable.js98_events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])…

12