/external/rust/crates/nix/test/sys/ |
D | test_sockopt.rs | 5 SockProtocol, SockType, 20 SockType::SeqPacket, in test_local_peercred_seqpacket() 46 SockType::Stream, in test_local_peercred_stream() 66 SockType::Stream, in is_so_mark_functional() 80 SockType::Datagram, in test_so_buf() 106 SockType::Stream, in test_so_tcp_maxseg() 130 SockType::Stream, in test_so_tcp_maxseg() 158 SockType::Stream, in test_so_type() 164 assert_eq!(Ok(SockType::Stream), getsockopt(sockfd, sockopt::SockType)); in test_so_type() 178 assert_eq!(Err(Errno::EINVAL), getsockopt(sockfd, sockopt::SockType)); in test_so_type_unknown() [all …]
|
D | test_socket.rs | 77 ControlMessageOwned, MsgFlags, SockFlag, SockType, SockaddrIn, in test_timestamping() 86 SockType::Datagram, in test_timestamping() 94 SockType::Datagram, in test_timestamping() 266 use nix::sys::socket::{socket, AddressFamily, SockFlag, SockType}; in test_getsockname() 272 SockType::Stream, in test_getsockname() 284 use nix::sys::socket::{socketpair, AddressFamily, SockFlag, SockType}; in test_socketpair() 289 SockType::Stream, in test_socketpair() 358 SockType::Stream, in stream() 373 SockType::Datagram, in udp() 381 SockType::Datagram, in udp() [all …]
|
/external/perfetto/include/perfetto/ext/base/ |
D | unix_socket.h | 64 enum class SockType { kStream = 100, kDgram, kSeqPacket }; enum 93 static UnixSocketRaw CreateMayFail(SockFamily family, SockType type); 98 SockType); 106 UnixSocketRaw(ScopedSocketHandle, SockFamily, SockType); 121 SockType type() const { return type_; } in type() 169 UnixSocketRaw(SockFamily, SockType); 179 SockType type_ = SockType::kStream; 274 SockType); 282 SockType); 292 SockType, [all …]
|
/external/perfetto/src/base/ |
D | unix_socket_unittest.cc | 93 kTestSocket.family(), SockType::kStream); in TEST_F() 106 kTestSocket.family(), SockType::kStream); in TEST_F() 123 kTestSocket.family(), SockType::kStream); in TEST_F() 144 kTestSocket.family(), SockType::kStream); in TEST_F() 149 kTestSocket.family(), SockType::kStream); in TEST_F() 206 UnixSocketRaw::CreateMayFail(kTestSocket.family(), SockType::kStream); in TEST_F() 210 kTestSocket.family(), SockType::kStream); in TEST_F() 216 kTestSocket.family(), SockType::kStream); in TEST_F() 244 kTestSocket.family(), SockType::kStream); in TEST_F() 262 kTestSocket.family(), SockType::kStream); in TEST_F() [all …]
|
D | unix_socket.cc | 110 inline int GetSockType(SockType type) { in GetSockType() 117 case SockType::kStream: in GetSockType() 119 case SockType::kDgram: in GetSockType() 121 case SockType::kSeqPacket: in GetSockType() 196 ScopedSocketHandle CreateSocketHandle(SockFamily family, SockType type) { in CreateSocketHandle() 246 SockType type) { in CreatePairPosix() 257 UnixSocketRaw UnixSocketRaw::CreateMayFail(SockFamily family, SockType type) { in CreateMayFail() 266 UnixSocketRaw::UnixSocketRaw(SockFamily family, SockType type) in UnixSocketRaw() 271 SockType type) in UnixSocketRaw() 375 PERFETTO_DCHECK(type_ == SockType::kStream || type_ == SockType::kSeqPacket); in Listen() [all …]
|
/external/rust/crates/nix/src/sys/socket/ |
D | sockopt.rs | 634 SockType, 638 super::SockType, 1356 SockType::Stream, in can_get_peercred_on_unix_socket() 1374 SockType::Stream, in is_socket_type_unix() 1379 let a_type = getsockopt(a, super::SockType).unwrap(); in is_socket_type_unix() 1380 assert_eq!(a_type, SockType::Stream); in is_socket_type_unix() 1392 SockType::Datagram, in is_socket_type_dgram() 1397 let s_type = getsockopt(s, super::SockType).unwrap(); in is_socket_type_dgram() 1398 assert_eq!(s_type, SockType::Datagram); in is_socket_type_dgram() 1410 SockType::Stream, in can_get_listen_on_tcp_socket()
|
D | mod.rs | 90 pub enum SockType { enum 113 impl TryFrom<i32> for SockType { implementation 1827 sendmsg, setsockopt, socket, sockopt::Timestamping, MsgFlags, SockFlag, SockType, 1836 SockType::Datagram, 1843 SockType::Datagram, 2082 ty: SockType, in socket() argument 2107 ty: SockType, in socketpair() argument
|
/external/perfetto/src/profiling/memory/ |
D | client_api_factory_standalone.cc | 93 base::SockFamily::kUnix, base::SockType::kStream); in StartHeapprofdIfStatic() 191 base::SockType::kStream); in ConstructClient()
|
D | wire_protocol_unittest.cc | 57 base::SockType::kStream); in CopyFD() 60 base::SockType::kStream); in CopyFD()
|
D | heapprofd.cc | 75 &task_runner, base::SockFamily::kUnix, base::SockType::kStream); in StartCentralHeapprofd()
|
D | client_api_unittest.cc | 61 base::SockFamily::kUnix, base::SockType::kStream); in ConstructClient()
|
D | client_api_benchmark.cc | 59 base::SockFamily::kUnix, base::SockType::kStream); in ConstructClient()
|
D | heapprofd_producer_integrationtest.cc | 86 base::SockFamily::kUnix, base::SockType::kStream); in HeapprofdThread()
|
/external/perfetto/src/websocket_bridge/ |
D | websocket_bridge.cc | 94 base::UnixSocketRaw::CreateMayFail(ep.family, base::SockType::kStream); in OnHttpRequest() 115 base::SockType::kStream); in OnHttpRequest()
|
/external/perfetto/src/ipc/ |
D | host_impl.cc | 98 kHostSockFamily, base::SockType::kStream); in HostImpl() 105 kHostSockFamily, base::SockType::kStream); in HostImpl() 141 base::SockType::kStream); in AdoptConnectedSocket_Fuchsia()
|
D | client_impl.cc | 62 base::SockType::kStream, base::SockPeerCredMode::kIgnore); in ClientImpl() 79 kClientSockFamily, base::SockType::kStream, in TryConnect()
|
D | host_impl_unittest.cc | 95 base::SockType::kStream); in FakeClient() 102 base::SockType::kStream); in FakeClient() 184 base::SockFamily::kUnix, base::SockType::kStream); in SetUp()
|
D | client_impl_unittest.cc | 115 base::SockType::kStream); in FakeHost() 221 base::SockFamily::kUnix, base::SockType::kStream); in SetUp() 227 kTestSocket.family(), base::SockType::kStream)); in SetUp()
|
/external/perfetto/test/ |
D | producer_socket_fuzzer.cc | 66 &task_runner, base::SockFamily::kUnix, base::SockType::kStream); in FuzzSharedMemory()
|
/external/perfetto/src/profiling/perf/ |
D | proc_descriptors.h | 76 base::SockFamily::kUnix, base::SockType::kStream); in AndroidRemoteDescriptorGetter()
|
/external/rust/crates/vsock/src/ |
D | lib.rs | 29 AddressFamily, GetSockOpt, MsgFlags, SetSockOpt, SockFlag, SockType, 46 SockType::Stream, in new_socket()
|
/external/crosvm/rutabaga_gfx/src/cross_domain/sys/ |
D | unix.rs | 33 use nix::sys::socket::SockType; 166 SockType::Stream, in get_connection()
|
/external/perfetto/src/ipc/test/ |
D | ipc_integrationtest.cc | 93 perfetto::base::SockFamily::kUnix, perfetto::base::SockType::kStream); in TEST_F()
|
/external/perfetto/src/base/http/ |
D | http_server.cc | 60 SockType::kStream); in Start() 68 SockType::kStream); in Start()
|
/external/rust/crates/tokio/tests/ |
D | io_async_fd.rs | 126 use nix::sys::socket::{self, AddressFamily, SockFlag, SockType}; in socketpair() 130 SockType::Stream, in socketpair()
|