Searched refs:POLLIN (Results 1 – 19 of 19) sorted by relevance
/AliOS-Things-master/components/posix/include/ |
A D | poll.h | 12 #ifndef POLLIN 13 #define POLLIN 0x001 macro
|
/AliOS-Things-master/components/select/include/ |
A D | select.h | 10 #undef POLLIN 11 #define POLLIN 0x001 macro
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | uselect_poll_basic.py | 29 poller.modify(s, select.POLLIN) 34 poller.modify(s, select.POLLIN)
|
A D | uselect_poll_udp.py | 18 poll.register(s, select.POLLIN)
|
/AliOS-Things-master/components/epoll/example/ |
A D | test_device.c | 103 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 D | test_device.c | 103 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 D | select_example.c | 75 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 D | core.py | 79 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 D | SDL_poll.c | 52 info.events = POLLIN | POLLPRI; in SDL_IOReady()
|
/AliOS-Things-master/components/select/poll/ |
A D | poll.c | 133 if (pfd->events & POLLIN) { in pre_poll() 211 pfd->revents |= POLLIN; in aos_poll()
|
/AliOS-Things-master/components/py_engine/tests/multi_net/ |
A D | tcp_client_rst.py | 24 poll.register(s2, select.POLLIN)
|
/AliOS-Things-master/components/select/select/ |
A D | select.c | 143 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 D | spi_dev.c | 390 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 D | SDL_sndioaudio.c | 194 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 D | uart_dev.c | 429 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 D | aos_system.c | 264 .events = POLLIN, in aos_queue_recv() 268 if (rfd.revents & POLLIN) { in aos_queue_recv()
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmvideo.c | 325 pfd.events = POLLIN; in KMSDRM_WaitPageFlip() 341 if (pfd.revents & POLLIN) { in KMSDRM_WaitPageFlip()
|
/AliOS-Things-master/components/SDL2/src/hidapi/linux/ |
A D | hid.c | 781 fds.events = POLLIN; in hid_read_timeout()
|
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/ |
A D | SDL_hidapijoystick.c | 340 PollUdev.events = POLLIN; in HIDAPI_UpdateDiscovery()
|
Completed in 22 milliseconds