/external/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 45 #ifndef SOCK_NONBLOCK 46 #define SOCK_NONBLOCK O_NONBLOCK macro 77 if ((flags & SOCK_CLOEXEC) && (flags & SOCK_NONBLOCK)) in accept4_01() 79 if (flags & SOCK_NONBLOCK) in accept4_01() 156 ((nonblock_flag & SOCK_NONBLOCK) != 0); in do_test() 164 fdf & O_NONBLOCK, nonblock_flag & SOCK_NONBLOCK); in do_test() 237 do_test(lfd, &conn_addr, 0, SOCK_NONBLOCK); in main() 238 do_test(lfd, &conn_addr, SOCK_CLOEXEC, SOCK_NONBLOCK); in main()
|
/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/ltp/include/lapi/ |
D | fcntl.h | 33 #ifndef SOCK_NONBLOCK 34 # define SOCK_NONBLOCK O_NONBLOCK macro
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | socket_utils_linux.cc | 36 flags |= nonblock ? SOCK_NONBLOCK : 0; in grpc_accept4()
|
/external/ltp/testcases/kernel/syscalls/socket/ |
D | socket02.c | 46 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
|
/external/libusb/libusb/os/ |
D | linux_netlink.c | 99 #if defined(SOCK_NONBLOCK) in linux_netlink_start_event_monitor() 100 socktype |= SOCK_NONBLOCK; in linux_netlink_start_event_monitor()
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair02.c | 49 {SOCK_STREAM | SOCK_NONBLOCK, O_NONBLOCK, F_GETFL, "non-blocking"}
|
/external/syzkaller/sys/netbsd/ |
D | socket_amd64.const | 53 SOCK_NONBLOCK = 536870912
|
D | socket.txt | 37 socket_type = SOCK_STREAM, SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_NONBLOCK, SOCK_CLOE… 38 accept_flags = SOCK_NONBLOCK, SOCK_CLOEXEC, SOCK_NOSIGPIPE
|
/external/syzkaller/sys/freebsd/ |
D | socket_amd64.const | 64 SOCK_NONBLOCK = 536870912
|
D | socket.txt | 39 socket_type = SOCK_STREAM, SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_NONBLOCK, SOCK_CLOE… 40 accept_flags = SOCK_NONBLOCK, SOCK_CLOEXEC
|
/external/libevent/ |
D | util-internal.h | 456 #ifdef SOCK_NONBLOCK 457 #define EVUTIL_SOCK_NONBLOCK SOCK_NONBLOCK
|
D | evutil.c | 2526 #if defined(SOCK_NONBLOCK) && defined(SOCK_CLOEXEC) in evutil_socket_() 2530 else if ((type & (SOCK_NONBLOCK|SOCK_CLOEXEC)) == 0) in evutil_socket_() 2565 #if defined(EVENT__HAVE_ACCEPT4) && defined(SOCK_CLOEXEC) && defined(SOCK_NONBLOCK) in evutil_accept4_()
|
/external/syzkaller/sys/linux/ |
D | socket_ppc64le.const | 224 SOCK_NONBLOCK = 2048
|
D | socket_386.const | 224 SOCK_NONBLOCK = 2048
|
D | socket_arm64.const | 224 SOCK_NONBLOCK = 2048
|
D | socket_arm.const | 224 SOCK_NONBLOCK = 2048
|
D | socket_amd64.const | 224 SOCK_NONBLOCK = 2048
|
D | socket.txt | 43 …SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_DCCP, SOCK_PACKET, SOCK_NONBLOCK, SOCK_CLOEXEC 44 accept_flags = SOCK_NONBLOCK, SOCK_CLOEXEC
|
/external/android-clat/ |
D | clatd_microbenchmark.c | 165 int sock = socket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, IPPROTO_UDP); in open_socket()
|
D | clatd_test.cpp | 438 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() 1093 .write_fd6 = socket(AF_INET6, SOCK_RAW | SOCK_NONBLOCK, IPPROTO_RAW), in TEST_F()
|
D | clatd.c | 234 int rawsock = socket(AF_INET6, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, IPPROTO_RAW); in open_sockets()
|
/external/honggfuzz/examples/linux_kernel_ip/ |
D | tun.c | 216 tcp_acc_sock = accept4(tcp_sock, (struct sockaddr*)&nsock, &slen, SOCK_NONBLOCK); in main()
|
/external/python/cpython3/Modules/ |
D | socketmodule.c | 960 #ifdef SOCK_NONBLOCK in init_sockobject() 961 s->sock_type = s->sock_type & ~SOCK_NONBLOCK; in init_sockobject() 970 #ifdef SOCK_NONBLOCK in init_sockobject() 971 if (type & SOCK_NONBLOCK) in init_sockobject() 7152 #ifdef SOCK_NONBLOCK 7153 PyModule_AddIntMacro(m, SOCK_NONBLOCK);
|