Home
last modified time | relevance | path

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

/external/libxcam/xcore/
Dpoll_thread.cpp197 int poll_ret = 0; in poll_subdev_event_loop() local
199 poll_ret = _event_dev->poll_event (PollThread::default_subdev_event_timeout); in poll_subdev_event_loop()
201 if (poll_ret < 0) { in poll_subdev_event_loop()
208 if (poll_ret == 0) { in poll_subdev_event_loop()
228 int poll_ret = 0; in poll_buffer_loop() local
231 poll_ret = _capture_dev->poll_event (PollThread::default_capture_event_timeout); in poll_buffer_loop()
233 if (poll_ret < 0) { in poll_buffer_loop()
240 if (poll_ret == 0) { in poll_buffer_loop()
/external/toybox/toys/pending/
Dtftpd.c139 int poll_ret; in do_action() local
168 poll_ret = poll(pollfds, 1, timeout); in do_action()
169 if (poll_ret < 0 && (errno == EINTR || errno == ENOMEM)) goto POLL_INPUT; in do_action()
170 if (!poll_ret) { in do_action()
177 } else if (poll_ret == 1) { in do_action()