Lines Matching defs:pos
65 collection::iterator pos, end = m_listeners.end();
66 for (pos = m_listeners.begin(); pos != end; ++pos)
67 pos->first->BroadcasterWillDestruct (this);
88 event_names_map::const_iterator pos = m_event_names.find(bit);
89 if (pos != end)
99 s.PutCString(pos->second.c_str());
121 collection::iterator pos, end = m_listeners.end();
126 for (pos = m_listeners.begin(); pos != end; ++pos)
128 if (pos->first == listener)
129 existing_pos = pos;
132 // taken_event_types |= pos->second;
174 collection::iterator pos, end = m_listeners.end();
175 for (pos = m_listeners.begin(); pos != end; ++pos)
177 if (pos->second & event_type)
187 collection::iterator pos, end = m_listeners.end();
189 for (pos = m_listeners.begin(); pos != end; ++pos)
191 if (pos->first == listener)
194 pos->second &= ~event_mask;
196 if (pos->second == 0)
197 m_listeners.erase (pos);
258 collection::iterator pos, end = m_listeners.end();
262 for (pos = m_listeners.begin(); pos != end; ++pos)
266 if (event_type & pos->second)
268 if (unique && pos->first->PeekAtNextEventForBroadcasterWithType (this, event_type))
270 pos->first->AddEvent (event_sp);