Lines Matching defs:it

11  * you can redistribute it and/or modify it under the terms of the GNU
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
24 * Another entity could subscribe to the event source for events it is interested in.
25 * If an event is waitable, it's possible to wait until all listeners
33 * For *passive* listeners, it's up to an event consumer to perform GetEvent() operation
347 for (VetoList::const_iterator it = m->mVetoList.begin(); it != m->mVetoList.end(); ++it, ++i)
348 aResult[i] = (*it);
465 * all consumers release it too. This helps to keep list stable
503 // Prevent element removal, till we're at it
765 // clean it up, otherwise there will be pending events map elements
839 /* if same event is being pushed multiple times - it's reusable event and
840 we don't really need multiple instances of it in the queue */
920 /* On Darwin it is known that RTSemEventDestroy() returns 0 while
984 for (Listeners::iterator it = m->mListeners.begin();
985 it != m->mListeners.end();
986 ++it)
988 it->second.obj()->shutdown();
1011 Listeners::const_iterator it = m->mListeners.find(aListener);
1012 if (it != m->mListeners.end())
1033 Listeners::iterator it = m->mListeners.find(aListener);
1035 if (it != m->mListeners.end())
1037 it->second.obj()->shutdown();
1038 m->mListeners.erase(it);
1097 for (EventMapList::iterator it = listeners.begin();
1098 it != listeners.end();
1099 ++it)
1102 // keep listener record reference, in case someone will remove it while in callback
1103 RecordHolder<ListenerRecord> record(*it);
1148 Listeners::iterator it = m->mListeners.find(aListener);
1151 if (it != m->mListeners.end())
1152 rc = it->second.obj()->dequeue(aEvent.asOutParam(), aTimeout, alock);
1172 Listeners::iterator it = m->mListeners.find(aListener);
1178 if (it != m->mListeners.end())
1180 ListenerRecord *aRecord = it->second.obj();
1470 for (EventSourceList::const_iterator it = mEventSources.begin(); it != mEventSources.end();
1471 ++it)
1473 ComPtr<IEventSource> es = *it;
1502 for (EventSourceList::const_iterator it = mEventSources.begin(); it != mEventSources.end();
1503 ++it)
1505 ComPtr<IEventSource> es = *it;
1529 for (EventSourceList::const_iterator it = mEventSources.begin(); it != mEventSources.end();
1530 ++it)
1532 ComPtr<IEventSource> es = *it;
1568 ProxyListenerMap::const_iterator it = mListenerProxies.find(aListener);
1569 if (it != mListenerProxies.end())
1582 ProxyListenerMap::const_iterator it = mListenerProxies.find(aListener);
1583 if (it == mListenerProxies.end())
1587 (*it).second.queryInterfaceTo(aProxy);
1593 ProxyListenerMap::iterator it = mListenerProxies.find(aListener);
1594 if (it == mListenerProxies.end())
1598 mListenerProxies.erase(it);