Searched refs:count (Results 1 – 5 of 5) sorted by relevance
132 int pollEvents(sensors_event_t* data, int count);265 int sensors_poll_context_t::pollEvents(sensors_event_t* data, int count) in pollEvents() argument274 for (int i=0 ; count && i<numSensorDrivers ; i++) { in pollEvents()277 int nb = sensor->readEvents(data, count); in pollEvents()278 if (nb < count) { in pollEvents()282 count -= nb; in pollEvents()299 if (count) { in pollEvents()323 } while (n && count); in pollEvents()357 sensors_event_t* data, int count) in poll__poll() argument361 return ctx->pollEvents(data, count); in poll__poll()
141 int SamsungSensorBase::readEvents(sensors_event_t* data, int count) in readEvents() argument143 if (count < 1) in readEvents()160 while (count && mInputReader.readEvent(data_fd, &event)) { in readEvents()166 count--; in readEvents()
57 virtual int readEvents(sensors_event_t *data, int count);
56 int count; /* onenand + mmc partitions */ member242 for (i = 0; i < hd->count; i++) { in write_pit_partition_table()260 if (i == hd->count) { in write_pit_partition_table()
143 static byte count = 0;224 switch (count++ % 0x10) {