Home
last modified time | relevance | path

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

1234

/third_party/musl/src/network/
Dsocketpair.c13 && (type&(SOCK_CLOEXEC|SOCK_NONBLOCK))) { in socketpair()
15 type & ~(SOCK_CLOEXEC|SOCK_NONBLOCK), in socketpair()
22 if (type & SOCK_NONBLOCK) { in socketpair()
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()
Dres_msend.c79 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()
Daccept4.c16 if (flg & SOCK_NONBLOCK) in accept4()
/third_party/lwip/
D0034-add-accept4-and-epoll_create1.patch33 + * @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/
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/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()
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/ltp/include/lapi/
Dfcntl.h24 #ifndef SOCK_NONBLOCK
25 # define SOCK_NONBLOCK O_NONBLOCK macro
/third_party/ltp/testcases/kernel/syscalls/accept4/
Daccept4_01.c92 { 0, SOCK_NONBLOCK },
93 { SOCK_CLOEXEC, SOCK_NONBLOCK },
/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/rust/crates/libc/libc-test/semver/
Dredox.txt131 SOCK_NONBLOCK
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/
Dfortify_recv_chk_test.cpp25 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/
Dmod.rs136 pub const SOCK_NONBLOCK: ::c_int = 2048; constant
/third_party/musl/Benchmark/musl/
Dlibc_hilog.cpp39 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;
/third_party/rust/crates/rustix/src/backend/libc/net/
Dtypes.rs651 const NONBLOCK = c::SOCK_NONBLOCK;
666 const NONBLOCK = c::SOCK_NONBLOCK;
/third_party/musl/src/hilog/linux/
Dhilog_adapter.c46 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;
/third_party/musl/porting/linux/user/src/hilog/
Dhilog_adapter.c46 const int SOCKET_TYPE = SOCK_DGRAM | SOCK_NONBLOCK | SOCK_CLOEXEC;

1234