Lines Matching refs:PERFETTO_CHECK

115   PERFETTO_CHECK(false);  // For GCC.  in GetSockFamily()
132 PERFETTO_CHECK(false); // For GCC. in GetSockType()
159 PERFETTO_CHECK(static_cast<size_t>(size) <= sizeof(saddr)); in MakeSockAddr()
164 PERFETTO_CHECK(parts.size() == 2); in MakeSockAddr()
168 PERFETTO_CHECK(getaddrinfo(parts[0].c_str(), parts[1].c_str(), &hints, in MakeSockAddr()
170 PERFETTO_CHECK(addr_info->ai_family == AF_INET); in MakeSockAddr()
178 PERFETTO_CHECK(parts.size() == 2); in MakeSockAddr()
180 PERFETTO_CHECK(address.size() == 1); in MakeSockAddr()
182 PERFETTO_CHECK(port.size() == 1); in MakeSockAddr()
186 PERFETTO_CHECK(getaddrinfo(address[0].c_str(), port[0].c_str(), &hints, in MakeSockAddr()
188 PERFETTO_CHECK(addr_info->ai_family == AF_INET6); in MakeSockAddr()
195 PERFETTO_CHECK(false); // For GCC. in MakeSockAddr()
204 PERFETTO_CHECK(init_winsock_once); in CreateSocketHandle()
240 PERFETTO_CHECK(n == 0); in ShiftMsgHdrPosix()
275 PERFETTO_CHECK(fd_); in UnixSocketRaw()
285 PERFETTO_CHECK(!setsockopt(*fd_, SOL_SOCKET, SO_REUSEADDR, in UnixSocketRaw()
299 PERFETTO_CHECK(event_handle_); in UnixSocketRaw()
304 PERFETTO_CHECK(fcntl_res == 0); in UnixSocketRaw()
315 PERFETTO_CHECK(WSAEventSelect(*fd_, *event_handle_, 0) == 0); in SetBlocking()
317 PERFETTO_CHECK(ioctlsocket(*fd_, static_cast<long>(FIONBIO), &flag) == 0); in SetBlocking()
319 PERFETTO_CHECK( in SetBlocking()
331 PERFETTO_CHECK(fcntl_res == 0); in SetBlocking()
341 PERFETTO_CHECK(fcntl_res == 0); in RetainOnExec()
466 PERFETTO_CHECK(control_buf_len <= sizeof(control_buf)); in Send()
497 PERFETTO_CHECK(msg_hdr.msg_controllen <= sizeof(control_buf)); in Receive()
503 PERFETTO_CHECK(static_cast<size_t>(sz) <= len); in Receive()
514 PERFETTO_CHECK(fds == nullptr); in Receive()
692 PERFETTO_CHECK(sock_raw_); in UnixSocket()
753 PERFETTO_CHECK(peer_cred_mode_ != SockPeerCredMode::kIgnore); in ReadPeerCredentialsPosix()
761 PERFETTO_CHECK(res == 0); in ReadPeerCredentialsPosix()
768 PERFETTO_CHECK(res == 0 && user_cred.cr_version == XUCRED_VERSION); in ReadPeerCredentialsPosix()
778 PERFETTO_CHECK(WSAEnumNetworkEvents(sock_raw_.fd(), sock_raw_.watch_handle(), in OnEvent()
974 PERFETTO_CHECK(static_cast<size_t>(sz) <= len); in Receive()
981 PERFETTO_CHECK(rsize <= max_length); in ReceiveString()