/third_party/icu/icu4c/source/common/ |
D | servnotf.cpp | 27 : listeners(NULL) in ICUNotifier() 34 delete listeners; in ~ICUNotifier() 35 listeners = NULL; in ~ICUNotifier() 51 if (listeners == NULL) { in addListener() 52 listeners = new UVector(5, status); in addListener() 54 for (int i = 0, e = listeners->size(); i < e; ++i) { in addListener() 55 const EventListener* el = (const EventListener*)(listeners->elementAt(i)); in addListener() 62 listeners->addElement((void*)l, status); // cast away const in addListener() 84 if (listeners != NULL) { in removeListener() 86 for (int i = 0, e = listeners->size(); i < e; ++i) { in removeListener() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | servnotf.cpp | 27 : listeners(NULL) in ICUNotifier() 34 delete listeners; in ~ICUNotifier() 35 listeners = NULL; in ~ICUNotifier() 51 if (listeners == NULL) { in addListener() 52 listeners = new UVector(5, status); in addListener() 54 for (int i = 0, e = listeners->size(); i < e; ++i) { in addListener() 55 const EventListener* el = (const EventListener*)(listeners->elementAt(i)); in addListener() 62 listeners->addElementX((void*)l, status); // cast away const in addListener() 84 if (listeners != NULL) { in removeListener() 86 for (int i = 0, e = listeners->size(); i < e; ++i) { in removeListener() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | servnotf.cpp | 27 : listeners(NULL) in ICUNotifier() 34 delete listeners; in ~ICUNotifier() 35 listeners = NULL; in ~ICUNotifier() 51 if (listeners == NULL) { in addListener() 52 listeners = new UVector(5, status); in addListener() 54 for (int i = 0, e = listeners->size(); i < e; ++i) { in addListener() 55 const EventListener* el = (const EventListener*)(listeners->elementAt(i)); in addListener() 62 listeners->addElement((void*)l, status); // cast away const in addListener() 84 if (listeners != NULL) { in removeListener() 86 for (int i = 0, e = listeners->size(); i < e; ++i) { in removeListener() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | servnotf.cpp | 27 : listeners(NULL) in ICUNotifier() 34 delete listeners; in ~ICUNotifier() 35 listeners = NULL; in ~ICUNotifier() 51 if (listeners == NULL) { in addListener() 52 listeners = new UVector(5, status); in addListener() 54 for (int i = 0, e = listeners->size(); i < e; ++i) { in addListener() 55 const EventListener* el = (const EventListener*)(listeners->elementAt(i)); in addListener() 62 listeners->addElement((void*)l, status); // cast away const in addListener() 84 if (listeners != NULL) { in removeListener() 86 for (int i = 0, e = listeners->size(); i < e; ++i) { in removeListener() [all …]
|
/third_party/node/test/parallel/ |
D | test-stream-pipe-cleanup.js | 70 assert.strictEqual(r.listeners('end').length, 0); 80 assert.strictEqual(r.listeners('close').length, 0); 92 assert.strictEqual(w.listeners('close').length, 0); 99 assert.strictEqual(r.listeners('end').length, 2); // A.onend, A.cleanup 100 assert.strictEqual(r.listeners('close').length, 2); // A.onclose, A.cleanup 101 assert.strictEqual(d.listeners('end').length, 2); // B.onend, B.cleanup 103 assert.strictEqual(d.listeners('close').length, 3); 104 assert.strictEqual(w.listeners('end').length, 0); 105 assert.strictEqual(w.listeners('close').length, 1); // B.cleanup 110 assert.strictEqual(r.listeners('end').length, 0); [all …]
|
D | test-event-emitter-remove-all-listeners.js | 46 const fooListeners = ee.listeners('foo'); 47 const barListeners = ee.listeners('bar'); 48 const bazListeners = ee.listeners('baz'); 52 assert.deepStrictEqual(ee.listeners('foo'), [noop]); 53 assert.deepStrictEqual(ee.listeners('bar'), []); 54 assert.deepStrictEqual(ee.listeners('baz'), []); 62 assert.notStrictEqual(ee.listeners('bar'), barListeners); 63 assert.notStrictEqual(ee.listeners('baz'), bazListeners); 74 assert.deepStrictEqual([], ee.listeners('foo')); 75 assert.deepStrictEqual([], ee.listeners('bar')); [all …]
|
D | test-event-emitter-listeners.js | 43 const fooListeners = ee.listeners('foo'); 44 assert.deepStrictEqual(ee.listeners('foo'), [listener]); 46 assert.deepStrictEqual(ee.listeners('foo'), []); 53 const eeListenersCopy = ee.listeners('foo'); 55 assert.deepStrictEqual(ee.listeners('foo'), [listener]); 57 assert.deepStrictEqual(ee.listeners('foo'), [listener]); 64 const eeListenersCopy = ee.listeners('foo'); 66 assert.deepStrictEqual(ee.listeners('foo'), [listener, listener2]); 73 assert.deepStrictEqual(ee.listeners('foo'), [listener]); 80 assert.deepStrictEqual(ee.listeners('foo'), [listener, listener2]); [all …]
|
D | test-event-emitter-modify-in-emit.js | 49 assert.strictEqual(e.listeners('foo').length, 1); 52 assert.strictEqual(e.listeners('foo').length, 2); 56 assert.strictEqual(e.listeners('foo').length, 0); 61 assert.strictEqual(e.listeners('foo').length, 0); 67 assert.strictEqual(e.listeners('foo').length, 2); 69 assert.strictEqual(e.listeners('foo').length, 0); 77 assert.strictEqual(e.listeners('foo').length, 2); 80 assert.strictEqual(e.listeners('foo').length, 0);
|
D | test-event-emitter-remove-listeners.js | 39 assert.deepStrictEqual([], ee.listeners('hello')); 47 assert.deepStrictEqual([listener1], ee.listeners('hello')); 57 assert.deepStrictEqual([listener2], ee.listeners('hello')); 60 assert.deepStrictEqual([listener2], ee.listeners('hello')); 64 assert.deepStrictEqual([], ee.listeners('hello')); 67 assert.deepStrictEqual([], ee.listeners('hello')); 98 assert.deepStrictEqual([listener2], ee.listeners('hello')); 102 assert.deepStrictEqual([], ee.listeners('hello')); 105 assert.deepStrictEqual([], ee.listeners('hello')); 108 assert.deepStrictEqual([], ee.listeners('hello')); [all …]
|
D | test-stream2-unpipe-leak.js | 58 assert.strictEqual(src.listeners('end').length, 0); 59 assert.strictEqual(src.listeners('readable').length, 0); 61 assert.strictEqual(dest.listeners('unpipe').length, 0); 62 assert.strictEqual(dest.listeners('drain').length, 0); 63 assert.strictEqual(dest.listeners('error').length, 0); 64 assert.strictEqual(dest.listeners('close').length, 0); 65 assert.strictEqual(dest.listeners('finish').length, 0);
|
D | test-vm-sigint.js | 14 const listeners = +process.argv[4]; constant 16 assert.ok(Number.isInteger(listeners)); 24 for (let i = 0; i < listeners; i++) 37 for (const listeners of [0, 1, 2]) { 38 const args = [__filename, 'child', method, listeners];
|
D | test-http-agent-timeout-option.js | 19 const listeners = socket.listeners('timeout'); constant 21 strictEqual(listeners.length, 2); 22 strictEqual(listeners[1], request.timeoutCb);
|
D | test-net-server-listen-remove-callback.js | 31 const listeners = server.listeners('listening'); 32 console.log('Closed, listeners:', listeners.length); 33 assert.strictEqual(listeners.length, 0);
|
D | test-http-client-timeout-option-with-agent.js | 19 const listeners = socket.listeners('timeout'); constant 21 strictEqual(listeners.length, 2); 22 strictEqual(listeners[1], request.timeoutCb);
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | ICUNotifier.java | 37 private List<EventListener> listeners; field in ICUNotifier 53 if (listeners == null) { in addListener() 54 listeners = new ArrayList<EventListener>(); in addListener() 57 for (EventListener ll : listeners) { in addListener() 64 listeners.add(l); in addListener() 81 if (listeners != null) { in removeListener() 83 Iterator<EventListener> iter = listeners.iterator(); in removeListener() 87 if (listeners.size() == 0) { in removeListener() 88 listeners = null; in removeListener() 104 if (listeners != null) { in notifyChanged() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ICUNotifier.java | 35 private List<EventListener> listeners; field in ICUNotifier 51 if (listeners == null) { in addListener() 52 listeners = new ArrayList<EventListener>(); in addListener() 55 for (EventListener ll : listeners) { in addListener() 62 listeners.add(l); in addListener() 79 if (listeners != null) { in removeListener() 81 Iterator<EventListener> iter = listeners.iterator(); in removeListener() 85 if (listeners.size() == 0) { in removeListener() 86 listeners = null; in removeListener() 102 if (listeners != null) { in notifyChanged() [all …]
|
/third_party/node/deps/npm/node_modules/unpipe/ |
D | index.js | 22 var listeners = stream.listeners('data') 24 for (var i = 0; i < listeners.length; i++) { 25 if (listeners[i].name === 'ondata') { 57 var listeners = stream.listeners('close') 59 for (var i = 0; i < listeners.length; i++) { 60 listener = listeners[i]
|
/third_party/typescript/tests/baselines/reference/ |
D | objectIndexer.symbols | 20 private listeners: IMap; 21 >listeners : Symbol(Emitter.listeners, Decl(objectIndexer.ts, 8, 15)) 25 this.listeners = {}; 26 >this.listeners : Symbol(Emitter.listeners, Decl(objectIndexer.ts, 8, 15)) 28 >listeners : Symbol(Emitter.listeners, Decl(objectIndexer.ts, 8, 15))
|
D | objectIndexer.types | 15 private listeners: IMap; 16 >listeners : IMap 19 this.listeners = {}; 20 >this.listeners = {} : {} 21 >this.listeners : IMap 23 >listeners : IMap
|
/third_party/node/benchmark/events/ |
D | ee-add-remove.js | 9 const listeners = []; 12 listeners.push(() => {}); 17 for (let k = listeners.length; --k >= 0; /* empty */) { 18 ee.on(dummy, listeners[k]); 20 for (let k = listeners.length; --k >= 0; /* empty */) { 21 ee.removeListener(dummy, listeners[k]);
|
D | ee-listeners.js | 7 listeners: [5, 50], property 11 function main({ n, listeners, raw }) { property 13 ee.setMaxListeners(listeners * 2 + 1); 15 for (let k = 0; k < listeners; k += 1) { 31 ee.listeners(dummy);
|
/third_party/flutter/flutter/packages/flutter/lib/src/animation/ |
D | listener_helpers.dart | 9 /// A mixin that helps listen to another object only when this object has registered listeners. 18 /// an empty list of listeners to become non-empty. 45 /// Called when the number of listeners changes from zero to one. 49 /// Called when the number of listeners changes from one to zero. 53 /// Whether there are any listeners. 77 /// all the registered listeners when [notifyListeners] is called. 115 /// Calls all the listeners. 117 /// If listeners are added or removed during this function, the modifications 118 /// will not change which listeners are called during this iteration. 130 context: ErrorDescription('while notifying listeners for $runtimeType'), [all …]
|
/third_party/typescript/tests/dets/cases/ |
D | renderControl.ets | 48 private listeners: DataChangeListener[] = [] 57 if (this.listeners.indexOf(listener) < 0) { 58 this.listeners.push(listener) 63 const pos = this.listeners.indexOf(listener); 65 this.listeners.splice(pos, 1) 70 this.listeners.forEach(listener => { 76 this.listeners.forEach(listener => { 82 this.listeners.forEach(listener => { 88 this.listeners.forEach(listener => { 94 this.listeners.forEach(listener => {
|
/third_party/googletest/googletest/test/ |
D | googletest-shuffle-test_.cc | 96 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main() local 97 delete listeners.Release(listeners.default_result_printer()); in main() 98 listeners.Append(new TestNamePrinter); in main()
|
/third_party/jsframework/runtime/main/extend/mediaquery/ |
D | pluginMediaQuery.ts | 63 get listeners() { method in MediaQueryList 101 if (mediaQueryList.listeners && mediaQueryList.listeners.length !== 0) { 102 for (let i = 0; i < mediaQueryList.listeners.length; i++) { 103 const matchFunc = mediaQueryList.listeners[i];
|