/third_party/python/Lib/test/ |
D | test_pty.py | 366 socketpair = socket.socketpair() 367 self.files.extend(socketpair) 368 return socketpair 390 socketpair = self._socketpair() 391 masters = [s.fileno() for s in socketpair] 418 socketpair = self._socketpair() 419 masters = [s.fileno() for s in socketpair] 421 socketpair[1].close()
|
D | test_selectors.py | 23 socketpair = socket.socketpair variable 25 def socketpair(family=socket.AF_INET, type=socket.SOCK_STREAM, proto=0): function 55 rd, wr = socketpair()
|
D | test_kqueue.py | 195 a, b = socket.socketpair() 212 a, b = socket.socketpair()
|
/third_party/musl/src/network/ |
D | socketpair.c | 9 int socketpair(int domain, int type, int protocol, int fd[2]) in socketpair() function 11 int r = socketcall(socketpair, domain, type, protocol, fd, 0, 0); in socketpair() 14 r = socketcall(socketpair, domain, in socketpair()
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
D | socketpair.c | 32 int result = socketpair(AF_UNIX, SOCK_STREAM, 0, fb); in socketpair_0100() 51 int result = socketpair(AF_INET, SOCK_STREAM, 0, fb); in socketpair_0200() 67 int result = socketpair(AF_UNIX, SOCK_STREAM, 0, fb); in socketpair_0300()
|
D | test_src_functionalext_supplement_network.gni | 24 "socketpair",
|
/third_party/rust/crates/rustix/src/net/ |
D | mod.rs | 18 mod socketpair; module 34 pub use socketpair::socketpair;
|
D | socketpair.rs | 14 pub fn socketpair( in socketpair() function 20 backend::net::syscalls::socketpair(domain, type_, flags, protocol) in socketpair()
|
/third_party/rust/crates/nix/test/sys/ |
D | test_sockopt.rs | 14 sys::socket::socketpair, in test_local_peercred_seqpacket() 18 let (fd1, _fd2) = socketpair( in test_local_peercred_seqpacket() 40 sys::socket::socketpair, in test_local_peercred_stream() 44 let (fd1, _fd2) = socketpair( in test_local_peercred_stream()
|
D | test_socket.rs | 284 use nix::sys::socket::{socketpair, AddressFamily, SockFlag, SockType}; in test_socketpair() 287 let (fd1, fd2) = socketpair( in test_socketpair() 356 let (fd2, fd1) = socketpair( in stream() 772 recvmsg, sendmsg, socketpair, AddressFamily, ControlMessage, in test_scm_rights() 778 let (fd1, fd2) = socketpair( in test_scm_rights() 1261 recvmsg, sendmsg, socketpair, AddressFamily, MsgFlags, SockFlag, in test_sendmsg_empty_cmsgs() 1267 let (fd1, fd2) = socketpair( in test_sendmsg_empty_cmsgs() 1317 recvmsg, sendmsg, socketpair, AddressFamily, ControlMessage, in test_scm_credentials() 1325 let (send, recv) = socketpair( in test_scm_credentials() 1417 recvmsg, sendmsg, setsockopt, socketpair, ControlMessage, in test_impl_scm_credentials_and_rights() [all …]
|
/third_party/libuv/test/ |
D | test-pipe-sendmsg.c | 118 ASSERT(0 == socketpair(AF_UNIX, SOCK_STREAM, 0, fds)); in TEST_IMPL() 120 ASSERT(0 == socketpair(AF_UNIX, SOCK_STREAM, 0, send_fds + i)); in TEST_IMPL()
|
D | test-fork.c | 129 ASSERT(0 == socketpair(AF_UNIX, SOCK_STREAM, 0, socket_fds)); in TEST_IMPL() 171 ASSERT(0 == socketpair(AF_UNIX, SOCK_STREAM, 0, socket_fds)); in TEST_IMPL()
|
/third_party/musl/Benchmark/musl/ |
D | socket_test.cpp | 61 ret = socketpair(AF_LOCAL, SOCK_STREAM, 0, socks); in Bm_function_socketpair_sendmsg_recvmsg() 112 ret = socketpair(AF_LOCAL, SOCK_STREAM, 0, socks); in Bm_function_socketpair_sendmmsg_recvmmsg() 163 ret = socketpair(AF_LOCAL, SOCK_STREAM, 0, socks); in Bm_function_socketpair_sendto_recvfrom() 219 benchmark::DoNotOptimize(socketpair(0, SOCK_STREAM, 0, fd)); in Bm_function_sockpair()
|
/third_party/skia/third_party/externals/microhttpd/ |
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]]) ])
|
/third_party/curl/lib/ |
D | socketpair.h | 51 #define Curl_socketpair(a,b,c,d) socketpair(a,b,c,d)
|
D | curl_memory.h | 84 #undef socketpair
|
D | Makefile.inc | 211 socketpair.c \ 347 socketpair.h \
|
/third_party/python/Lib/ |
D | socket.py | 594 def socketpair(family=None, type=SOCK_STREAM, proto=0): function 607 a, b = _socket.socketpair(family, type, proto) 615 def socketpair(family=AF_INET, type=SOCK_STREAM, proto=0): function 653 socketpair.__doc__ = """socketpair([family[, type[, proto]]]) -> (socket object, socket object)
|
/third_party/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair02.c | 44 TEST(socketpair(PF_UNIX, tc->type, 0, fds)); in verify_socketpair()
|
D | socketpair01.c | 51 TEST(socketpair(tc->domain, tc->type, tc->proto, tc->sv)); in verify_socketpair()
|
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/ |
D | socket_test.cpp | 497 int fd = socketpair(AF_UNIX, SOCK_STREAM, 0, sv); 546 ret = socketpair(AF_LOCAL, SOCK_STREAM, 0, socks); 606 int ret = socketpair(AF_LOCAL, SOCK_STREAM, 0, socks);
|
/third_party/libuv/src/unix/ |
D | tcp.c | 486 if (socketpair(AF_UNIX, flags, protocol, temp)) in uv_socketpair() 495 if (socketpair(AF_UNIX, type, protocol, temp)) in uv_socketpair()
|
/third_party/node/deps/uv/src/unix/ |
D | tcp.c | 486 if (socketpair(AF_UNIX, flags, protocol, temp)) in uv_socketpair() 495 if (socketpair(AF_UNIX, type, protocol, temp)) in uv_socketpair()
|
/third_party/ltp/testcases/kernel/syscalls/getpeername/ |
D | getpeername01.c | 162 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sv) < 0) { in setup4()
|
/third_party/musl/libc-test/src/api/ |
D | sys_socket.c | 110 {int(*p)(int,int,int,int[]) = socketpair;} in f()
|