Searched refs:numToWrite (Results 1 – 1 of 1) sorted by relevance
492 size_t numToWrite = std::min(pendingWriteEvents.size(), eventQueueSize); in handlePendingWrites() local495 pendingWriteEvents.data(), numToWrite, in handlePendingWrites()499 ALOGE("Dropping %zu events after blockingWrite failed.", numToWrite); in handlePendingWrites()510 mSizePendingWriteEventsQueue -= numToWrite; in handlePendingWrites()572 size_t numToWrite = 0; in postEventsToMessageQueue() local578 numToWrite = std::min(events.size(), mEventQueue->availableToWrite()); in postEventsToMessageQueue()579 if (numToWrite > 0) { in postEventsToMessageQueue()580 if (mEventQueue->write(events.data(), numToWrite)) { in postEventsToMessageQueue()585 numToWrite = 0; in postEventsToMessageQueue()589 size_t numLeft = events.size() - numToWrite; in postEventsToMessageQueue()[all …]