Home
last modified time | relevance | path

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

123456

/third_party/python/Lib/test/
Dtest_pty.py366 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()
Dtest_selectors.py23 socketpair = socket.socketpair variable
25 def socketpair(family=socket.AF_INET, type=socket.SOCK_STREAM, proto=0): function
55 rd, wr = socketpair()
Dtest_kqueue.py195 a, b = socket.socketpair()
212 a, b = socket.socketpair()
/third_party/musl/src/network/
Dsocketpair.c9 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/
Dsocketpair.c32 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()
Dtest_src_functionalext_supplement_network.gni24 "socketpair",
/third_party/rust/crates/rustix/src/net/
Dmod.rs18 mod socketpair; module
34 pub use socketpair::socketpair;
Dsocketpair.rs14 pub fn socketpair( in socketpair() function
20 backend::net::syscalls::socketpair(domain, type_, flags, protocol) in socketpair()
/third_party/rust/crates/nix/test/sys/
Dtest_sockopt.rs14 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()
Dtest_socket.rs284 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/
Dtest-pipe-sendmsg.c118 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()
Dtest-fork.c129 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/
Dsocket_test.cpp61 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/
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]]) ])
/third_party/curl/lib/
Dsocketpair.h51 #define Curl_socketpair(a,b,c,d) socketpair(a,b,c,d)
Dcurl_memory.h84 #undef socketpair
DMakefile.inc211 socketpair.c \
347 socketpair.h \
/third_party/python/Lib/
Dsocket.py594 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/
Dsocketpair02.c44 TEST(socketpair(PF_UNIX, tc->type, 0, fds)); in verify_socketpair()
Dsocketpair01.c51 TEST(socketpair(tc->domain, tc->type, tc->proto, tc->sv)); in verify_socketpair()
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/
Dsocket_test.cpp497 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/
Dtcp.c486 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/
Dtcp.c486 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/
Dgetpeername01.c162 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sv) < 0) { in setup4()
/third_party/musl/libc-test/src/api/
Dsys_socket.c110 {int(*p)(int,int,int,int[]) = socketpair;} in f()

123456