Home
last modified time | relevance | path

Searched refs:SOCK_NONBLOCK (Results 1 - 25 of 67) sorted by relevance

123

/third_party/musl/src/network/
H A Dsocketpair.c13 && (type&(SOCK_CLOEXEC|SOCK_NONBLOCK))) { in socketpair()
15 type & ~(SOCK_CLOEXEC|SOCK_NONBLOCK), in socketpair()
22 if (type & SOCK_NONBLOCK) { in socketpair()
H A Dsocket.c58 && (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 Daccept4.c16 if (flg & SOCK_NONBLOCK) in accept4()
H A Dres_msend.c46 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 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()
H A Dres_msend.c80 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 Dsocket.c51 && (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 Dfcntl.h24 #ifndef SOCK_NONBLOCK
25 # define SOCK_NONBLOCK O_NONBLOCK macro
/third_party/ltp/testcases/kernel/syscalls/accept4/
H A Daccept4_01.c92 { 0, SOCK_NONBLOCK },
93 { SOCK_CLOEXEC, SOCK_NONBLOCK },
/third_party/ltp/testcases/kernel/syscalls/sendfile/
H A Dsendfile07.c31 SAFE_SOCKETPAIR(PF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, p); in setup()
/third_party/musl/arch/mips/bits/
H A Dsocket.h34 #define SOCK_NONBLOCK 0200 macro
/third_party/musl/arch/mips64/bits/
H A Dsocket.h34 #define SOCK_NONBLOCK 0200 macro
/third_party/musl/arch/mipsn32/bits/
H A Dsocket.h34 #define SOCK_NONBLOCK 0200 macro
/third_party/ltp/testcases/kernel/syscalls/socketpair/
H A Dsocketpair02.c11 * 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 Dsocket02.c11 * 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 Dnameservercheck_client.c77 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 Dshrpx_accept_handler.cc67 accept4(faddr_->fd, &sockaddr.sa, &addrlen, SOCK_NONBLOCK | SOCK_CLOEXEC); in accept_connection()
H A Dutil.cc1029 #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 Dfortify_recv_chk_test.cpp25 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFunc()
/third_party/musl/libc-test/src/functional/
H A Dsocket.c46 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 Dmod.rs136 pub const SOCK_NONBLOCK: ::c_int = 2048; consts
/third_party/musl/Benchmark/musl/
H A Dlibc_hilog.cpp39 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;
/third_party/eudev/src/udev/
H A 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/rust/crates/rustix/src/backend/libc/net/
H A Dtypes.rs649 /// `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 Dhilog_adapter.c46 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;

Completed in 11 milliseconds

123