Home
last modified time | relevance | path

Searched refs:kListening (Results 1 – 5 of 5) sorted by relevance

/external/openscreen/platform/impl/
Dsocket_state.h22 kListening, enumerator
Dstream_socket_posix.cc72 if (!is_bound_ || state_ != TcpSocketState::kListening) { in Accept()
187 state_ = TcpSocketState::kListening; in Listen()
Dtls_connection_factory_posix.cc139 OSP_DCHECK(socket->state() == TcpSocketState::kListening); in Listen()
/external/perfetto/include/perfetto/ext/base/
Dunix_socket.h243 kListening // After Listen(), until Shutdown(). enumerator
347 bool is_listening() const { return state_ == State::kListening; } in is_listening()
/external/perfetto/src/base/
Dunix_socket.cc606 event_listener, task_runner, std::move(fd), State::kListening, in Listen()
675 } else if (adopt_state == State::kListening) { in UnixSocket()
687 state_ = State::kListening; in UnixSocket()
834 if (state_ == State::kListening && (evts.lNetworkEvents & FD_ACCEPT)) { in OnEvent()
884 if (state_ == State::kListening) { in OnEvent()