Lines Matching defs:count
156 size_t count = 0;
160 count = GetEvents(buffer, bufferSize);
161 if (count > 0) {
171 return count;
197 size_t count = ReadInputEvent(readSize, *deviceByFd);
204 RecordDeviceChangeStates(device, readBuffer, count);
210 event += CollectEvent(event, capacity, device, readBuffer, count);
287 void InputHub::RecordDeviceChangeStates(Device *device, struct input_event readBuffer[], const size_t count)
296 for (size_t i = 0; i < count; i++) {
310 const size_t count)
317 HandleTouchScreenEvent(readBuffer, count, needFilted);
322 for (size_t i = 0; i < count; i++) {
345 size_t count = 0;
358 count = size_t(readSize) / sizeof(struct input_event);
359 return count;
361 return count;
418 size_t count = 0;
421 count = DeviceIsExists(buffer, bufferSize);
435 if (count > 0) {
444 return count;
1431 void InputHub::HandleTouchScreenEvent(struct input_event readBuffer[], const size_t count,
1438 for (size_t i = 0; i < count; i++) {
1598 uint32_t count = 0;
1602 if (count > READ_RETRY_MAX) {
1609 count += 1;