Home
last modified time | relevance | path

Searched refs:O_NONBLOCK (Results 1 – 22 of 22) sorted by relevance

/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_audiodev_c.h36 #define OPEN_FLAGS_OUTPUT (O_WRONLY|O_NONBLOCK)
37 #define OPEN_FLAGS_INPUT (O_RDONLY|O_NONBLOCK)
/AliOS-Things-master/components/libc_stub/compilers/armlibc/sys/
A Dfcntl.h17 #define O_NONBLOCK 04000 macro
32 #define O_NDELAY O_NONBLOCK
/AliOS-Things-master/components/libc_stub/compilers/iar/sys/
A Dfcntl.h17 #define O_NONBLOCK 04000 macro
32 #define O_NDELAY O_NONBLOCK
/AliOS-Things-master/components/mbedtls/platform/aos/library/
A Dnet_sockets.c257 if( ( fcntl( ctx->fd, F_GETFL, 0) & O_NONBLOCK ) != O_NONBLOCK ) in net_would_block()
281 flags &= ~O_NONBLOCK; in mbedtls_net_set_block()
291 flags |= O_NONBLOCK; in mbedtls_net_set_nonblock()
/AliOS-Things-master/components/mbedtls/platform/yoc/
A Dnet_sockets.c205 if ( ( fcntl( ctx->fd, F_GETFL, 0) & O_NONBLOCK ) != O_NONBLOCK ) { in net_would_block()
312 return ( fcntl( ctx->fd, F_SETFL, fcntl( ctx->fd, F_GETFL, 0 ) & ~O_NONBLOCK ) ); in mbedtls_net_set_block()
317 return ( fcntl( ctx->fd, F_SETFL, fcntl( ctx->fd, F_GETFL, 0 ) | O_NONBLOCK ) ); in mbedtls_net_set_nonblock()
/AliOS-Things-master/components/mbedtls/library/
A Dnet_sockets.c289 if( ( fcntl( ctx->fd, F_GETFL ) & O_NONBLOCK ) != O_NONBLOCK ) in net_would_block()
437 return( fcntl( ctx->fd, F_SETFL, fcntl( ctx->fd, F_GETFL ) & ~O_NONBLOCK ) ); in mbedtls_net_set_block()
448 return( fcntl( ctx->fd, F_SETFL, fcntl( ctx->fd, F_GETFL ) | O_NONBLOCK ) ); in mbedtls_net_set_nonblock()
/AliOS-Things-master/components/a2sa/src/framework/
A Dsound_pcm.c25 fd = open(fn, O_RDWR|O_NONBLOCK); in aos_device_name_hint()
45 fd = open(fn, O_RDWR|O_NONBLOCK); in aos_device_name_hint()
84 fd = open(fn, O_RDWR|O_NONBLOCK); in aos_pcm_open()
106 fd = open(fn, O_RDWR|O_NONBLOCK); in aos_pcm_open()
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/
A Dsockets.h496 #ifndef O_NONBLOCK
497 #define O_NONBLOCK 1 /* nonblocking I/O */ macro
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/
A Dsockets.h396 #ifndef O_NONBLOCK
397 #define O_NONBLOCK 1 /* nonblocking I/O */ macro
/AliOS-Things-master/components/SDL2/src/audio/dsp/
A DSDL_dspaudio.c115 ctlflags &= ~O_NONBLOCK; in DSP_OpenDevice()
/AliOS-Things-master/components/SDL2/src/core/alios/
A DSDL_evdev.c370 item->fd = open(dev_path, O_RDONLY | O_NONBLOCK); in SDL_EVDEV_device_added()
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylanddatamanager.c344 } else if (pipe2(pipefd, O_CLOEXEC|O_NONBLOCK) == -1) { in Wayland_data_offer_receive()
/AliOS-Things-master/components/SDL2/src/core/linux/
A DSDL_ibus.c425 fcntl(inotify_fd, F_SETFL, O_NONBLOCK); in SDL_IBus_Init()
A DSDL_evdev.c725 item->fd = open(dev_path, O_RDONLY | O_NONBLOCK); in SDL_EVDEV_device_added()
/AliOS-Things-master/components/SDL2/src/joystick/bsd/
A DSDL_sysjoystick.c517 fcntl(fd, F_SETFL, O_NONBLOCK);
/AliOS-Things-master/components/lwip/lwip2.0.0/api/
A Dsockets.c3271 ret = netconn_is_nonblocking(sock->conn) ? O_NONBLOCK : 0; in lwip_fcntl()
3275 if ((val & ~O_NONBLOCK) == 0) { in lwip_fcntl()
3277 netconn_set_nonblocking(sock->conn, val & O_NONBLOCK); in lwip_fcntl()
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodsocket.c459 lwip_fcntl(sock->fd, F_SETFL, timeout_ms ? 0 : O_NONBLOCK); in _socket_settimeout()
/AliOS-Things-master/components/py_engine/adapter/haas510/
A Dmodsocket.c481 lwip_fcntl(sock->fd, F_SETFL, timeout_ms ? 0 : O_NONBLOCK); in _socket_settimeout()
/AliOS-Things-master/components/py_engine/adapter/haas600/
A Dmodsocket.c444 lwip_fcntl(sock->fd, F_SETFL, timeout_ms ? 0 : O_NONBLOCK); in _socket_settimeout()
/AliOS-Things-master/components/websocket/src/
A Drws_socketpriv.c592 fcntl(s->socket, F_SETFL, O_NONBLOCK); in rws_socket_connect_to_host()
/AliOS-Things-master/components/linksdk/portfiles/aiot_port/
A Daos_port.c294 res = fcntl(fd, F_SETFL, sock_option | O_NONBLOCK); in _core_sysdep_network_connect()
/AliOS-Things-master/components/SDL2/src/joystick/linux/
A DSDL_sysjoystick.c835 fcntl(fd, F_SETFL, O_NONBLOCK); in LINUX_JoystickOpen()

Completed in 128 milliseconds