/external/libchrome/base/posix/ |
D | unix_domain_socket_linux_unittest.cc | 32 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST() 67 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST() 85 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST() 112 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST() 142 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST()
|
/external/valgrind/none/tests/ |
D | fdleak_cmsg.stderr.exp | 4 Open AF_UNIX socket ...: /tmp/sock 7 Open AF_UNIX socket ...: /tmp/sock 34 Open AF_UNIX socket ...: <unknown>
|
D | fdleak_socketpair.stderr.exp | 4 Open AF_UNIX socket ...: <unknown> 7 Open AF_UNIX socket ...: <unknown>
|
D | fdleak_cmsg.c | 46 addr.sun_family = AF_UNIX; in server() 107 addr.sun_family = AF_UNIX; in client()
|
D | fdleak_socketpair.c | 12 (void) DO( socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) ); in main()
|
/external/netcat/ |
D | netcat.c | 153 family = AF_UNIX; in main() 293 if (argv[0] && !argv[1] && family == AF_UNIX) { in main() 317 if ((family == AF_UNIX) && uflag && !lflag) { in main() 330 if (family != AF_UNIX) { in main() 347 if (family == AF_UNIX) in main() 373 if (family == AF_UNIX) { in main() 382 if (family != AF_UNIX) in main() 416 if (family != AF_UNIX) in main() 426 } else if (family == AF_UNIX) { in main() 509 if ((s = socket(AF_UNIX, uflag ? SOCK_DGRAM : SOCK_STREAM, in unix_bind() [all …]
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
D | baseline_policy_unittest.cc | 162 int sys_ret = socketpair(AF_UNIX, SOCK_DGRAM, 0, sv); in BPF_TEST_C() 166 sys_ret = socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sv); in BPF_TEST_C() 344 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C() 355 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C() 366 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C() 377 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C()
|
D | baseline_policy.cc | 199 static_assert(AF_UNIX == PF_UNIX, in EvaluateSyscallImpl() 202 return If(domain == AF_UNIX, Allow()).Else(CrashSIGSYS()); in EvaluateSyscallImpl()
|
/external/dbus/tools/ |
D | dbus-cleanup-sockets.c | 93 #ifdef AF_UNIX 230 se->fd = socket (AF_UNIX, SOCK_STREAM, 0); in open_socket() 248 saddr.sun_family = AF_UNIX; in open_socket() 438 #ifdef AF_UNIX in main()
|
/external/netperf/src/ |
D | nettest_unix.c | 289 server.sun_family = AF_UNIX; in send_stream_stream() 307 send_socket = create_unix_socket(AF_UNIX, in send_stream_stream() 782 myaddr_un.sun_family = AF_UNIX; in recv_stream_stream() 798 s_listen = create_unix_socket(AF_UNIX, in recv_stream_stream() 1110 server.sun_family = AF_UNIX; in send_stream_rr() 1145 send_socket = create_unix_socket(AF_UNIX, in send_stream_rr() 1592 server.sun_family = AF_UNIX; in send_dg_stream() 1608 data_socket = create_unix_socket(AF_UNIX, in send_dg_stream() 2012 myaddr_un.sun_family = AF_UNIX; in recv_dg_stream() 2027 s_data = create_unix_socket(AF_UNIX, in recv_dg_stream() [all …]
|
/external/strace/tests/ |
D | netlink_unix_diag.c | 111 .sun_family = AF_UNIX, in main() 130 return (send_query(1, AF_UNIX, 0) && in main()
|
/external/ipsec-tools/src/racoon/ |
D | kmpstat.c | 104 name.sun_family = AF_UNIX; in com_init() 108 so = socket(AF_UNIX, SOCK_STREAM, 0); in com_init()
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | bpf_dsl_unittest.cc | 155 return If(AllOf(domain == AF_UNIX, in EvaluateSyscall() 175 EPERM, FakeSyscall(__NR_socketpair, AF_UNIX, SOCK_STREAM, 0, kFakeSV)); in TEST() 177 EPERM, FakeSyscall(__NR_socketpair, AF_UNIX, SOCK_DGRAM, 0, kFakeSV)); in TEST() 182 emulator.ExpectErrno(EINVAL, FakeSyscall(__NR_socketpair, AF_UNIX, in TEST() 184 emulator.ExpectErrno(EINVAL, FakeSyscall(__NR_socketpair, AF_UNIX, in TEST()
|
/external/wpa_supplicant_8/src/common/ |
D | ctrl_iface_common.c | 54 case AF_UNIX: in sockaddr_compare() 98 case AF_UNIX: in sockaddr_print()
|
/external/strace/xlat/ |
D | addrfams.h | 12 #if defined(AF_UNIX) || (defined(HAVE_DECL_AF_UNIX) && HAVE_DECL_AF_UNIX) 13 XLAT(AF_UNIX),
|
D | addrfams.in | 3 AF_UNIX
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_privsep.c | 115 if (from.sun_family != AF_UNIX || in l2_packet_receive() 161 l2->priv_addr.sun_family = AF_UNIX; in l2_packet_init() 175 addr.sun_family = AF_UNIX; in l2_packet_init()
|
/external/dbus/dbus/ |
D | sd-daemon.c | 301 if (sockaddr.sa.sa_family != AF_UNIX) in sd_is_socket_unix() 351 if ((fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0)) < 0) { in sd_notify() 357 sockaddr.sa.sa_family = AF_UNIX; in sd_notify()
|
/external/avahi/avahi-daemon/ |
D | sd-daemon.c | 306 if (sockaddr.sa.sa_family != AF_UNIX) in sd_is_socket_unix() 356 if ((fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0)) < 0) { in sd_notify() 362 sockaddr.sa.sa_family = AF_UNIX; in sd_notify()
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/src/ |
D | hog.c | 105 test_sock_addr.sun_family = AF_UNIX; in main() 108 sockfd = socket(AF_UNIX, SOCK_STREAM, 0); in main()
|
/external/e2fsprogs/misc/ |
D | uuidd.c | 158 if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in call_daemon() 164 srv_addr.sun_family = AF_UNIX; in call_daemon() 275 if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { in server_loop() 297 my_addr.sun_family = AF_UNIX; in server_loop()
|
/external/libchrome/sandbox/linux/syscall_broker/ |
D | broker_channel.cc | 24 PCHECK(0 == socketpair(AF_UNIX, SOCK_SEQPACKET, 0, socket_pair)); in CreatePair()
|
/external/dbus/cmake/modules/ |
D | CheckForAbstractSockets.c | 21 addr.sun_family = AF_UNIX; in main()
|
/external/compiler-rt/test/tsan/ |
D | fd_socketpair_norace.cc | 28 socketpair(AF_UNIX, SOCK_STREAM, 0, fds); in main()
|
/external/clang/test/Analysis/ |
D | taint-generic.c | 153 #define AF_UNIX 1 /* local to host (pipes) */ macro 155 #define AF_LOCAL AF_UNIX /* backward compatibility */
|