Home
last modified time | relevance | path

Searched refs:SOCK_NONBLOCK (Results 1 – 25 of 50) sorted by relevance

12

/third_party/musl/src/network/
Dsocketpair.c10 && (type&(SOCK_CLOEXEC|SOCK_NONBLOCK))) { in socketpair()
12 type & ~(SOCK_CLOEXEC|SOCK_NONBLOCK), in socketpair()
19 if (type & SOCK_NONBLOCK) { in socketpair()
Dsocket.c51 && (type&(SOCK_CLOEXEC|SOCK_NONBLOCK))) { in socket()
53 type & ~(SOCK_CLOEXEC|SOCK_NONBLOCK), in socket()
58 if (type & SOCK_NONBLOCK) in socket()
Daccept4.c16 if (flg & SOCK_NONBLOCK) in accept4()
Dres_msend.c72 fd = socket(family, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in __res_msend_rc()
76 fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in __res_msend_rc()
/third_party/musl/porting/linux/user/src/network/
Dsocket.c54 && (type & (SOCK_CLOEXEC | SOCK_NONBLOCK))) { in __libc_socket()
56 type & ~(SOCK_CLOEXEC | SOCK_NONBLOCK), in __libc_socket()
64 if (type & SOCK_NONBLOCK) { in __libc_socket()
/third_party/ltp/include/lapi/
Dfcntl.h25 #ifndef SOCK_NONBLOCK
26 # define SOCK_NONBLOCK O_NONBLOCK macro
/third_party/libusb/libusb/os/
Dlinux_netlink.c46 #ifndef SOCK_NONBLOCK
47 #define SOCK_NONBLOCK 0 macro
77 if (!(socktype & SOCK_NONBLOCK)) { in set_fd_cloexec_nb()
96 int socktype = SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC; in linux_netlink_start_event_monitor()
/third_party/ltp/testcases/kernel/syscalls/accept4/
Daccept4_01.c92 { 0, SOCK_NONBLOCK },
93 { SOCK_CLOEXEC, SOCK_NONBLOCK },
/third_party/grpc/src/core/lib/iomgr/
Dsocket_utils_linux.cc36 flags |= nonblock ? SOCK_NONBLOCK : 0; in grpc_accept4()
/third_party/musl/arch/mips/bits/
Dsocket.h34 #define SOCK_NONBLOCK 0200 macro
/third_party/musl/arch/mipsn32/bits/
Dsocket.h34 #define SOCK_NONBLOCK 0200 macro
/third_party/musl/arch/mips64/bits/
Dsocket.h34 #define SOCK_NONBLOCK 0200 macro
/third_party/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile07.c31 SAFE_SOCKETPAIR(PF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, p); in setup()
/third_party/ltp/testcases/kernel/syscalls/socket/
Dsocket02.c33 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/third_party/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair02.c36 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
/third_party/nghttp2/src/
Dshrpx_accept_handler.cc67 accept4(faddr_->fd, &sockaddr.sa, &addrlen, SOCK_NONBLOCK | SOCK_CLOEXEC); in accept_connection()
/third_party/musl/libc-test/src/functional/
Dsocket.c46 TESTE((c=socket(PF_INET, SOCK_STREAM|SOCK_NONBLOCK, IPPROTO_TCP))>=0); in main()
/third_party/eudev/src/udev/
Dudev-ctrl.c87 uctrl->sock = socket(AF_LOCAL, SOCK_SEQPACKET|SOCK_NONBLOCK|SOCK_CLOEXEC, 0); in udev_ctrl_new_from_fd()
200 conn->sock = accept4(uctrl->sock, NULL, NULL, SOCK_CLOEXEC|SOCK_NONBLOCK); in udev_ctrl_get_connection()
/third_party/musl/porting/linux/user/src/hilog/
Dhilog_adapter.c43 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;
/third_party/skia/third_party/externals/microhttpd/
DMHD_config.h.in32 /* Define to 1 if you have the declaration of `SOCK_NONBLOCK', and to 0 if you
155 /* SOCK_NONBLOCK is defined in a socket header */
/third_party/musl/ndk_musl_include/sys/
Dsocket.h100 #define SOCK_NONBLOCK 04000 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsocket.h96 #define SOCK_NONBLOCK 04000 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dsocket.h85 #define SOCK_NONBLOCK 04000 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsocket.h96 #define SOCK_NONBLOCK 04000 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dsocket.h96 #define SOCK_NONBLOCK 04000 macro

12