/bionic/libc/arch-arm64/syscalls/ |
socketpair.S | 5 ENTRY(socketpair) function 14 END(socketpair)
|
/bionic/libc/arch-arm/syscalls/ |
socketpair.S | 5 ENTRY(socketpair) function 16 END(socketpair)
|
/bionic/libc/arch-mips/syscalls/ |
socketpair.S | 5 ENTRY(socketpair) function 19 END(socketpair)
|
/bionic/libc/arch-x86_64/syscalls/ |
socketpair.S | 5 ENTRY(socketpair) function 16 END(socketpair)
|
/external/valgrind/none/tests/ |
fdleak_socketpair.c | 12 (void) DO( socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fds) );
|
/bionic/libc/arch-mips64/syscalls/ |
socketpair.S | 5 ENTRY(socketpair) function 25 END(socketpair)
|
/bionic/libc/arch-x86/syscalls/ |
socketpair.S | 5 ENTRY(socketpair) function 35 END(socketpair)
|
/system/extras/tests/net_test/ |
tcp_nuke_addr_test.py | 191 def assertSocketsClosed(self, socketpair): 192 for sock in socketpair: 195 def assertSocketsNotClosed(self, socketpair): 196 for sock in socketpair: 200 socketpair = CreateIPv4SocketPair() 202 self.assertSocketsNotClosed(socketpair) 204 self.assertSocketsNotClosed(socketpair) 206 self.assertSocketsNotClosed(socketpair) 208 self.assertSocketsNotClosed(socketpair) 210 self.assertSocketsClosed(socketpair) [all...] |
sock_diag_test.py | 49 socketpair = net_test.CreateSocketPair(family, SOCK_STREAM, addr) 50 sport, dport = (socketpair[0].getsockname()[1], 51 socketpair[1].getsockname()[1]) 52 socketpairs[(addr, sport, dport)] = socketpair 61 def assertSocketsClosed(self, socketpair): 62 for sock in socketpair: 71 for socketpair in self.socketpairs.values(): 72 for s in socketpair: 101 socketpair = net_test.CreateSocketPair(AF_INET6, SOCK_STREAM, 103 for sock in socketpair [all...] |
/system/core/adb/ |
sysdeps_test.cpp | 89 int socketpair[2]; local 91 while (adb_socketpair(socketpair) == 0) { 92 fds.push_back(socketpair[0]); 93 fds.push_back(socketpair[1]); 100 ASSERT_EQ(0, adb_socketpair(socketpair)); 101 ASSERT_EQ(socketpair[0], fds[0]); 102 ASSERT_EQ(socketpair[1], fds[1]); 103 ASSERT_EQ(0, adb_close(socketpair[0])); 104 ASSERT_EQ(0, adb_close(socketpair[1])); 139 // Wait for the socketpair to be flushed [all...] |
fdevent_test.h | 41 FAIL() << "failed to create socketpair: " << strerror(errno);
|
/external/libbrillo/brillo/ |
unittest_utils.cc | 39 if (socketpair(PF_LOCAL, SOCK_STREAM, 0, fds) != 0) { 40 PLOG(FATAL) << "Creating a socketpair()";
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
baseline_policy_unittest.cc | 160 BPF_TEST_C(BaselinePolicy, Socketpair, BaselinePolicy) { 162 int sys_ret = socketpair(AF_UNIX, SOCK_DGRAM, 0, sv); 166 sys_ret = socketpair(AF_UNIX, SOCK_SEQPACKET, 0, sv); 171 // Not all architectures can restrict the domain for socketpair(). 178 ignore_result(socketpair(AF_INET, SOCK_STREAM, 0, sv)); 344 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); 355 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); 366 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); 377 PCHECK(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0);
|
/external/compiler-rt/test/tsan/ |
fd_socketpair_norace.cc | 28 socketpair(AF_UNIX, SOCK_STREAM, 0, fds);
|
/external/libchrome/sandbox/linux/syscall_broker/ |
broker_channel.cc | 24 PCHECK(0 == socketpair(AF_UNIX, SOCK_SEQPACKET, 0, socket_pair));
|
/system/tpm/attestation/server/ |
attestationd-seccomp-arm.policy | 16 socketpair: 1
|
/system/core/init/ |
signal_handler.cpp | 57 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0, s) == -1) { 58 ERROR("socketpair failed: %s\n", strerror(errno));
|
/external/libchrome/base/posix/ |
unix_domain_socket_linux_unittest.cc | 32 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); 67 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); 85 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); 112 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds)); 142 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_SEQPACKET, 0, fds));
|
unix_domain_socket_linux.h | 60 // 1. This process creates a UNIX SEQPACKET socketpair. Using 66 // socketpair. 68 // reply to the end of the socketpair contained in the request.
|
/system/core/libmemunreachable/ |
LeakPipe.h | 31 // transferred over a socketpair that was created before forking. This ensures 37 int ret = socketpair(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0, sv_); 39 LOG_ALWAYS_FATAL("failed to create socketpair: %s", strerror(errno));
|
/bootable/recovery/minadbd/ |
fuse_adb_provider_test.cpp | 33 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, sockets)); 78 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, sockets));
|
/external/libchrome/sandbox/linux/services/ |
init_process_reaper.cc | 29 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sync_fds)) { 30 PLOG(ERROR) << "Failed to create socketpair";
|
/system/bt/hci/test/ |
hci_hal_mct_test.cpp | 142 socketpair(AF_LOCAL, SOCK_STREAM, 0, command_sockfd); 143 socketpair(AF_LOCAL, SOCK_STREAM, 0, event_sockfd); 144 socketpair(AF_LOCAL, SOCK_STREAM, 0, acl_in_sockfd); 145 socketpair(AF_LOCAL, SOCK_STREAM, 0, acl_out_sockfd);
|
/system/connectivity/apmanager/init/ |
apmanager-seccomp-amd64.policy | 30 socketpair: 1
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
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()
|