/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | DebugEventHub.java | 43 protected List listeners = new ArrayList(); field in DebugEventHub 46 listeners.add(listener); in DebugEventHub() 50 listeners.add(a); in DebugEventHub() 51 listeners.add(b); in DebugEventHub() 58 listeners.add(listener); in addListener() 71 for (int i = 0; i < listeners.size(); i++) { in enterRule() 72 DebugEventListener listener = (DebugEventListener)listeners.get(i); in enterRule() 78 for (int i = 0; i < listeners.size(); i++) { in exitRule() 79 DebugEventListener listener = (DebugEventListener)listeners.get(i); in exitRule() 85 for (int i = 0; i < listeners.size(); i++) { in enterAlt() [all …]
|
/external/webkit/LayoutTests/dom/xhtml/level2/events/ |
D | dispatchEvent13.js | 88 function EventListenerN1003B(events, listeners) { argument 90 this.listeners = listeners; 106 var listeners = listener1.listeners; 112 for(var indexN10065 = 0;indexN10065 < listeners.length; indexN10065++) { 113 listener = listeners[indexN10065]; 131 function EventListenerN10074(events, listeners) { argument 133 this.listeners = listeners; 149 var listeners = listener2.listeners; 155 for(var indexN10098 = 0;indexN10098 < listeners.length; indexN10098++) { 156 listener = listeners[indexN10098]; [all …]
|
/external/webkit/LayoutTests/dom/html/level2/events/ |
D | dispatchEvent13.js | 88 function EventListenerN1003B(events, listeners) { argument 90 this.listeners = listeners; 106 var listeners = listener1.listeners; 112 for(var indexN10065 = 0;indexN10065 < listeners.length; indexN10065++) { 113 listener = listeners[indexN10065]; 131 function EventListenerN10074(events, listeners) { argument 133 this.listeners = listeners; 149 var listeners = listener2.listeners; 155 for(var indexN10098 = 0;indexN10098 < listeners.length; indexN10098++) { 156 listener = listeners[indexN10098]; [all …]
|
/external/icu4c/common/ |
D | servnotf.cpp | 25 : listeners(NULL) in ICUNotifier() 32 delete listeners; in ~ICUNotifier() 33 listeners = NULL; in ~ICUNotifier() 49 if (listeners == NULL) { in addListener() 50 listeners = new UVector(5, status); in addListener() 52 for (int i = 0, e = listeners->size(); i < e; ++i) { in addListener() 53 const EventListener* el = (const EventListener*)(listeners->elementAt(i)); in addListener() 60 listeners->addElement((void*)l, status); // cast away const in addListener() 82 if (listeners != NULL) { in removeListener() 84 for (int i = 0, e = listeners->size(); i < e; ++i) { in removeListener() [all …]
|
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
D | FileTransferManager.java | 52 private List<FileTransferListener> listeners; field in FileTransferManager 78 if (listeners == null) { in addFileTransferListener() 81 synchronized (this.listeners) { in addFileTransferListener() 82 listeners.add(li); in addFileTransferListener() 87 listeners = new ArrayList<FileTransferListener>(); in initListeners() 98 FileTransferListener[] listeners = null; in fireNewRequest() local 99 synchronized (this.listeners) { in fireNewRequest() 100 listeners = new FileTransferListener[this.listeners.size()]; in fireNewRequest() 101 this.listeners.toArray(listeners); in fireNewRequest() 104 for (int i = 0; i < listeners.length; i++) { in fireNewRequest() [all …]
|
/external/webkit/Source/WebCore/inspector/front-end/ |
D | Object.js | 43 var listeners = this._listeners[eventType]; 44 for (var i = 0; i < listeners.length; ++i) { 45 … if (listener && listeners[i].listener === listener && listeners[i].thisObject === thisObject) 46 listeners.splice(i, 1); 47 else if (!listener && thisObject && listeners[i].thisObject === thisObject) 48 listeners.splice(i, 1); 51 if (!listeners.length) 88 var listeners = this._listeners[eventType].slice(0); 89 for (var i = 0; i < listeners.length; ++i) { 90 listeners[i].listener.call(listeners[i].thisObject, event);
|
/external/smack/src/org/jivesoftware/smack/util/ |
D | ObservableReader.java | 35 List<ReaderListener> listeners = new ArrayList<ReaderListener>(); field in ObservableReader 47 synchronized (listeners) { in read() 48 readerListeners = new ReaderListener[listeners.size()]; in read() 49 listeners.toArray(readerListeners); in read() 100 synchronized (listeners) { in addReaderListener() 101 if (!listeners.contains(readerListener)) { in addReaderListener() 102 listeners.add(readerListener); in addReaderListener() 113 synchronized (listeners) { in removeReaderListener() 114 listeners.remove(readerListener); in removeReaderListener()
|
D | ObservableWriter.java | 35 List<WriterListener> listeners = new ArrayList<WriterListener>(); field in ObservableWriter 83 synchronized (listeners) { in notifyListeners() 84 writerListeners = new WriterListener[listeners.size()]; in notifyListeners() 85 listeners.toArray(writerListeners); in notifyListeners() 102 synchronized (listeners) { in addWriterListener() 103 if (!listeners.contains(writerListener)) { in addWriterListener() 104 listeners.add(writerListener); in addWriterListener() 115 synchronized (listeners) { in removeWriterListener() 116 listeners.remove(writerListener); in removeWriterListener()
|
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/ |
D | AbstractCinematicEvent.java | 65 protected List<CinematicEventListener> listeners; field in AbstractCinematicEvent 105 if (listeners != null) { in play() 106 for (int i = 0; i < listeners.size(); i++) { in play() 107 CinematicEventListener cel = listeners.get(i); in play() 148 if (listeners != null) { in stop() 149 for (int i = 0; i < listeners.size(); i++) { in stop() 150 CinematicEventListener cel = listeners.get(i); in stop() 167 if (listeners != null) { in pause() 168 for (int i = 0; i < listeners.size(); i++) { in pause() 169 CinematicEventListener cel = listeners.get(i); in pause() [all …]
|
/external/dropbear/ |
D | listener.c | 33 ses.listeners = (struct Listener**)m_malloc(sizeof(struct Listener*)); in listeners_initialise() 35 ses.listeners[0] = NULL; in listeners_initialise() 46 listener = ses.listeners[i]; in set_listener_fds() 64 listener = ses.listeners[i]; in handle_listeners() 88 if (ses.listeners[i] == NULL) { in new_listener() 103 ses.listeners = (struct Listener**)m_realloc(ses.listeners, in new_listener() 110 ses.listeners[j] = NULL; in new_listener() 129 ses.listeners[i] = newlisten; in new_listener() 141 for (i = 0, listener = ses.listeners[i]; i < ses.listensize; i++) { in get_listener() 162 ses.listeners[listener->index] = NULL; in remove_listener()
|
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
D | AgentRoster.java | 56 private List<AgentRosterListener> listeners; field in AgentRoster 71 listeners = new ArrayList<AgentRosterListener>(); in AgentRoster() 104 synchronized (listeners) { in addListener() 105 if (!listeners.contains(listener)) { in addListener() 106 listeners.add(listener); in addListener() 137 synchronized (listeners) { in removeListener() 138 listeners.remove(listener); in removeListener() 258 AgentRosterListener[] listeners = null; in fireEvent() local 259 synchronized (this.listeners) { in fireEvent() 260 listeners = new AgentRosterListener[this.listeners.size()]; in fireEvent() [all …]
|
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/ |
D | PropertyChangeSupportTest.java | 116 PropertyChangeListener[] listeners = sup.getPropertyChangeListeners(); in testAddPropertyChangeListener_PropertyChangeListener_Null() local 117 assertEquals(0, listeners.length); in testAddPropertyChangeListener_PropertyChangeListener_Null() 132 PropertyChangeListener[] listeners = sup.getPropertyChangeListeners(); in testAddPropertyChangeListener_PropertyChangeListener_Duplicate() local 133 assertEquals(2, listeners.length); in testAddPropertyChangeListener_PropertyChangeListener_Duplicate() 134 assertSame(l1, listeners[0]); in testAddPropertyChangeListener_PropertyChangeListener_Duplicate() 135 assertSame(l1, listeners[1]); in testAddPropertyChangeListener_PropertyChangeListener_Duplicate() 149 PropertyChangeListener[] listeners; in testAddPropertyChangeListener_PropertyChangeListener_String_Normal() local 153 listeners = sup.getPropertyChangeListeners(); in testAddPropertyChangeListener_PropertyChangeListener_String_Normal() 154 assertEquals(1, listeners.length); in testAddPropertyChangeListener_PropertyChangeListener_String_Normal() 155 assertSame(l1, ((PropertyChangeListenerProxy) listeners[0]) in testAddPropertyChangeListener_PropertyChangeListener_String_Normal() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
D | AnimControl.java | 87 private transient ArrayList<AnimEventListener> listeners = new ArrayList<AnimEventListener>(); field in AnimControl 115 clone.listeners = new ArrayList<AnimEventListener>(); in cloneForSpatial() 232 if (listeners.contains(listener)) { in addListener() 237 listeners.add(listener); in addListener() 246 if (!listeners.remove(listener)) { in removeListener() 258 listeners.clear(); in clearListeners() 262 for (int i = 0; i < listeners.size(); i++) { in notifyAnimChange() 263 listeners.get(i).onAnimChange(this, channel, name); in notifyAnimChange() 268 for (int i = 0; i < listeners.size(); i++) { in notifyAnimCycleDone() 269 listeners.get(i).onAnimCycleDone(this, channel, name); in notifyAnimCycleDone()
|
/external/webkit/Source/WebCore/bindings/js/ |
D | ScriptDebugServer.cpp | 217 void ScriptDebugServer::dispatchDidParseSource(const ListenerSet& listeners, SourceProvider* source… in dispatchDidParseSource() argument 226 copyToVector(listeners, copy); in dispatchDidParseSource() 231 void ScriptDebugServer::dispatchFailedToParseSource(const ListenerSet& listeners, SourceProvider* s… in dispatchFailedToParseSource() argument 238 copyToVector(listeners, copy); in dispatchFailedToParseSource() 266 ListenerSet* listeners = getListenersForGlobalObject(exec->lexicalGlobalObject()); in sourceParsed() local 267 if (!listeners) in sourceParsed() 269 ASSERT(!listeners->isEmpty()); in sourceParsed() 275 … dispatchFailedToParseSource(*listeners, sourceProvider, errorLine, ustringToString(errorMessage)); in sourceParsed() 277 dispatchDidParseSource(*listeners, sourceProvider, isContentScript(exec)); in sourceParsed() 282 void ScriptDebugServer::dispatchFunctionToListeners(const ListenerSet& listeners, JavaScriptExecuti… in dispatchFunctionToListeners() argument [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowSensorManager.java | 20 private ArrayList<SensorEventListener> listeners = new ArrayList<SensorEventListener>(); field in ShadowSensorManager 30 if(!listeners.contains(listener)) in registerListener() 31 listeners.add(listener); in registerListener() 38 listeners.remove(listener); in unregisterListener() 42 return listeners.contains(listener); in hasListener()
|
/external/smack/src/org/jivesoftware/smackx/ |
D | MessageEventManager.java | 146 MessageEventRequestListener[] listeners = null; in fireMessageEventRequestListeners() local 149 listeners = new MessageEventRequestListener[messageEventRequestListeners.size()]; in fireMessageEventRequestListeners() 150 messageEventRequestListeners.toArray(listeners); in fireMessageEventRequestListeners() 157 for (int i = 0; i < listeners.length; i++) { in fireMessageEventRequestListeners() 158 method.invoke(listeners[i], new Object[] { from, packetID, this }); in fireMessageEventRequestListeners() 176 MessageEventNotificationListener[] listeners = null; in fireMessageEventNotificationListeners() local 179 listeners = in fireMessageEventNotificationListeners() 181 messageEventNotificationListeners.toArray(listeners); in fireMessageEventNotificationListeners() 188 for (int i = 0; i < listeners.length; i++) { in fireMessageEventNotificationListeners() 189 method.invoke(listeners[i], new Object[] { from, packetID }); in fireMessageEventNotificationListeners()
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/ |
D | InputManager.java | 113 private final ArrayList<InputListener> listeners = new ArrayList<InputListener>(); field in InputManager.Mapping 163 ArrayList<InputListener> listeners = mapping.listeners; in invokeActions() local 164 int listenerSize = listeners.size(); in invokeActions() 166 InputListener listener = listeners.get(j); in invokeActions() 238 ArrayList<InputListener> listeners = mapping.listeners; in invokeAnalogs() local 239 int listenerSize = listeners.size(); in invokeAnalogs() 241 InputListener listener = listeners.get(j); in invokeAnalogs() 269 ArrayList<InputListener> listeners = mapping.listeners; in invokeAnalogsAndActions() local 270 int listenerSize = listeners.size(); in invokeAnalogsAndActions() 272 InputListener listener = listeners.get(j); in invokeAnalogsAndActions() [all …]
|
/external/gtest/test/ |
D | gtest_shuffle_test_.cc | 99 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main() local 100 delete listeners.Release(listeners.default_result_printer()); in main() 101 listeners.Append(new TestNamePrinter); in main()
|
/external/protobuf/gtest/test/ |
D | gtest_shuffle_test_.cc | 99 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main() local 100 delete listeners.Release(listeners.default_result_printer()); in main() 101 listeners.Append(new TestNamePrinter); in main()
|
/external/libvpx/libvpx/third_party/googletest/src/test/ |
D | gtest_shuffle_test_.cc | 99 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main() local 100 delete listeners.Release(listeners.default_result_printer()); in main() 101 listeners.Append(new TestNamePrinter); in main()
|
/external/chromium/testing/gtest/test/ |
D | gtest_shuffle_test_.cc | 99 TestEventListeners& listeners = UnitTest::GetInstance()->listeners(); in main() local 100 delete listeners.Release(listeners.default_result_printer()); in main() 101 listeners.Append(new TestNamePrinter); in main()
|
/external/protobuf/gtest/samples/ |
D | sample9_unittest.cc | 123 TestEventListeners& listeners = unit_test.listeners(); in main() local 129 delete listeners.Release(listeners.default_result_printer()); in main() 135 listeners.Append(new TersePrinter); in main()
|
/external/gtest/samples/ |
D | sample9_unittest.cc | 123 TestEventListeners& listeners = unit_test.listeners(); in main() local 129 delete listeners.Release(listeners.default_result_printer()); in main() 135 listeners.Append(new TersePrinter); in main()
|
/external/libvpx/libvpx/third_party/googletest/src/samples/ |
D | sample9_unittest.cc | 123 TestEventListeners& listeners = unit_test.listeners(); in main() local 129 delete listeners.Release(listeners.default_result_printer()); in main() 135 listeners.Append(new TersePrinter); in main()
|
/external/smack/src/org/jivesoftware/smack/ |
D | Chat.java | 45 private final Set<MessageListener> listeners = new CopyOnWriteArraySet<MessageListener>(); field in Chat 127 listeners.add(listener); in addMessageListener() 131 listeners.remove(listener); in removeMessageListener() 140 return Collections.unmodifiableCollection(listeners); in getListeners() 168 for (MessageListener listener : listeners) { in deliver()
|