Home
last modified time | relevance | path

Searched refs:MP_EWOULDBLOCK (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dmperrno.h74 #define MP_EWOULDBLOCK MP_EAGAIN // Operation would block macro
130 #define MP_EWOULDBLOCK EWOULDBLOCK macro
A Dstream.h130 #define mp_is_nonblocking_error(errno) ((errno) == MP_EAGAIN || (errno) == MP_EWOULDBLOCK)
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodussl_mbedtls.c301 ret = MP_EWOULDBLOCK; in socket_read()
306 ret = MP_EWOULDBLOCK; in socket_read()
320 ret = MP_EWOULDBLOCK; in socket_write()
325 ret = MP_EWOULDBLOCK; in socket_write()
A Dmodlwip.c204 MP_EWOULDBLOCK, /* ERR_TIMEOUT -3 Timeout */
208 MP_EWOULDBLOCK, /* ERR_WOULDBLOCK -7 Operation would block. */
225 MP_EWOULDBLOCK, /* ERR_TIMEOUT -3 Timeout */
229 MP_EWOULDBLOCK, /* ERR_WOULDBLOCK -7 Operation would block. */
249 MP_EWOULDBLOCK, /* ERR_TIMEOUT -3 Timeout */
253 MP_EWOULDBLOCK, /* ERR_WOULDBLOCK -7 Operation would block */
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodsocket.c540 *errcode = sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT; in _socket_read_data()
602 mp_raise_OSError(sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT); in _socket_send()
700 *errcode = sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT; in socket_stream_write()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodsocket.c564 *errcode = sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT; in _socket_read_data()
628 mp_raise_OSError(sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT); in _socket_send()
732 *errcode = sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT; in socket_stream_write()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodsocket.c521 *errcode = sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT; in _socket_read_data()
579 mp_raise_OSError(sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT); in _socket_send()
669 *errcode = sock->retries == 0 ? MP_EWOULDBLOCK : MP_ETIMEDOUT; in socket_stream_write()

Completed in 15 milliseconds