Home
last modified time | relevance | path

Searched refs:nread (Results 1 – 2 of 2) sorted by relevance

/device/htc/flounder/sensor_hub/libsensors/
DInputEventReader.cpp51 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(cw_event)); in fill() local
52 if (nread<0 || nread % sizeof(cw_event)) { in fill()
54 return nread<0 ? -errno : -EINVAL; in fill()
57 numEventsRead = nread / sizeof(cw_event); in fill()
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c152 int nread, buf_size = 2048; variable