Searched refs:SockType (Results 1 – 10 of 10) sorted by relevance
41 enum class SockType { kStream = 100, kDgram, kSeqPacket }; enum50 static UnixSocketRaw CreateMayFail(SockType t) { return UnixSocketRaw(t); } in CreateMayFail()53 static std::pair<UnixSocketRaw, UnixSocketRaw> CreatePair(SockType);60 UnixSocketRaw(ScopedFile, SockType);75 SockType type() const { return type_; } in type()101 explicit UnixSocketRaw(SockType);107 SockType type_{SockType::kStream};190 SockType = SockType::kStream);197 SockType = SockType::kStream);205 SockType = SockType::kStream);[all …]
66 inline int GetUnixSockType(SockType type) { in GetUnixSockType()68 case SockType::kStream: in GetUnixSockType()70 case SockType::kDgram: in GetUnixSockType()72 case SockType::kSeqPacket: in GetUnixSockType()125 std::pair<UnixSocketRaw, UnixSocketRaw> UnixSocketRaw::CreatePair(SockType t) { in CreatePair()136 UnixSocketRaw::UnixSocketRaw(SockType type) in UnixSocketRaw()140 UnixSocketRaw::UnixSocketRaw(ScopedFile fd, SockType type) in UnixSocketRaw()196 PERFETTO_DCHECK(type_ == SockType::kStream || type_ == SockType::kSeqPacket); in Listen()374 SockType sock_type) { in Listen()387 SockType sock_type) { in Listen()[all …]
270 auto sock_raw = UnixSocketRaw::CreateMayFail(SockType::kStream); in TEST_F()648 std::tie(send_sock, recv_sock) = UnixSocketRaw::CreatePair(SockType::kStream); in TEST_F()
60 base::SockType::kStream); in CopyFD()62 base::SockType::kStream); in CopyFD()
104 auto sock = base::UnixSocketRaw::CreateMayFail(base::SockType::kStream); in ConnectToHeapprofd()
388 base::SockType::kStream); in HandleHandoffSocket()
256 perfetto::base::SockType::kStream); in CreateClientAndPrivateDaemon()
171 base::SockType::kStream); in AdoptTargetProcessSocket()
141 auto socket = base::UnixSocketRaw::CreateMayFail(base::SockType::kSeqPacket); in ConnectLogdrSocket()
65 const auto kSockType = base::SockType::kDgram; in StartAndSimulateLogd()