Searched refs:eventsToRead (Results 1 – 2 of 2) sorted by relevance
145 size_t eventsToRead = std::min(availableEvents, mEventBuffer.size()); in readEvents() local146 if (eventsToRead > 0) { in readEvents()147 if (mEventQueue->read(mEventBuffer.data(), eventsToRead)) { in readEvents()149 for (size_t i = 0; i < eventsToRead; i++) { in readEvents()
136 size_t eventsToRead = std::min(availableEvents, mEventBuffer.size()); in readEvents() local137 if (eventsToRead > 0) { in readEvents()138 if (mSensors->getEventQueue()->read(mEventBuffer.data(), eventsToRead)) { in readEvents()140 for (size_t i = 0; i < eventsToRead; i++) { in readEvents()