Searched defs:nb (Results 1 - 2 of 2) sorted by relevance

/hardware/invensense/libsensors_iio/
H A DMPLSupport.cpp80 int nb; local
84 nb = write(fd, &c, 1);
86 if (nb <= 0) {
89 c, nb, strerror(err), err);
H A Dsensors_mpl.cpp149 int nb, polltime = -1; local
152 nb = poll(mPollFds, numSensorDrivers, polltime);
154 if (nb > 0) {
157 nb = 0;
159 nb = mSensor->readEvents(data, count);
163 nb = ((MPLSensor*) mSensor)->readCompassEvents(data, count);
168 nb = ((MPLSensor*) mSensor)->executeOnData(data, count);
169 if (nb > 0) {
170 count -= nb;
171 nbEvents += nb;
[all...]

Completed in 143 milliseconds