/openbsd/regress/sys/kern/signal/sigio/ |
H A D | sigio_socket.c | 35 assert(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in test_socket_badpgid() 44 assert(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in test_socket_badsession() 53 assert(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in test_socket_cansigio() 62 assert(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in test_socket_getown() 133 assert(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in test_socket_read() 142 assert(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in test_socket_write()
|
H A D | util.c | 109 assert(socketpair(AF_UNIX, SOCK_STREAM, 0, fds) == 0); in test_fork()
|
/openbsd/gnu/usr.bin/perl/t/io/ |
H A D | socketpair.t | 24 socketpair(my $a, my $b, PF_UNIX, SOCK_STREAM, 0) 32 ok socketpair($a, $b, PF_UNIX, SOCK_STREAM, 0), "create socket pair"; 44 socketpair($a, $b, PF_UNIX, SOCK_STREAM, 0) or die "socketpair: $!";
|
/openbsd/usr.sbin/acme-client/ |
H A D | main.c | 191 if (socketpair(AF_UNIX, SOCK_STREAM, 0, key_fds) == -1) in main() 193 if (socketpair(AF_UNIX, SOCK_STREAM, 0, acct_fds) == -1) in main() 195 if (socketpair(AF_UNIX, SOCK_STREAM, 0, chng_fds) == -1) in main() 197 if (socketpair(AF_UNIX, SOCK_STREAM, 0, cert_fds) == -1) in main() 199 if (socketpair(AF_UNIX, SOCK_STREAM, 0, file_fds) == -1) in main() 201 if (socketpair(AF_UNIX, SOCK_STREAM, 0, dns_fds) == -1) in main() 203 if (socketpair(AF_UNIX, SOCK_STREAM, 0, rvk_fds) == -1) in main()
|
/openbsd/regress/sys/kern/poll/ |
H A D | poll_close.c | 79 if (socketpair(AF_UNIX, SOCK_STREAM, 0, barrier) == -1) in main() 82 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sock) == -1) in main()
|
/openbsd/regress/sys/kern/select/ |
H A D | select_close.c | 78 if (socketpair(AF_UNIX, SOCK_STREAM, 0, barrier) == -1) in main() 81 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sock) == -1) in main()
|
/openbsd/gnu/usr.bin/perl/cpan/Socket/t/ |
H A D | socketpair.t | 73 eval {socketpair $lefth, $righth, -1, -1, -1}; 98 ok (socketpair ($lefth, $righth, AF_UNIX, SOCK_STREAM, PF_UNSPEC), 188 my $success = socketpair my $lefth, my $righth, AF_UNIX, SOCK_DGRAM, PF_UNSPEC;
|
/openbsd/gnu/usr.bin/perl/t/lib/feature/ |
H A D | bareword_filehandles | 44 socketpair 96 socketpair S1, S2, AF_UNIX, SOCK_STREAM, PF_UNSPEC; 117 socketpair S3, S4, AF_UNIX, SOCK_STREAM, PF_UNSPEC; 425 # NAME socketpair 427 socketpair IN, $fh, 0, 0, 0; 428 socketpair $fh, OUT, 0, 0, 0; 429 socketpair IN, OUT, 0, 0, 0; 431 socketpair IN, $fh, 0, 0, 0; 432 socketpair $fh, OUT, 0, 0, 0; 433 socketpair IN, OUT, 0, 0, 0;
|
/openbsd/regress/sys/kern/unixsockets/ |
H A D | ungc.c | 55 if (socketpair(AF_UNIX, SOCK_STREAM|O_NONBLOCK, 0, sp) < 0) in main() 108 if (socketpair(AF_UNIX, SOCK_STREAM|O_NONBLOCK, 0, sl) < 0) in main()
|
H A D | unsopassgc.c | 211 if (socketpair(AF_UNIX, SOCK_DGRAM, 0, s) < 0) in thr_gc() 281 if (socketpair(AF_UNIX, SOCK_DGRAM, 0, thr_pass_args[i].s) < 0) in main()
|
H A D | unfdpassfail.c | 66 if (socketpair(AF_UNIX, SOCK_STREAM|O_NONBLOCK, 0, s) < 0) in main()
|
/openbsd/usr.sbin/dvmrpd/ |
H A D | dvmrpd.c | 190 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in main() 193 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in main() 196 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in main()
|
/openbsd/regress/usr.sbin/syslogd/ |
H A D | logflush.c | 46 if (socketpair(AF_UNIX, SOCK_DGRAM, PF_UNSPEC, pair) == -1) in main()
|
/openbsd/lib/libc/hidden/sys/ |
H A D | socket.h | 46 PROTO_NORMAL(socketpair);
|
/openbsd/regress/sys/kern/unp-write-closed/ |
H A D | unp-write-closed.c | 49 if (socketpair(AF_UNIX, SOCK_STREAM, 0, s) < 0) in main()
|
/openbsd/gnu/llvm/lldb/examples/interposing/darwin/fd_interposing/ |
H A D | FDInterposing.cpp | 554 extern "C" int socketpair$__interposed__(int domain, int type, int protocol, in socketpair$__interposed__() 561 const int err = socketpair(domain, type, protocol, fds); in socketpair$__interposed__() 575 return socketpair(domain, type, protocol, fds); in socketpair$__interposed__() 926 DYLD_INTERPOSE(socketpair$__interposed__, socketpair);
|
/openbsd/lib/libevent/ |
H A D | evutil.c | 49 return socketpair(family, type, protocol, fd); in evutil_socketpair()
|
/openbsd/usr.sbin/ripd/ |
H A D | ripd.c | 198 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in main() 201 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in main() 204 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in main()
|
/openbsd/regress/sys/kern/kqueue/ |
H A D | kqueue-fdpass.c | 35 ASS(socketpair(PF_LOCAL, SOCK_STREAM, 0, pfd) == 0, in do_fdpass()
|
/openbsd/regress/sys/kern/pledge/filedescriptor/ |
H A D | pass.c | 41 if (socketpair(AF_UNIX, SOCK_DGRAM, 0, pair) == -1) in fdops()
|
/openbsd/regress/sys/kern/recvwait/ |
H A D | mcontrol-stream.c | 42 if (socketpair(AF_UNIX, SOCK_STREAM, 0, s) == -1) in main()
|
/openbsd/regress/lib/libc/sys/ |
H A D | t_socketpair.c | 69 ATF_REQUIRE(socketpair(AF_UNIX, SOCK_DGRAM | flags, 0, fd) == 0); in run()
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | ser-pipe.c | 65 if (socketpair (AF_UNIX, SOCK_STREAM, 0, pdes) < 0) in pipe_open()
|
/openbsd/usr.sbin/eigrpd/ |
H A D | eigrpd.c | 214 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in main() 217 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in main() 548 if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC | SOCK_NONBLOCK, in main_imsg_send_ipc_sockets()
|
/openbsd/regress/lib/libc/fread/ |
H A D | fread.c | 86 if (socketpair(PF_UNIX, SOCK_STREAM, 0, sv) == -1) in dotest()
|