/external/python/cpython2/Lib/test/ |
D | test_pty.py | 236 socketpair = socket.socketpair() 237 masters = [s.fileno() for s in socketpair] 265 socketpair = socket.socketpair() 266 masters = [s.fileno() for s in socketpair] 270 socketpair[1].close()
|
/external/libchrome/base/posix/ |
D | unix_domain_socket_linux_unittest.cc | 32 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST() 68 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST() 86 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST() 113 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST() 143 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); in TEST()
|
/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() 178 ignore_result(socketpair(AF_INET, SOCK_STREAM, 0, sv)); in BPF_DEATH_TEST_C() 358 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C() 369 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C() 380 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C() 391 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in BPF_DEATH_TEST_C()
|
/external/valgrind/none/tests/ |
D | fdleak_socketpair.c | 12 (void) DO( socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) ); in main()
|
/external/libchrome/sandbox/linux/syscall_broker/ |
D | broker_channel.cc | 24 PCHECK(0 == socketpair(AF_UNIX, SOCK_SEQPACKET, 0, socket_pair)); in CreatePair()
|
/external/autotest/client/common_lib/ |
D | barrier_unittest.py | 76 sender, receiver = socket.socketpair() 85 sender, receiver = socket.socketpair()
|
/external/compiler-rt/test/tsan/ |
D | fd_socketpair_norace.cc | 28 socketpair(AF_UNIX, SOCK_STREAM, 0, fds); in main()
|
/external/strace/tests-mx32/ |
D | mmsg-silent.c | 39 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
|
D | erestartsys.c | 50 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
|
D | recvmmsg-timeout.c | 40 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
|
D | unix-pair-sendto-recvfrom.c | 60 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
|
/external/strace/tests/ |
D | mmsg-silent.c | 39 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
|
D | erestartsys.c | 50 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
|
D | recvmmsg-timeout.c | 40 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
|
D | unix-pair-sendto-recvfrom.c | 60 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
|
/external/strace/tests-m32/ |
D | mmsg-silent.c | 39 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
|
D | erestartsys.c | 50 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
|
D | recvmmsg-timeout.c | 40 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
|
D | unix-pair-sendto-recvfrom.c | 60 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
|
/external/libbrillo/brillo/ |
D | unittest_utils.cc | 39 if (socketpair(PF_LOCAL, SOCK_STREAM, 0, fds) != 0) { in ScopedSocketPair()
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair02.c | 57 TEST(socketpair(PF_UNIX, tc->type, 0, fds)); in verify_socketpair()
|
D | socketpair01.c | 63 TEST(socketpair(tc->domain, tc->type, tc->proto, tc->sv)); in verify_socketpair()
|
/external/libchrome/sandbox/linux/suid/ |
D | sandbox.c | 83 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) == -1) { in SpawnChrootHelper() 235 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sync_fds)) { in MoveToNewNamespaces()
|
/external/libmicrohttpd/ |
D | configure.ac | 381 # Check for pipe/socketpair signaling 382 AC_MSG_CHECKING([[whether to enable signaling by socketpair]]) 384 AC_ARG_ENABLE([[socketpair]], optenable 385 …[AS_HELP_STRING([[--enable-socketpair[=ARG]]], [disable internal singalling by pipes and use socke… 403 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) != 0) return 1 406 [ AC_MSG_RESULT([[yes, socketpair in available]]) ], 407 [ AC_MSG_RESULT([[no, socketpair in not available]]) 408 …AS_IF([[test "x$enable_socketpair" = "xyes"]], [ AC_MSG_ERROR([[socketpair signalling cannot be en… 416 …AS_IF([[test "x$os_is_windows" = "xyes"]], [ AC_MSG_ERROR([[socketpair must be enabled on W32]]) ])
|
/external/libchrome/sandbox/linux/services/ |
D | init_process_reaper.cc | 29 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sync_fds)) { in CreateInitProcessReaper()
|