Home
last modified time | relevance | path

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

/external/webrtc/p2p/base/
Dport_allocator.cc171 pooled_sessions_.clear(); in SetConfiguration()
178 while (candidate_pool_size_ < static_cast<int>(pooled_sessions_.size())) { in SetConfiguration()
179 pooled_sessions_.back().reset(nullptr); in SetConfiguration()
180 pooled_sessions_.pop_back(); in SetConfiguration()
188 for (const auto& session : pooled_sessions_) { in SetConfiguration()
195 while (static_cast<int>(pooled_sessions_.size()) < candidate_pool_size_) { in SetConfiguration()
202 pooled_sessions_.push_back( in SetConfiguration()
228 if (pooled_sessions_.empty()) { in TakePooledSession()
238 if (cit == pooled_sessions_.end()) { in TakePooledSession()
243 pooled_sessions_.begin() + std::distance(pooled_sessions_.cbegin(), cit); in TakePooledSession()
[all …]
Dport_allocator.h614 return pooled_sessions_; in pooled_sessions()
647 std::vector<std::unique_ptr<PortAllocatorSession>> pooled_sessions_; variable