Home
last modified time | relevance | path

Searched refs:socketpair (Results 1 – 25 of 160) sorted by relevance

1234567

/external/python/cpython2/Lib/test/
Dtest_pty.py236 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/
Dunix_domain_socket_linux_unittest.cc32 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/
Dbaseline_policy_unittest.cc162 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/
Dfdleak_socketpair.c12 (void) DO( socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) ); in main()
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_channel.cc24 PCHECK(0 == socketpair(AF_UNIX, SOCK_SEQPACKET, 0, socket_pair)); in CreatePair()
/external/autotest/client/common_lib/
Dbarrier_unittest.py76 sender, receiver = socket.socketpair()
85 sender, receiver = socket.socketpair()
/external/compiler-rt/test/tsan/
Dfd_socketpair_norace.cc28 socketpair(AF_UNIX, SOCK_STREAM, 0, fds); in main()
/external/strace/tests-mx32/
Dmmsg-silent.c39 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
Derestartsys.c50 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
Drecvmmsg-timeout.c40 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
Dunix-pair-sendto-recvfrom.c60 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
/external/strace/tests/
Dmmsg-silent.c39 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
Derestartsys.c50 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
Drecvmmsg-timeout.c40 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
Dunix-pair-sendto-recvfrom.c60 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
/external/strace/tests-m32/
Dmmsg-silent.c39 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
Derestartsys.c50 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
Drecvmmsg-timeout.c40 if (socketpair(AF_UNIX, SOCK_STREAM, 0, fds)) in main()
Dunix-pair-sendto-recvfrom.c60 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sv)) in main()
/external/libbrillo/brillo/
Dunittest_utils.cc39 if (socketpair(PF_LOCAL, SOCK_STREAM, 0, fds) != 0) { in ScopedSocketPair()
/external/ltp/testcases/kernel/syscalls/socketpair/
Dsocketpair02.c57 TEST(socketpair(PF_UNIX, tc->type, 0, fds)); in verify_socketpair()
Dsocketpair01.c63 TEST(socketpair(tc->domain, tc->type, tc->proto, tc->sv)); in verify_socketpair()
/external/libchrome/sandbox/linux/suid/
Dsandbox.c83 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/
Dconfigure.ac381 # 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/
Dinit_process_reaper.cc29 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sync_fds)) { in CreateInitProcessReaper()

1234567