/AliOS-Things-master/components/py_engine/tests/multi_net/ |
A D | tcp_client_rst.py | 23 poll = select.poll() 24 poll.register(s2, select.POLLIN) 26 print(convert_poll_list(poll.poll(1000))) 30 print(convert_poll_list(poll.poll(1000))) 32 print(convert_poll_list(poll.poll(1000))) 34 print(convert_poll_list(poll.poll(1000))) 37 print(convert_poll_list(poll.poll(1000))) 40 print(convert_poll_list(poll.poll(1000)))
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | uselect_poll_udp.py | 15 poll = select.poll() variable 18 poll.register(s, select.POLLIN) 19 print(len(poll.poll(0))) 22 poll.modify(s, select.POLLOUT) 23 print(poll.poll(0)[0][1] == select.POLLOUT)
|
A D | uselect_poll_basic.py | 7 select.poll # Raises AttributeError for CPython implementations without poll() 13 poller = select.poll() 41 p = poller.poll(0)
|
/AliOS-Things-master/components/select/ |
A D | README.md | 6 select组件实现了IO多路复用机制select和poll。 10 - poll 29 ├── poll 30 │ └── poll.c # aos_poll接口实现 51 aos_select/aos_poll功能定义与posix标准的select/poll兼容,可参考linux相关接口文档: 54 - 参考 [poll](https://man7.org/linux/man-pages/man2/poll.2.html) 126 +++++++poll example+++++++++
|
/AliOS-Things-master/components/py_engine/tests/net_hosted/ |
A D | connect_poll.py | 11 poller = select.poll() 15 p = poller.poll(0) 21 print(len(poller.poll(0))) 24 p = poller.poll(1000)
|
/AliOS-Things-master/components/epoll/ |
A D | README.md | 24 │ ├── poll.h # 系统中无poll功能时poll的数据结构定义,常用与驱动开发
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | moduselect.c | 349 mp_obj_poll_t *poll = m_new_obj(mp_obj_poll_t); in select_poll() local 350 poll->base.type = &mp_type_poll; in select_poll() 351 mp_map_init(&poll->poll_map, 0); in select_poll() 352 poll->iter_cnt = 0; in select_poll() 353 poll->ret_tuple = MP_OBJ_NULL; in select_poll() 354 return MP_OBJ_FROM_PTR(poll); in select_poll()
|
A D | modlwip.c | 102 void mod_lwip_register_poll(void (*poll)(void *arg), void *poll_arg); 103 void mod_lwip_deregister_poll(void (*poll)(void *arg), void *poll_arg); 1609 void (*poll)(void *arg); member 1615 void mod_lwip_register_poll(void (*poll)(void *arg), void *poll_arg) { in mod_lwip_register_poll() 1616 lwip_poll_list.poll = poll; in mod_lwip_register_poll() 1620 void mod_lwip_deregister_poll(void (*poll)(void *arg), void *poll_arg) { in mod_lwip_deregister_poll() 1621 lwip_poll_list.poll = NULL; in mod_lwip_deregister_poll() 1629 lwip_poll_list.poll = NULL; in mod_lwip_reset() 1635 if (lwip_poll_list.poll != NULL) { in mod_lwip_callback() 1636 lwip_poll_list.poll(lwip_poll_list.poll_arg); in mod_lwip_callback()
|
/AliOS-Things-master/components/drivers/core/base/include/drivers/char/ |
A D | u_cdev_msg.h | 76 } poll; member 124 } poll; member
|
/AliOS-Things-master/hardware/chip/haas1000/release/auto_build_tool/ |
A D | haas1000_genbin.py | 197 status = child.poll() 221 status = child.poll() 251 status = child.poll() 296 status = child.poll() 323 status = child.poll() 425 status = child.poll()
|
/AliOS-Things-master/hardware/chip/rtl872xd/release/auto_build_tool/ |
A D | genbin.py | 197 status = child.poll() 221 status = child.poll() 251 status = child.poll() 296 status = child.poll() 323 status = child.poll() 428 status = child.poll()
|
/AliOS-Things-master/components/posix/src/ |
A D | poll.c | 8 int poll(struct pollfd fds[], nfds_t nfds, int timeout) in poll() function
|
/AliOS-Things-master/components/posix/include/ |
A D | poll.h | 30 int poll(struct pollfd fds[], nfds_t nfds, int timeout);
|
/AliOS-Things-master/components/SDL2/src/core/unix/ |
A D | SDL_poll.c | 54 result = poll(&info, 1, timeoutMS); in SDL_IOReady()
|
/AliOS-Things-master/components/drivers/peripheral/uart/ |
A D | README.md | 68 int poll(struct pollfd *fds, nfds_t nfds, int timeout); 71 兼容POSIX标准的poll/select接口。
|
/AliOS-Things-master/components/py_engine/engine/tools/ |
A D | haasboard.py | 182 self.poll = select.poll() 183 self.poll.register(self.subp.stdout.fileno()) 202 res = self.poll.poll(0)
|
A D | pyboard.py | 183 self.poll = select.poll() 184 self.poll.register(self.subp.stdout.fileno()) 203 res = self.poll.poll(0)
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | tcp.h | 298 tcp_poll_fn poll; member 359 void tcp_poll (struct tcp_pcb *pcb, tcp_poll_fn poll, u8_t interval);
|
/AliOS-Things-master/components/select/example/ |
A D | select_example.c | 119 ALIOS_CLI_CMD_REGISTER(select_comp_example, select_example, select and poll API base example)
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | tcp.h | 350 tcp_poll_fn poll; member 412 void tcp_poll (struct tcp_pcb *pcb, tcp_poll_fn poll, u8_t interval);
|
/AliOS-Things-master/components/py_engine/tests/ |
A D | run-multitests.py | 138 if self.popen and self.popen.poll() is None: 144 self.finished = self.popen.poll() is not None 148 self.finished = self.popen.poll() is not None
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/priv/ |
A D | tcp_priv.h | 221 if((pcb)->poll != NULL) \ 222 (ret) = (pcb)->poll((pcb)->callback_arg,(pcb)); \
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/priv/ |
A D | tcp_priv.h | 221 if((pcb)->poll != NULL) \ 222 (ret) = (pcb)->poll((pcb)->callback_arg,(pcb)); \
|
/AliOS-Things-master/components/ble_host/bt_host/ |
A D | build.mk | 46 port/aos/poll.c
|
/AliOS-Things-master/components/drivers/peripheral/adc/src/ |
A D | adc_dev.c | 108 .poll = NULL,
|