/third_party/musl/src/network/ |
H A D | socketpair.c | 13 && (type&(SOCK_CLOEXEC|SOCK_NONBLOCK))) { in socketpair() 15 type & ~(SOCK_CLOEXEC|SOCK_NONBLOCK), in socketpair() 22 if (type & SOCK_NONBLOCK) { in socketpair()
|
H A D | socket.c | 58 && (type&(SOCK_CLOEXEC|SOCK_NONBLOCK))) { in __libc_socket() 60 type & ~(SOCK_CLOEXEC|SOCK_NONBLOCK), in __libc_socket() 65 if (type & SOCK_NONBLOCK) in __libc_socket()
|
H A D | accept4.c | 16 if (flg & SOCK_NONBLOCK) in accept4()
|
H A D | res_msend.c | 46 int fd = socket(family, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in start_tcp() 143 fd = socket(family, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in res_msend_rc_ext() 162 fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in res_msend_rc_ext()
|
/third_party/musl/porting/linux/user/src/network/ |
H A D | socket.c | 54 && (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()
|
H A D | res_msend.c | 80 fd = socket(family, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in res_msend_rc_ext() 84 fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in res_msend_rc_ext()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
H A D | socket.c | 51 && (type&(SOCK_CLOEXEC|SOCK_NONBLOCK))) { in socket() 53 type & ~(SOCK_CLOEXEC|SOCK_NONBLOCK), in socket() 58 if (type & SOCK_NONBLOCK) in socket()
|
/third_party/ltp/include/lapi/ |
H A D | fcntl.h | 24 #ifndef SOCK_NONBLOCK 25 # define SOCK_NONBLOCK O_NONBLOCK macro
|
/third_party/ltp/testcases/kernel/syscalls/accept4/ |
H A D | accept4_01.c | 92 { 0, SOCK_NONBLOCK }, 93 { SOCK_CLOEXEC, SOCK_NONBLOCK },
|
/third_party/ltp/testcases/kernel/syscalls/sendfile/ |
H A D | sendfile07.c | 31 SAFE_SOCKETPAIR(PF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, p); in setup()
|
/third_party/musl/arch/mips/bits/ |
H A D | socket.h | 34 #define SOCK_NONBLOCK 0200 macro
|
/third_party/musl/arch/mips64/bits/ |
H A D | socket.h | 34 #define SOCK_NONBLOCK 0200 macro
|
/third_party/musl/arch/mipsn32/bits/ |
H A D | socket.h | 34 #define SOCK_NONBLOCK 0200 macro
|
/third_party/ltp/testcases/kernel/syscalls/socketpair/ |
H A D | socketpair02.c | 11 * This Program tests the new flag SOCK_CLOEXEC and SOCK_NONBLOCK introduced 36 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
|
/third_party/ltp/testcases/kernel/syscalls/socket/ |
H A D | socket02.c | 11 * This program tests the new flag SOCK_CLOEXEC and SOCK_NONBLOCK introduced 33 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
H A D | nameservercheck_client.c | 77 int fd = socket(family, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in start_tcp() 151 fd = socket(family, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in res_msend_rc_ext() 160 fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in res_msend_rc_ext()
|
/third_party/nghttp2/src/ |
H A D | shrpx_accept_handler.cc | 67 accept4(faddr_->fd, &sockaddr.sa, &addrlen, SOCK_NONBLOCK | SOCK_CLOEXEC); in accept_connection()
|
H A D | util.cc | 1029 #ifdef SOCK_NONBLOCK in create_nonblock_socket() 1030 auto fd = socket(family, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0); in create_nonblock_socket() 1035 #else // !SOCK_NONBLOCK in create_nonblock_socket() 1044 #endif // !SOCK_NONBLOCK in create_nonblock_socket() 1054 #ifdef SOCK_NONBLOCK in create_nonblock_udp_socket() 1055 auto fd = socket(family, SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0); in create_nonblock_udp_socket() 1060 #else // !SOCK_NONBLOCK in create_nonblock_udp_socket() 1069 #endif // !SOCK_NONBLOCK in create_nonblock_udp_socket()
|
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/ |
H A D | fortify_recv_chk_test.cpp | 25 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFunc()
|
/third_party/musl/libc-test/src/functional/ |
H A D | socket.c | 46 TESTE((c=socket(PF_INET, SOCK_STREAM|SOCK_NONBLOCK, IPPROTO_TCP))>=0); in main() 47 TEST(fcntl(c, F_GETFL)&O_NONBLOCK, "SOCK_NONBLOCK did not work\n"); in main()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/b64/ |
H A D | mod.rs | 136 pub const SOCK_NONBLOCK: ::c_int = 2048; consts
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_hilog.cpp | 39 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;
|
/third_party/eudev/src/udev/ |
H A D | udev-ctrl.c | 87 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/rust/crates/rustix/src/backend/libc/net/ |
H A D | types.rs | 649 /// `SOCK_NONBLOCK` 651 const NONBLOCK = c::SOCK_NONBLOCK; 664 /// `SOCK_NONBLOCK` 666 const NONBLOCK = c::SOCK_NONBLOCK;
|
/third_party/musl/porting/linux/user/src/hilog/ |
H A D | hilog_adapter.c | 46 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;
|