Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dserver_connection.cpp140 std::map<void*, std::weak_ptr<WsConnection>> weak_by_ptr_; member in cuttlefish::webrtc_streaming::WsConnectionContext
386 if (weak_by_ptr_.count(raw) == 0) { in GetConnection()
389 connection = weak_by_ptr_[raw].lock(); in GetConnection()
391 weak_by_ptr_.erase(raw); in GetConnection()
400 weak_by_ptr_.emplace( in RememberConnection()
406 weak_by_ptr_.erase(raw); in ForgetConnection()