/third_party/rust/crates/rustix/tests/net/ |
D | connect_bind_send.rs | 3 SocketAddrV6, SocketType, 13 rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default())?; in net_v4_connect_any() 18 let sender = rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default())?; in net_v4_connect_any() 46 SocketType::STREAM, in net_v6_connect_any() 55 SocketType::STREAM, in net_v6_connect_any() 84 rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default())?; in net_v4_connect() 93 let sender = rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default())?; in net_v4_connect() 121 SocketType::STREAM, in net_v6_connect() 134 SocketType::STREAM, in net_v6_connect() 163 rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default())?; in net_v4_bind_any() [all …]
|
D | unix.rs | 20 SocketType, 33 SocketType::SEQPACKET, in server() 87 SocketType::SEQPACKET, in client() 107 SocketType::SEQPACKET, in client()
|
D | v4.rs | 9 Protocol, RecvFlags, SendFlags, SocketAddrAny, SocketAddrV4, SocketType, 18 socket(AddressFamily::INET, SocketType::STREAM, Protocol::default()).unwrap(); in server() 58 let data_socket = socket(AddressFamily::INET, SocketType::STREAM, Protocol::default()).unwrap(); in client()
|
D | v6.rs | 9 Protocol, RecvFlags, SendFlags, SocketAddrAny, SocketAddrV6, SocketType, 19 SocketType::STREAM, in server() 64 SocketType::STREAM, in client()
|
D | sockopt.rs | 3 use rustix::net::{AddressFamily, Protocol, SocketType}; in test_sockopts() 7 rustix::net::socket(AddressFamily::INET, SocketType::STREAM, Protocol::default()).unwrap(); in test_sockopts() 17 SocketType::STREAM in test_sockopts()
|
D | poll.rs | 8 Protocol, RecvFlags, SendFlags, SocketAddrAny, SocketAddrV6, SocketType, 18 SocketType::STREAM, in server() 76 SocketType::STREAM, in client()
|
/third_party/rust/crates/rustix/src/net/ |
D | socketpair.rs | 2 use crate::net::{AddressFamily, Protocol, SocketFlags, SocketType}; 16 type_: SocketType, in socketpair() argument
|
D | socket.rs | 9 AcceptFlags, AddressFamily, Protocol, Shutdown, SocketFlags, SocketType, 38 pub fn socket(domain: AddressFamily, type_: SocketType, protocol: Protocol) -> io::Result<OwnedFd> { in socket() argument 65 type_: SocketType, in socket_with() argument
|
D | mod.rs | 30 socket_with, AcceptFlags, AddressFamily, Protocol, Shutdown, SocketFlags, SocketType,
|
D | sockopt.rs | 9 use crate::net::{Ipv4Addr, Ipv6Addr, SocketType}; 34 pub fn get_socket_type<Fd: AsFd>(fd: Fd) -> io::Result<SocketType> { in get_socket_type() argument
|
/third_party/rust/crates/rustix/tests/io/ |
D | epoll.rs | 8 SocketAddrAny, SocketAddrV4, SocketType, 17 let listen_sock = socket(AddressFamily::INET, SocketType::STREAM, Protocol::default()).unwrap(); in server() 77 socket(AddressFamily::INET, SocketType::STREAM, Protocol::default()).unwrap(); in client()
|
/third_party/node/src/ |
D | pipe_wrap.h | 37 enum SocketType { enum 45 SocketType type);
|
D | tcp_wrap.h | 37 enum SocketType { enum 44 SocketType type);
|
D | pipe_wrap.cc | 52 PipeWrap::SocketType type) { in Instantiate() 131 PipeWrap::SocketType type = static_cast<PipeWrap::SocketType>(type_value); in New()
|
D | udp_wrap.h | 122 enum SocketType { enum 177 SocketType type);
|
D | tcp_wrap.cc | 58 TCPWrap::SocketType type) { in Instantiate() 159 TCPWrap::SocketType type = static_cast<TCPWrap::SocketType>(type_value); in New()
|
D | udp_wrap.cc | 781 UDPWrap::SocketType type) { in Instantiate()
|
/third_party/node/deps/openssl/openssl/apps/lib/ |
D | vms_term_sock.c | 283 int SocketType, in CreateSocketPair() argument 312 SockDesc1 = socket (SocketFamily, SocketType, 0); in CreateSocketPair() 402 SockDesc2 = socket (SocketFamily, SocketType, 0); in CreateSocketPair()
|
/third_party/openssl/apps/lib/ |
D | vms_term_sock.c | 283 int SocketType, in CreateSocketPair() argument 312 SockDesc1 = socket (SocketFamily, SocketType, 0); in CreateSocketPair() 402 SockDesc2 = socket (SocketFamily, SocketType, 0); in CreateSocketPair()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/net/ |
D | types.rs | 13 pub struct SocketType(pub(crate) RawSocketType); struct 16 impl SocketType { impl
|
D | syscalls.rs | 16 use super::types::{AcceptFlags, AddressFamily, Protocol, Shutdown, SocketFlags, SocketType}; 38 type_: SocketType, in socket() argument 62 type_: SocketType, in socket_with() argument 92 type_: SocketType, in socketpair() argument 755 use crate::net::{Ipv4Addr, Ipv6Addr, SocketType}; 859 pub(crate) fn get_socket_type(fd: BorrowedFd<'_>) -> io::Result<SocketType> { in get_socket_type() argument
|
/third_party/rust/crates/rustix/src/backend/libc/net/ |
D | syscalls.rs | 15 use super::types::{AcceptFlags, AddressFamily, Protocol, Shutdown, SocketFlags, SocketType}; 146 type_: SocketType, in socket() argument 161 type_: SocketType, in socket_with() argument 374 type_: SocketType, in socketpair() argument 397 use crate::net::{Ipv4Addr, Ipv6Addr, SocketType}; 466 pub(crate) fn get_socket_type(fd: BorrowedFd<'_>) -> io::Result<SocketType> { in get_socket_type() argument
|
D | types.rs | 13 pub struct SocketType(pub(crate) RawSocketType); struct 16 impl SocketType { impl
|
/third_party/rust/crates/rustix/src/backend/linux_raw/ |
D | conv.rs | 618 impl<'a, Num: ArgNumber> From<(crate::net::SocketType, crate::net::SocketFlags)> 622 fn from(pair: (crate::net::SocketType, crate::net::SocketFlags)) -> Self { in from() argument 646 impl<'a, Num: ArgNumber> From<crate::net::SocketType> for ArgReg<'a, Num> { 648 fn from(type_: crate::net::SocketType) -> Self { in from()
|
/third_party/python/Lib/test/ |
D | test_socket.py | 832 self.assertTrue(socket.SocketType is _socket.socket) 834 self.assertIsInstance(s, socket.SocketType)
|