Lines Matching refs:foundIndex
55 size_t foundIndex = registrationIndex(eventType); in isRegisteredForBroadcastEvent() local
56 if (foundIndex < mRegisteredEvents.size()) { in isRegisteredForBroadcastEvent()
57 const EventRegistration ® = mRegisteredEvents[foundIndex]; in isRegisteredForBroadcastEvent()
67 size_t foundIndex = registrationIndex(eventType); in registerForBroadcastEvent() local
68 if (foundIndex < mRegisteredEvents.size()) { in registerForBroadcastEvent()
69 mRegisteredEvents[foundIndex].groupIdMask |= groupIdMask; in registerForBroadcastEvent()
78 size_t foundIndex = registrationIndex(eventType); in unregisterForBroadcastEvent() local
79 if (foundIndex < mRegisteredEvents.size()) { in unregisterForBroadcastEvent()
80 EventRegistration ® = mRegisteredEvents[foundIndex]; in unregisterForBroadcastEvent()
83 mRegisteredEvents.erase(foundIndex); in unregisterForBroadcastEvent()
181 size_t foundIndex = 0; in registrationIndex() local
182 for (; foundIndex < mRegisteredEvents.size(); ++foundIndex) { in registrationIndex()
183 const EventRegistration ® = mRegisteredEvents[foundIndex]; in registrationIndex()
188 return foundIndex; in registrationIndex()