Home
last modified time | relevance | path

Searched refs:MP_STREAM_POLL_RD (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmoduselect.c95 if (ret & MP_STREAM_POLL_RD) { in poll_map_poll()
101 if ((ret & ~(MP_STREAM_POLL_RD | MP_STREAM_POLL_WR)) != 0) { in poll_map_poll()
138 poll_map_add(&poll_map, r_array, rwx_len[0], MP_STREAM_POLL_RD, true); in select_select()
160 if (poll_obj->flags_ret & MP_STREAM_POLL_RD) { in select_select()
166 if ((poll_obj->flags_ret & ~(MP_STREAM_POLL_RD | MP_STREAM_POLL_WR)) != 0) { in select_select()
196 flags = MP_STREAM_POLL_RD | MP_STREAM_POLL_WR; in poll_register()
364 { MP_ROM_QSTR(MP_QSTR_POLLIN), MP_ROM_INT(MP_STREAM_POLL_RD) },
A Dmodlwip.c1449 if (flags & MP_STREAM_POLL_RD) { in lwip_socket_ioctl()
1453 ret |= MP_STREAM_POLL_RD; in lwip_socket_ioctl()
1458 ret |= MP_STREAM_POLL_RD; in lwip_socket_ioctl()
1486 ret |= flags & (MP_STREAM_POLL_RD | MP_STREAM_POLL_WR); in lwip_socket_ioctl()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmphalport.c132 if ((poll_flags & MP_STREAM_POLL_RD) && stdin_ringbuf.iget != stdin_ringbuf.iput) { in mp_hal_stdio_poll()
133 ret |= MP_STREAM_POLL_RD; in mp_hal_stdio_poll()
A Dmachine_uart.c355 if ((flags & MP_STREAM_POLL_RD) && rxbufsize > 0) { in machine_uart_ioctl()
356 ret |= MP_STREAM_POLL_RD; in machine_uart_ioctl()
A Dmodsocket.c752 if (arg & MP_STREAM_POLL_RD) { in socket_stream_ioctl()
770 ret |= MP_STREAM_POLL_RD; in socket_stream_ioctl()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmphalport.c132 if ((poll_flags & MP_STREAM_POLL_RD) && stdin_ringbuf.iget != stdin_ringbuf.iput) { in mp_hal_stdio_poll()
133 ret |= MP_STREAM_POLL_RD; in mp_hal_stdio_poll()
A Dmachine_uart.c355 if ((flags & MP_STREAM_POLL_RD) && rxbufsize > 0) { in machine_uart_ioctl()
356 ret |= MP_STREAM_POLL_RD; in machine_uart_ioctl()
A Dmodsocket.c687 if (arg & MP_STREAM_POLL_RD) { in socket_stream_ioctl()
705 ret |= MP_STREAM_POLL_RD; in socket_stream_ioctl()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmphalport.c30 if ((poll_flags & MP_STREAM_POLL_RD) && in mp_hal_stdio_poll()
32 ret |= MP_STREAM_POLL_RD; in mp_hal_stdio_poll()
A Dmachine_uart.c363 if ((flags & MP_STREAM_POLL_RD) && rxbufsize > 0) { in machine_uart_ioctl()
364 ret |= MP_STREAM_POLL_RD; in machine_uart_ioctl()
A Dmodsocket.c719 if (arg & MP_STREAM_POLL_RD) { in socket_stream_ioctl()
737 ret |= MP_STREAM_POLL_RD; in socket_stream_ioctl()
/AliOS-Things-master/components/py_engine/engine/py/
A Dstream.h48 #define MP_STREAM_POLL_RD (0x0001) macro

Completed in 47 milliseconds