Home | History | Annotate | Download | only in input

Lines Matching full:readsize

757                 int32_t readSize = read(device->fd, readBuffer,
759 if (readSize == 0 || (readSize < 0 && errno == ENODEV)) {
763 device->fd, readSize, bufferSize, capacity, errno);
766 } else if (readSize < 0) {
770 } else if ((readSize % sizeof(struct input_event)) != 0) {
771 ALOGE("could not get event (wrong size: %d)", readSize);
775 size_t count = size_t(readSize) / sizeof(struct input_event);