Searched refs:nread (Results 1 – 3 of 3) sorted by relevance
/hardware/invensense/6515/libsensors_iio/ |
D | InputEventReader.cpp | 62 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event)); in fill() local 63 if (nread < 0 || nread % sizeof(input_event)) { in fill() 69 LOGV_IF(nread < 0, "DEBUG:%s exit nread < 0\n", in fill() 71 LOGV_IF(nread % sizeof(input_event), in fill() 75 return (nread < 0 ? -errno : -EINVAL); in fill() 78 numEventsRead = nread / sizeof(input_event); in fill()
|
/hardware/invensense/65xx/libsensors_iio/ |
D | InputEventReader.cpp | 62 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event)); in fill() local 63 if (nread < 0 || nread % sizeof(input_event)) { in fill() 69 LOGV_IF(nread < 0, "DEBUG:%s exit nread < 0\n", in fill() 71 LOGV_IF(nread % sizeof(input_event), in fill() 75 return (nread < 0 ? -errno : -EINVAL); in fill() 78 numEventsRead = nread / sizeof(input_event); in fill()
|
/hardware/akm/AK8975_FS/libsensors/ |
D | InputEventReader.cpp | 54 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event)); in fill() local 55 if (nread<0 || nread % sizeof(input_event)) { in fill() 57 return nread<0 ? -errno : -EINVAL; in fill() 60 numEventsRead = nread / sizeof(input_event); in fill()
|