/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | android-cloexec-accept4.cpp | 6 #define SOCK_NONBLOCK 1 macro 21 accept4(0, NULL, NULL, SOCK_NONBLOCK); in a() 24 TEMP_FAILURE_RETRY(accept4(0, NULL, NULL, SOCK_NONBLOCK)); in a() 37 int flag = SOCK_NONBLOCK; in f() 46 accept4(0, NULL, NULL, SOCK_NONBLOCK); in d() 47 TEMP_FAILURE_RETRY(accept4(0, NULL, NULL, SOCK_NONBLOCK)); in d() 55 accept4(0, NULL, NULL, SOCK_NONBLOCK | SOCK_CLOEXEC); in e() 56 TEMP_FAILURE_RETRY(accept4(0, NULL, NULL, SOCK_NONBLOCK | SOCK_CLOEXEC)); in e() 63 accept4(0, NULL, NULL, SOCK_NONBLOCK); in d() 64 TEMP_FAILURE_RETRY(accept4(0, NULL, NULL, SOCK_NONBLOCK)); in d()
|
/external/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 30 #ifndef SOCK_NONBLOCK 31 # define SOCK_NONBLOCK O_NONBLOCK macro 102 { 0, SOCK_NONBLOCK }, 103 { SOCK_CLOEXEC, SOCK_NONBLOCK },
|
/external/strace/xlat/ |
D | sock_type_flags.h | 20 #if defined(SOCK_NONBLOCK) || (defined(HAVE_DECL_SOCK_NONBLOCK) && HAVE_DECL_SOCK_NONBLOCK) 21 XLAT(SOCK_NONBLOCK),
|
D | sock_type_flags.in | 2 SOCK_NONBLOCK
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | android-cloexec-accept4.rst | 14 accept4(sockfd, addr, addrlen, SOCK_NONBLOCK); 18 accept4(sockfd, addr, addrlen, SOCK_NONBLOCK | SOCK_CLOEXEC);
|
/external/ltp/include/lapi/ |
D | fcntl.h | 33 #ifndef SOCK_NONBLOCK 34 # define SOCK_NONBLOCK O_NONBLOCK macro
|
/external/libusb/libusb/os/ |
D | linux_netlink.c | 46 #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()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | socket_utils_linux.cc | 36 flags |= nonblock ? SOCK_NONBLOCK : 0; in grpc_accept4()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | socket_utils_linux.cc | 36 flags |= nonblock ? SOCK_NONBLOCK : 0; in grpc_accept4()
|
/external/libiio/src/iiod/ |
D | iiod.c | 233 fd = socket(AF_INET6, SOCK_STREAM | SOCK_NONBLOCK, 0); in main_server() 237 fd = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, 0); in main_server() 291 SOCK_NONBLOCK); in main_server()
|
/external/ltp/testcases/kernel/syscalls/socket/ |
D | socket02.c | 34 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair02.c | 37 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/ |
D | paccept.cpp | 61 sfd = paccept(fd, (struct sockaddr *)&client, &len, &set, SOCK_NONBLOCK); in main()
|
/external/rust/crates/mio/src/sys/unix/uds/ |
D | listener.rs | 54 let flags = libc::SOCK_NONBLOCK | libc::SOCK_CLOEXEC; in accept()
|
D | mod.rs | 81 let flags = flags | libc::SOCK_NONBLOCK | libc::SOCK_CLOEXEC;
|
/external/libevent/ |
D | util-internal.h | 513 #ifdef SOCK_NONBLOCK 514 #define EVUTIL_SOCK_NONBLOCK SOCK_NONBLOCK
|
D | evutil.c | 2598 #if defined(SOCK_NONBLOCK) && defined(SOCK_CLOEXEC) in evutil_socket_() 2602 else if ((type & (SOCK_NONBLOCK|SOCK_CLOEXEC)) == 0) in evutil_socket_() 2637 #if defined(EVENT__HAVE_ACCEPT4) && defined(SOCK_CLOEXEC) && defined(SOCK_NONBLOCK) in evutil_accept4_()
|
/external/rust/crates/libc/src/unix/linux_like/linux/musl/b64/ |
D | mod.rs | 142 pub const SOCK_NONBLOCK: ::c_int = 2048; constant
|
/external/rust/crates/mio/src/sys/unix/ |
D | net.rs | 25 let socket_type = socket_type | libc::SOCK_NONBLOCK | libc::SOCK_CLOEXEC; in new_socket()
|
D | tcp.rs | 450 libc::SOCK_CLOEXEC | libc::SOCK_NONBLOCK, in accept()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_sock_fields.c | 322 listen_fd = socket(AF_INET6, SOCK_STREAM | SOCK_NONBLOCK, 0); in test() 337 cli_fd = socket(AF_INET6, SOCK_STREAM | SOCK_NONBLOCK, 0); in test()
|
/external/android-clat/ |
D | clatd_test.cpp | 437 if (socketpair(AF_UNIX, SOCK_DGRAM | SOCK_NONBLOCK, 0, fds)) { in do_translate_packet() 566 .write_fd6 = socket(AF_INET6, SOCK_RAW | SOCK_NONBLOCK, IPPROTO_RAW), in makeTunData() 927 .write_fd6 = socket(AF_INET6, SOCK_RAW | SOCK_NONBLOCK, IPPROTO_RAW), in TEST_F()
|
D | clatd.c | 193 int rawsock = socket(AF_INET6, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, IPPROTO_RAW); in open_sockets()
|
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/ |
D | mod.rs | 65 pub const SOCK_NONBLOCK: ::c_int = 128; constant
|
/external/python/cpython3/Modules/ |
D | socketmodule.c | 1013 #ifdef SOCK_NONBLOCK in init_sockobject() 1014 s->sock_type = s->sock_type & ~SOCK_NONBLOCK; in init_sockobject() 1023 #ifdef SOCK_NONBLOCK in init_sockobject() 1024 if (type & SOCK_NONBLOCK) in init_sockobject() 7518 #ifdef SOCK_NONBLOCK 7519 PyModule_AddIntMacro(m, SOCK_NONBLOCK);
|