/third_party/musl/src/network/ |
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()
|
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()
|
D | res_msend.c | 79 fd = socket(family, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in res_msend_rc_ext() 83 fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in res_msend_rc_ext()
|
D | accept4.c | 16 if (flg & SOCK_NONBLOCK) in accept4()
|
/third_party/lwip/ |
D | 0034-add-accept4-and-epoll_create1.patch | 33 + * @param flags only support SOCK_CLOEXEC and SOCK_NONBLOCK 109 + if (flags & ~(SOCK_CLOEXEC | SOCK_NONBLOCK)){ 114 + if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) 115 + flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; 149 +#ifndef SOCK_NONBLOCK 150 +#define SOCK_NONBLOCK O_NONBLOCK
|
/third_party/musl/porting/liteos_a/user/src/network/ |
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/musl/porting/linux/user/src/network/ |
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()
|
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/ltp/include/lapi/ |
D | fcntl.h | 24 #ifndef SOCK_NONBLOCK 25 # define SOCK_NONBLOCK O_NONBLOCK macro
|
/third_party/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 92 { 0, SOCK_NONBLOCK }, 93 { SOCK_CLOEXEC, SOCK_NONBLOCK },
|
/third_party/musl/arch/mips/bits/ |
D | socket.h | 34 #define SOCK_NONBLOCK 0200 macro
|
/third_party/musl/arch/mipsn32/bits/ |
D | socket.h | 34 #define SOCK_NONBLOCK 0200 macro
|
/third_party/musl/arch/mips64/bits/ |
D | socket.h | 34 #define SOCK_NONBLOCK 0200 macro
|
/third_party/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile07.c | 31 SAFE_SOCKETPAIR(PF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, p); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/socket/ |
D | socket02.c | 33 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
|
/third_party/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair02.c | 36 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
|
/third_party/nghttp2/src/ |
D | shrpx_accept_handler.cc | 67 accept4(faddr_->fd, &sockaddr.sa, &addrlen, SOCK_NONBLOCK | SOCK_CLOEXEC); in accept_connection()
|
/third_party/musl/libc-test/src/functional/ |
D | socket.c | 46 TESTE((c=socket(PF_INET, SOCK_STREAM|SOCK_NONBLOCK, IPPROTO_TCP))>=0); in main()
|
/third_party/rust/crates/libc/libc-test/semver/ |
D | redox.txt | 131 SOCK_NONBLOCK
|
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/ |
D | fortify_recv_chk_test.cpp | 25 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFunc()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/b64/ |
D | mod.rs | 136 pub const SOCK_NONBLOCK: ::c_int = 2048; constant
|
/third_party/musl/Benchmark/musl/ |
D | libc_hilog.cpp | 39 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;
|
/third_party/rust/crates/rustix/src/backend/libc/net/ |
D | types.rs | 651 const NONBLOCK = c::SOCK_NONBLOCK; 666 const NONBLOCK = c::SOCK_NONBLOCK;
|
/third_party/musl/src/hilog/linux/ |
D | hilog_adapter.c | 46 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;
|
/third_party/musl/porting/linux/user/src/hilog/ |
D | hilog_adapter.c | 46 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;
|