Home
last modified time | relevance | path

Searched refs:POLLIN (Results 1 – 19 of 19) sorted by relevance

/AliOS-Things-master/components/posix/include/
A Dpoll.h12 #ifndef POLLIN
13 #define POLLIN 0x001 macro
/AliOS-Things-master/components/select/include/
A Dselect.h10 #undef POLLIN
11 #define POLLIN 0x001 macro
/AliOS-Things-master/components/py_engine/tests/extmod/
A Duselect_poll_basic.py29 poller.modify(s, select.POLLIN)
34 poller.modify(s, select.POLLIN)
A Duselect_poll_udp.py18 poll.register(s, select.POLLIN)
/AliOS-Things-master/components/epoll/example/
A Dtest_device.c103 pdev->fd->revents |= POLLIN; in _event_write()
156 pdev->fd->revents &= ~POLLIN; in event_read()
181 pdev->fd->revents |= POLLIN; in event_poll()
184 pdev->fd->revents &= ~POLLIN; in event_poll()
/AliOS-Things-master/components/select/example/
A Dtest_device.c103 pdev->fd->revents |= POLLIN; in _event_write()
156 pdev->fd->revents &= ~POLLIN; in event_read()
181 pdev->fd->revents |= POLLIN; in event_poll()
184 pdev->fd->revents &= ~POLLIN; in event_poll()
A Dselect_example.c75 poll_array[0].events = POLLIN; in poll_example()
87 if (poll_array[0].revents & POLLIN) { in poll_example()
/AliOS-Things-master/components/py_engine/engine/extmod/uasyncio/
A Dcore.py79 self.poller.register(s, select.POLLIN if idx == 0 else select.POLLOUT)
85 self.poller.modify(s, select.POLLIN | select.POLLOUT)
120 if ev & ~select.POLLIN and sm[1] is not None:
129 self.poller.modify(s, select.POLLIN)
/AliOS-Things-master/components/SDL2/src/core/unix/
A DSDL_poll.c52 info.events = POLLIN | POLLPRI; in SDL_IOReady()
/AliOS-Things-master/components/select/poll/
A Dpoll.c133 if (pfd->events & POLLIN) { in pre_poll()
211 pfd->revents |= POLLIN; in aos_poll()
/AliOS-Things-master/components/py_engine/tests/multi_net/
A Dtcp_client_rst.py24 poll.register(s2, select.POLLIN)
/AliOS-Things-master/components/select/select/
A Dselect.c143 pfd->events = POLLIN; in pre_select()
222 if ((pfd->revents & POLLIN) && (readset != NULL)) { in post_select()
/AliOS-Things-master/components/drivers/peripheral/spi/src/
A Dspi_dev.c390 fd->revents |= POLLIN; in spi_rx_notify()
443 ((struct pollfd *)fd)->revents &= ~POLLIN; in spi_device_poll()
448 ((struct pollfd *)fd)->events |= POLLIN; in spi_device_poll()
/AliOS-Things-master/components/SDL2/src/audio/sndio/
A DSDL_sndioaudio.c194 if ((nfds = SNDIO_sio_pollfd(this->hidden->dev, this->hidden->pfd, POLLIN)) <= 0 in SNDIO_CaptureFromDevice()
199 if (revents & POLLIN) { in SNDIO_CaptureFromDevice()
/AliOS-Things-master/components/drivers/peripheral/uart/src/
A Duart_dev.c429 fd->revents |= POLLIN; in uart_rx_notify()
485 ((struct pollfd *)fd)->revents &= ~POLLIN; in uart_device_poll()
490 ((struct pollfd *)fd)->events |= POLLIN; in uart_device_poll()
/AliOS-Things-master/components/amp_adapter/platform/linux/
A Daos_system.c264 .events = POLLIN, in aos_queue_recv()
268 if (rfd.revents & POLLIN) { in aos_queue_recv()
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmvideo.c325 pfd.events = POLLIN; in KMSDRM_WaitPageFlip()
341 if (pfd.revents & POLLIN) { in KMSDRM_WaitPageFlip()
/AliOS-Things-master/components/SDL2/src/hidapi/linux/
A Dhid.c781 fds.events = POLLIN; in hid_read_timeout()
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapijoystick.c340 PollUdev.events = POLLIN; in HIDAPI_UpdateDiscovery()

Completed in 22 milliseconds