Lines Matching refs:readSize
749 int32_t readSize = read(device->fd, readBuffer,
751 if (readSize == 0 || (readSize < 0 && errno == ENODEV)) {
755 device->fd, readSize, bufferSize, capacity, errno);
758 } else if (readSize < 0) {
762 } else if ((readSize % sizeof(struct input_event)) != 0) {
763 ALOGE("could not get event (wrong size: %d)", readSize);
767 size_t count = size_t(readSize) / sizeof(struct input_event);