HomeSort by relevance Sort by last modified time
    Searched refs:SOCK_CLOEXEC (Results 1 - 25 of 75) sorted by null

1 2 3

  /external/ltp/include/lapi/
socket.h 44 #ifndef SOCK_CLOEXEC
45 # define SOCK_CLOEXEC 02000000
fcntl.h 29 #ifndef SOCK_CLOEXEC
30 # define SOCK_CLOEXEC O_CLOEXEC
  /external/strace/xlat/
sock_type_flags.h 17 #if defined(SOCK_CLOEXEC) || (defined(HAVE_DECL_SOCK_CLOEXEC) && HAVE_DECL_SOCK_CLOEXEC)
18 XLAT(SOCK_CLOEXEC),
  /external/wayland/src/
wayland-os.h 52 #ifndef SOCK_CLOEXEC
53 #define SOCK_CLOEXEC 02000000
wayland-os.c 65 fd = socket(domain, type | SOCK_CLOEXEC, protocol);
158 fd = accept4(sockfd, addr, addrlen, SOCK_CLOEXEC);
  /external/ltp/testcases/kernel/syscalls/accept4/
accept4_01.c 42 #ifndef SOCK_CLOEXEC
43 #define SOCK_CLOEXEC O_CLOEXEC
75 if (flags & SOCK_CLOEXEC)
76 tst_resm(TINFO, "SOCK_CLOEXEC");
77 if ((flags & SOCK_CLOEXEC) && (flags & SOCK_NONBLOCK))
142 ((closeonexec_flag & SOCK_CLOEXEC) != 0);
150 fdf & FD_CLOEXEC, closeonexec_flag & SOCK_CLOEXEC);
236 do_test(lfd, &conn_addr, SOCK_CLOEXEC, 0);
238 do_test(lfd, &conn_addr, SOCK_CLOEXEC, SOCK_NONBLOCK);
  /external/grpc-grpc/src/core/lib/iomgr/
socket_utils_linux.cc 37 flags |= cloexec ? SOCK_CLOEXEC : 0;
  /external/android-clat/
mtu.c 37 fd = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0);
ring.c 33 int packetsock = socket(AF_PACKET, SOCK_DGRAM | SOCK_CLOEXEC, htons(ETH_P_IPV6));
  /external/honggfuzz/libhfcommon/
ns.c 94 int sock = socket(PF_INET, SOCK_STREAM | SOCK_CLOEXEC, IPPROTO_TCP);
96 if ((sock = socket(PF_INET6, SOCK_STREAM | SOCK_CLOEXEC, IPPROTO_TCP)) == -1) {
97 PLOG_E("socket(PF_INET6, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP)");
  /external/ltp/testcases/kernel/syscalls/recvmsg/
recvmsg02.c 69 sdr = SAFE_SOCKET(PF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_IP);
73 sdw = SAFE_SOCKET(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP);
  /external/wayland/tests/
resources-test.c 43 assert(socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, s) == 0);
103 assert(socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, s) == 0);
147 assert(socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, s) == 0);
client-test.c 62 assert(socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0, s) == 0);
os-wrappers-test.c 76 if (fall_back && (type & SOCK_CLOEXEC)) {
222 SOCK_STREAM | SOCK_CLOEXEC, 0, data->s) == 0);
  /bionic/libc/bionic/
bionic_netlink.cpp 63 fd_ = socket(PF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE);
net_if.cpp 48 int s = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0);
62 int s = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0);
  /cts/hostsidetests/cpptools/test-apps/ConnectorNativeProgram/
connector.cpp 46 if ((fd = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0)) == -1) {
  /external/ltp/testcases/kernel/syscalls/socket/
socket02.c 23 * This program tests the new flag SOCK_CLOEXEC and SOCK_NONBLOCK introduced
44 {SOCK_STREAM | SOCK_CLOEXEC, FD_CLOEXEC, F_GETFD, "close-on-exec"},
  /external/ltp/testcases/kernel/syscalls/socketpair/
socketpair02.c 23 * This Program tests the new flag SOCK_CLOEXEC and SOCK_NONBLOCK introduced
47 {SOCK_STREAM | SOCK_CLOEXEC, FD_CLOEXEC, F_GETFD, "close-on-exec"},
  /device/generic/goldfish/network/netmgr/
monitor.cpp 123 mSocketFd = ::socket(AF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC, NETLINK_ROUTE);
  /bionic/tests/
sys_socket_test.cpp 39 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0);
108 int fd_acc = accept4(fd, reinterpret_cast<struct sockaddr*>(addr), &len, SOCK_CLOEXEC);
111 // Check that SOCK_CLOEXEC was set properly.
  /external/libusb/libusb/os/
linux_netlink.c 96 #if defined(SOCK_CLOEXEC)
97 socktype |= SOCK_CLOEXEC;
  /device/generic/goldfish/dhcp/client/
interface.cpp 43 mSocketFd = ::socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_IP);
  /device/generic/goldfish/wifi/wifi_hal/
netlink.cpp 65 mSocket = ::socket(AF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC, NETLINK_ROUTE);
  /external/libevent/
util-internal.h 461 #ifdef SOCK_CLOEXEC
462 #define EVUTIL_SOCK_CLOEXEC SOCK_CLOEXEC

Completed in 1971 milliseconds

1 2 3