Searched refs:nread (Results 1 – 5 of 5) sorted by relevance
/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/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/qcom/msm8998/json-c/ |
D | random_seed.c | 161 ssize_t nread = read(fd, &r, sizeof(r)); in get_dev_random_seed() local 162 if (nread != sizeof(r)) { in get_dev_random_seed()
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
D | QCameraHAL3SnapshotTest.cpp | 225 ssize_t nread = 0; in hal3appSnapshotProcessBuffers() local 227 nread = read(pollfds.fd, &msg, sizeof(buffer_thread_msg_t)); in hal3appSnapshotProcessBuffers() 228 if (nread < 0) { in hal3appSnapshotProcessBuffers()
|
D | QCameraHAL3RawSnapshotTest.cpp | 234 ssize_t nread = 0; in rawProcessBuffers() local 236 nread = read(pollfds.fd, &msg, sizeof(buffer_thread_msg_t)); in rawProcessBuffers() 237 if (nread < 0) { in rawProcessBuffers()
|