Lines Matching refs:buff
280 char buff[256]; in sensor_device_poll_event_locked() local
281 int len = qemud_channel_recv(fd, buff, sizeof(buff) - 1U); in sensor_device_poll_event_locked()
291 buff[len] = 0; in sensor_device_poll_event_locked()
292 D("%s(fd=%d): received [%s]", __FUNCTION__, fd, buff); in sensor_device_poll_event_locked()
297 if (!strcmp((const char*)buff, "wake")) { in sensor_device_poll_event_locked()
309 if (sscanf(buff, "acceleration:%g:%g:%g", params+0, params+1, params+2) in sensor_device_poll_event_locked()
322 if (sscanf(buff, "orientation:%g:%g:%g", params+0, params+1, params+2) in sensor_device_poll_event_locked()
337 if (sscanf(buff, "magnetic:%g:%g:%g", params+0, params+1, params+2) in sensor_device_poll_event_locked()
351 if (sscanf(buff, "temperature:%g", params+0) == 1) { in sensor_device_poll_event_locked()
360 if (sscanf(buff, "proximity:%g", params+0) == 1) { in sensor_device_poll_event_locked()
368 if (sscanf(buff, "light:%g", params+0) == 1) { in sensor_device_poll_event_locked()
377 if (sscanf(buff, "pressure:%g", params+0) == 1) { in sensor_device_poll_event_locked()
386 if (sscanf(buff, "humidity:%g", params+0) == 1) { in sensor_device_poll_event_locked()
398 if (sscanf(buff, "sync:%lld", &event_time) == 1) { in sensor_device_poll_event_locked()