Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dop_segment.cc35 for (const auto& kv : sessions_) delete kv.second; in ~OpSegment()
43 auto item = gtl::FindPtrOrNull(sessions_, session_handle); in FindOrCreate()
59 auto item = gtl::FindPtrOrNull(sessions_, session_handle); in FindOrCreate()
76 Item** item = &sessions_[session_handle]; in AddHold()
88 auto siter = sessions_.find(session_handle); in RemoveHold()
89 if (siter == sessions_.end()) { in RemoveHold()
97 sessions_.erase(siter); in RemoveHold()
Dop_segment.h82 SessionMap sessions_ TF_GUARDED_BY(mu_);
/external/tensorflow/tensorflow/core/distributed_runtime/
Dsession_mgr.cc106 << sessions_.size(); in CreateSession()
110 auto session_it = sessions_.find(it->second.session_handle); in CreateSession()
111 if (session_it != sessions_.end()) { in CreateSession()
112 sessions_.erase(session_it); in CreateSession()
192 sessions_.insert(std::make_pair(session, std::move(worker_session))); in CreateSession()
238 auto it = sessions_.find(session); in UpdateSession()
239 if (it == sessions_.end()) { in UpdateSession()
295 auto it = sessions_.find(session); in DeleteSession()
296 if (it != sessions_.end()) { in DeleteSession()
297 sessions_.erase(it); in DeleteSession()
[all …]
Dmaster.cc104 for (const auto& entry : sessions_) { in GC()
119 for (const auto& handle : handles) sessions_.erase(handle); in GC()
127 session = gtl::FindPtrOrNull(sessions_, handle); in FindMasterSession()
487 CHECK(sessions_.insert({session->handle(), session}).second); in CreateSession()
562 auto iter = sessions_.find(req->session_handle()); in CloseSession()
563 if (iter == sessions_.end()) { in CloseSession()
573 sessions_.erase(iter); in CloseSession()
658 for (const auto& entry : sessions_) { in Reset()
661 sessions_.clear(); in Reset()
Dmaster.h87 std::unordered_map<string, MasterSession*> sessions_ TF_GUARDED_BY(mu_);
Dsession_mgr.h144 std::map<std::string, std::shared_ptr<WorkerSession>> sessions_
/external/webrtc/rtc_base/
Dopenssl_session_cache.cc27 for (const auto& it : sessions_) { in ~OpenSSLSessionCache()
35 auto it = sessions_.find(hostname); in LookupSession()
36 return (it != sessions_.end()) ? it->second : nullptr; in LookupSession()
43 sessions_.insert_or_assign(std::string(hostname), new_session); in AddSession()
Dopenssl_session_cache.h66 std::map<std::string, SSL_SESSION*, rtc::AbslStringViewCmp> sessions_; variable
/external/cronet/net/spdy/
Dspdy_session_pool.cc137 while (!sessions_.empty()) { in ~SpdySessionPool()
140 RemoveUnavailableSession((*sessions_.begin())->GetWeakPtr()); in ~SpdySessionPool()
447 auto it = sessions_.find(unavailable_session.get()); in RemoveUnavailableSession()
448 CHECK(it != sessions_.end()); in RemoveUnavailableSession()
450 sessions_.erase(it); in RemoveUnavailableSession()
470 while (!base::ranges::all_of(sessions_, is_draining)) { in CloseAllSessions()
598 DCHECK(base::Contains(sessions_, session.get())); in MapKeyToAvailableSession()
635 for (auto* session : sessions_) { in GetCurrentSessions()
700 sessions_.insert(new_session.release()); in InsertSession()
Dspdy_session_pool.h428 SessionSet sessions_; variable
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session.cc202 sessions_.push_back(session); in NewSession()
216 std::swap(sessions_to_reset, sessions_); in Reset()
232 sessions_.erase(std::remove(sessions_.begin(), sessions_.end(), session), in Deregister()
233 sessions_.end()); in Deregister()
246 std::vector<DirectSession*> sessions_ TF_GUARDED_BY(sessions_lock_);
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc747 sessions_.clear(); in TearDown()
790 sessions_.emplace_back(); in NewTrace()
791 TestTracingSessionHandle* handle = &sessions_.back(); in NewTrace()
912 std::list<TestTracingSessionHandle> sessions_; // Needs stable pointers. member in __anon78e5bb3c0111::PerfettoApiTest