Home
last modified time | relevance | path

Searched refs:ee (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/third_party/node/test/parallel/
Dtest-event-emitter-remove-listeners.js32 const ee = new EventEmitter(); constant
33 ee.on('hello', listener1);
34 ee.on('removeListener', common.mustCall((name, cb) => {
38 ee.removeListener('hello', listener1);
39 assert.deepStrictEqual([], ee.listeners('hello'));
43 const ee = new EventEmitter(); constant
44 ee.on('hello', listener1);
45 ee.on('removeListener', common.mustNotCall());
46 ee.removeListener('hello', listener2);
47 assert.deepStrictEqual([listener1], ee.listeners('hello'));
[all …]
Dtest-event-emitter-remove-all-listeners.js40 const ee = new events.EventEmitter(); constant
42 ee.on('foo', noop);
43 ee.on('bar', noop);
44 ee.on('baz', noop);
45 ee.on('baz', noop);
46 const fooListeners = ee.listeners('foo');
47 const barListeners = ee.listeners('bar');
48 const bazListeners = ee.listeners('baz');
49 ee.on('removeListener', expect(['bar', 'baz', 'baz']));
50 ee.removeAllListeners('bar');
[all …]
Dtest-event-emitter-listeners.js41 const ee = new events.EventEmitter(); constant
42 ee.on('foo', listener);
43 const fooListeners = ee.listeners('foo');
44 assert.deepStrictEqual(ee.listeners('foo'), [listener]);
45 ee.removeAllListeners('foo');
46 assert.deepStrictEqual(ee.listeners('foo'), []);
51 const ee = new events.EventEmitter(); constant
52 ee.on('foo', listener);
53 const eeListenersCopy = ee.listeners('foo');
55 assert.deepStrictEqual(ee.listeners('foo'), [listener]);
[all …]
Dtest-events-once.js15 const ee = new EventEmitter();
18 ee.emit('myevent', 42);
21 const [value] = await once(ee, 'myevent');
23 strictEqual(ee.listenerCount('error'), 0);
24 strictEqual(ee.listenerCount('myevent'), 0);
28 const ee = new EventEmitter();
31 ee.emit('myevent', 42);
34 const [value] = await once(ee, 'myevent', null);
40 const ee = new EventEmitter();
43 ee.emit('myevent', 42, 24);
[all …]
Dtest-event-capture-rejections.js30 const ee = new EventEmitter({ captureRejections: true });
32 ee.on('something', common.mustCall(async (value) => {
36 ee.on('error', common.mustCall((err) => {
41 ee.emit('something');
45 const ee = new EventEmitter({ captureRejections: true });
48 ee.on('something', common.mustCall(async (value) => {
53 ee.on('something', common.mustCall(async (value) => {
59 ee.on('error', common.mustCall((err) => {
66 ee.emit('something');
70 const ee = new EventEmitter();
[all …]
Dtest-events-on-async-iterator.js12 const ee = new EventEmitter();
14 ee.emit('foo', 'bar');
17 ee.emit('bar', 24);
18 ee.emit('foo', 42);
21 const iterable = on(ee, 'foo');
34 assert.strictEqual(ee.listenerCount('foo'), 0);
35 assert.strictEqual(ee.listenerCount('error'), 0);
46 const ee = new EventEmitter();
49 ee.emit('error', _err);
52 const iterable = on(ee, 'foo');
[all …]
Dtest-event-emitter-add-listeners.js28 const ee = new EventEmitter(); constant
33 assert.strictEqual(ee.addListener, ee.on);
35 ee.on('newListener', function(event, listener) {
49 ee.once('newListener', function(name, listener) {
55 ee.on('hello', hello);
56 ee.once('foo', assert.fail);
60 ee.emit('hello', 'a', 'b');
73 const ee = new EventEmitter(); constant
75 ee.once('newListener', function() {
76 assert.deepStrictEqual(ee.listeners('hello'), []);
[all …]
Dtest-event-emitter-special-event-names.js7 const ee = new EventEmitter(); constant
10 assert.deepStrictEqual(ee.eventNames(), []);
12 assert.strictEqual(ee._events.hasOwnProperty, undefined);
13 assert.strictEqual(ee._events.toString, undefined);
15 ee.on('__proto__', handler);
16 ee.on('__defineGetter__', handler);
17 ee.on('toString', handler);
19 assert.deepStrictEqual(ee.eventNames(), [
25 assert.deepStrictEqual(ee.listeners('__proto__'), [handler]);
26 assert.deepStrictEqual(ee.listeners('__defineGetter__'), [handler]);
[all …]
Dtest-event-emitter-symbols.js7 const ee = new EventEmitter(); constant
11 ee.on(foo, listener);
12 assert.deepStrictEqual(ee.listeners(foo), [listener]);
14 ee.emit(foo);
16 ee.removeAllListeners();
17 assert.deepStrictEqual(ee.listeners(foo), []);
19 ee.on(foo, listener);
20 assert.deepStrictEqual(ee.listeners(foo), [listener]);
22 ee.removeListener(foo, listener);
23 assert.deepStrictEqual(ee.listeners(foo), []);
Dtest-domain-emit-error-handler-stack.js74 const ee = new EventEmitter(); constant
81 ee.emit('error', err);
89 const ee = new EventEmitter(); constant
97 ee.emit('error', err);
106 const ee = new EventEmitter(); constant
114 ee.emit('error', err);
124 const ee = new EventEmitter(); constant
132 ee.emit('error', err);
144 const ee = new EventEmitter(); constant
152 ee.emit('error', err);
/third_party/node/deps/npm/node_modules/events/tests/
Dremove-listeners.js30 var ee = new EventEmitter(); variable
31 ee.on('hello', listener1);
32 ee.on('removeListener', common.mustCall(function(name, cb) {
36 ee.removeListener('hello', listener1);
37 var listeners = ee.listeners('hello');
43 var ee = new EventEmitter(); variable
44 ee.on('hello', listener1);
45 ee.on('removeListener', common.mustNotCall());
46 ee.removeListener('hello', listener2);
48 var listeners = ee.listeners('hello');
[all …]
Dremove-all-listeners.js45 var ee = new events.EventEmitter(); variable
47 ee.on('foo', noop);
48 ee.on('bar', noop);
49 ee.on('baz', noop);
50 ee.on('baz', noop);
51 var fooListeners = ee.listeners('foo');
52 var barListeners = ee.listeners('bar');
53 var bazListeners = ee.listeners('baz');
54 ee.on('removeListener', expect(['bar', 'baz', 'baz']));
55 ee.removeAllListeners('bar');
[all …]
Dlisteners.js40 var ee = new events.EventEmitter(); variable
41 ee.on('foo', listener);
42 var fooListeners = ee.listeners('foo');
44 var listeners = ee.listeners('foo');
49 ee.removeAllListeners('foo');
50 listeners = ee.listeners('foo');
60 var ee = new events.EventEmitter(); variable
61 ee.on('foo', listener);
63 var eeListenersCopy = ee.listeners('foo');
68 var listeners = ee.listeners('foo');
[all …]
Dspecial-event-names.js7 var ee = new EventEmitter(); variable
10 assert.strictEqual(ee.eventNames().length, 0);
12 assert.strictEqual(ee._events.hasOwnProperty, undefined);
13 assert.strictEqual(ee._events.toString, undefined);
15 ee.on('__defineGetter__', handler);
16 ee.on('toString', handler);
17 ee.on('__proto__', handler);
19 assert.strictEqual(ee.eventNames()[0], '__defineGetter__');
20 assert.strictEqual(ee.eventNames()[1], 'toString');
22 assert.strictEqual(ee.listeners('__defineGetter__').length, 1);
[all …]
Devents-once.js63 var ee = new EventEmitter();
66 ee.emit('myevent', 42);
69 return once(ee, 'myevent').then(function (args) {
72 assert.strictEqual(ee.listenerCount('error'), 0);
73 assert.strictEqual(ee.listenerCount('myevent'), 0);
78 var ee = new EventEmitter();
81 ee.emit('myevent', 42, 24);
84 return once(ee, 'myevent').then(function (value) {
92 var ee = new EventEmitter();
97 ee.emit('error', expected);
[all …]
Dadd-listeners.js27 var ee = new EventEmitter(); variable
32 assert.strictEqual(ee.addListener, ee.on);
34 ee.on('newListener', function(event, listener) {
48 ee.once('newListener', function(name, listener) {
57 ee.on('hello', hello);
58 ee.once('foo', assert.fail);
70 ee.emit('hello', 'a', 'b');
83 var ee = new EventEmitter(); variable
85 ee.once('newListener', function() {
86 var listeners = ee.listeners('hello');
[all …]
Dsymbols.js7 var ee = new EventEmitter(); variable
11 ee.on(foo, listener);
12 assert.strictEqual(ee.listeners(foo).length, 1);
13 assert.strictEqual(ee.listeners(foo)[0], listener);
15 ee.emit(foo);
17 ee.removeAllListeners();
18 assert.strictEqual(ee.listeners(foo).length, 0);
20 ee.on(foo, listener);
21 assert.strictEqual(ee.listeners(foo).length, 1);
22 assert.strictEqual(ee.listeners(foo)[0], listener);
[all …]
/third_party/skia/third_party/externals/icu/source/data/zone/
Dso.txt832 ls{"Waqtiga Isku-xiran ee Caalamka"}
879 ld{"Waqtiga Caadiga Ah ee Ayrishka"}
907 ld{"Waqtiga Xagaaga ee Biritishka"}
1120 ld{"Wakhtiga Kulka ee Acre"}
1122 ls{"Wakhtiga Caadiga ah ee Acre"}
1134 ls{"Waqtiyada Caadiga Ah ee Koonfur Afrika"}
1137 ld{"Waqtiga Xagaaga ee Galbeedka Afrika"}
1139 ls{"Waqtiga Caadiga Ah ee Galbeedka Afrika"}
1142 ld{"Waqtiga Dharaarta ee Alaska"}
1144 ls{"Waqtiga Caadiga Ah ee Alaska"}
[all …]
/third_party/icu/icu4c/source/data/zone/
Dso.txt916 ls{"Waqtiga Isku-xiran ee Caalamka"}
963 ld{"Waqtiga Caadiga Ah ee Ayrishka"}
994 ld{"Waqtiga Xagaaga ee Biritishka"}
1234 ld{"Wakhtiga Kulka ee Acre"}
1236 ls{"Wakhtiga Caadiga ah ee Acre"}
1248 ls{"Waqtiyada Caadiga Ah ee Koonfur Afrika"}
1251 ld{"Waqtiga Xagaaga ee Galbeedka Afrika"}
1253 ls{"Waqtiga Caadiga Ah ee Galbeedka Afrika"}
1256 ld{"Waqtiga Dharaarta ee Alaska"}
1258 ls{"Waqtiga Caadiga Ah ee Alaska"}
[all …]
/third_party/openssl/test/certs/
Dsetup.sh158 ./mkcert.sh genee server.example ee-key ee-cert ca-key ca-cert
160 ./mkcert.sh genee server.example ee-key ee-expired ca-key ca-cert -days -1
161 ./mkcert.sh genee server.example ee-key ee-cert2 ca-key2 ca-cert2
162 ./mkcert.sh genee server.example ee-key ee-name2 ca-key ca-name2
163 ./mkcert.sh genee server.example ee-key ee-pathlen ca-key ca-cert \
166 ./mkcert.sh genee -p clientAuth server.example ee-key ee-client ca-key ca-cert
168 openssl x509 -in ee-cert.pem -trustout \
169 -addtrust serverAuth -out ee+serverAuth.pem
170 openssl x509 -in ee-cert.pem -trustout \
171 -addreject serverAuth -out ee-serverAuth.pem
[all …]
/third_party/node/benchmark/events/
Dee-once.js11 const ee = new EventEmitter();
20 ee.once(dummy, listener);
21 ee.emit(dummy);
29 ee.once(dummy, listener);
30 ee.emit(dummy, n);
38 ee.once(dummy, listener);
39 ee.emit(dummy, 'foo', argc, 'bar', false);
47 ee.once(dummy, listener);
48 ee.emit(dummy, true, 7.5, 'foo', null, n);
Dee-emit.js12 const ee = new EventEmitter();
13 ee.setMaxListeners(listeners + 1);
16 ee.on('dummy', () => {});
22 ee.emit('dummy', true, 5);
29 ee.emit('dummy', true, 5, 10, false);
36 ee.emit('dummy', true, 5, 10, false, 5, 'string', true, false, 11, 20);
43 ee.emit('dummy');
Dee-listeners.js12 const ee = new EventEmitter();
13 ee.setMaxListeners(listeners * 2 + 1);
16 ee.on('dummy0', () => {});
17 ee.once('dummy1', () => {});
24 ee.rawListeners(dummy);
31 ee.listeners(dummy);
/third_party/skia/third_party/externals/icu/source/data/lang/
Dso.txt58 ee{"Eewe"}
284 Cans{"Qoraalka Luuqada Aborajiinka ee Kanada"}
297 Egyp{"Fartii hore ee Masaarida"}
333 Kits{"Qoraalka yar ee Khitan"}
364 Narb{"Carabiyadii Hore ee Wuqooye"}
379 Phli{"Qoraaladii hore ee Pahlavi"}
380 Phlp{"Qoraalka midig laga bilaabo ee faarsiyiintii"}
389 Sarb{"Crabiyaankii Hore ee Wuqooyi"}
423 Xsux{"Qoraalkii Hore ee dadka Sumaariyiinta ee dhulka mesobataamiya"}
426 Zanb{"Xarafka laba jibaaran ee kujira Xarfaha Zanabazar"}
[all …]
/third_party/icu/icu4c/source/data/lang/
Dso.txt95 de_CH{"Iswiiska Sare ee Jarmal"}
106 ee{"Eewe"}
479 Cans{"Qoraalka Luuqada Aborajiinka ee Kanada"}
492 Egyp{"Fartii hore ee Masaarida"}
528 Kits{"Qoraalka yar ee Khitan"}
559 Narb{"Carabiyadii Hore ee Wuqooye"}
574 Phli{"Qoraaladii hore ee Pahlavi"}
575 Phlp{"Qoraalka midig laga bilaabo ee faarsiyiintii"}
584 Sarb{"Crabiyaankii Hore ee Wuqooyi"}
618 Xsux{"Qoraalkii Hore ee dadka Sumaariyiinta ee dhulka mesobataamiya"}
[all …]

12345678910>>...25