Lines Matching refs:UnixSocketRaw
103 void UnixSocketRaw::ShiftMsgHdr(size_t n, struct msghdr* msg) { in ShiftMsgHdr()
125 std::pair<UnixSocketRaw, UnixSocketRaw> UnixSocketRaw::CreatePair(SockType t) { in CreatePair()
128 return std::make_pair(UnixSocketRaw(), UnixSocketRaw()); in CreatePair()
130 return std::make_pair(UnixSocketRaw(ScopedFile(fds[0]), t), in CreatePair()
131 UnixSocketRaw(ScopedFile(fds[1]), t)); in CreatePair()
134 UnixSocketRaw::UnixSocketRaw() = default;
136 UnixSocketRaw::UnixSocketRaw(SockType type) in UnixSocketRaw() function in perfetto::base::UnixSocketRaw
137 : UnixSocketRaw(ScopedFile(socket(AF_UNIX, GetUnixSockType(type), 0)), in UnixSocketRaw()
140 UnixSocketRaw::UnixSocketRaw(ScopedFile fd, SockType type) in UnixSocketRaw() function in perfetto::base::UnixSocketRaw
154 void UnixSocketRaw::SetBlocking(bool is_blocking) { in SetBlocking()
166 void UnixSocketRaw::RetainOnExec() { in RetainOnExec()
174 bool UnixSocketRaw::IsBlocking() const { in IsBlocking()
179 bool UnixSocketRaw::Bind(const std::string& socket_name) { in Bind()
194 bool UnixSocketRaw::Listen() { in Listen()
200 bool UnixSocketRaw::Connect(const std::string& socket_name) { in Connect()
215 void UnixSocketRaw::Shutdown() { in Shutdown()
228 ssize_t UnixSocketRaw::SendMsgAll(struct msghdr* msg) { in SendMsgAll()
249 ssize_t UnixSocketRaw::Send(const void* msg, in Send()
280 ssize_t UnixSocketRaw::Receive(void* msg, in Receive()
336 bool UnixSocketRaw::SetTxTimeout(uint32_t timeout_ms) { in SetTxTimeout()
349 bool UnixSocketRaw::SetRxTimeout(uint32_t timeout_ms) { in SetRxTimeout()
375 auto sock_raw = UnixSocketRaw::CreateMayFail(sock_type); in Listen()
435 sock_raw_ = UnixSocketRaw::CreateMayFail(sock_type); in UnixSocket()
442 sock_raw_ = UnixSocketRaw(std::move(adopt_fd), sock_type); in UnixSocket()
454 sock_raw_ = UnixSocketRaw(std::move(adopt_fd), sock_type); in UnixSocket()
482 UnixSocketRaw UnixSocket::ReleaseSocket() { in ReleaseSocket()