Searched refs:sessions_ (Results 1 – 11 of 11) sorted by relevance
/external/tensorflow/tensorflow/core/framework/ |
D | op_segment.cc | 35 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()
|
D | op_segment.h | 82 SessionMap sessions_ TF_GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | session_mgr.cc | 92 << sessions_.size(); in CreateSession() 96 auto session_it = sessions_.find(it->second.session_handle); in CreateSession() 97 if (session_it != sessions_.end()) { in CreateSession() 98 sessions_.erase(session_it); in CreateSession() 178 sessions_.insert(std::make_pair(session, std::move(worker_session))); in CreateSession() 199 auto it = sessions_.find(session); in UpdateSession() 200 if (it == sessions_.end()) { in UpdateSession() 256 auto it = sessions_.find(session); in DeleteSession() 257 if (it != sessions_.end()) { in DeleteSession() 258 sessions_.erase(it); in DeleteSession() [all …]
|
D | master.cc | 102 for (const auto& entry : sessions_) { in GC() 117 for (const auto& handle : handles) sessions_.erase(handle); in GC() 125 session = gtl::FindPtrOrNull(sessions_, handle); in FindMasterSession() 489 CHECK(sessions_.insert({session->handle(), session}).second); in CreateSession() 564 auto iter = sessions_.find(req->session_handle()); in CloseSession() 565 if (iter == sessions_.end()) { in CloseSession() 575 sessions_.erase(iter); in CloseSession() 660 for (const auto& entry : sessions_) { in Reset() 663 sessions_.clear(); in Reset()
|
D | master.h | 87 std::unordered_map<string, MasterSession*> sessions_ TF_GUARDED_BY(mu_);
|
D | session_mgr.h | 122 std::map<string, std::shared_ptr<WorkerSession>> sessions_ TF_GUARDED_BY(mu_);
|
/external/webrtc/rtc_base/ |
D | openssl_session_cache.cc | 26 for (const auto& it : sessions_) { in ~OpenSSLSessionCache() 34 auto it = sessions_.find(hostname); in LookupSession() 35 return (it != sessions_.end()) ? it->second : nullptr; in LookupSession() 42 sessions_[hostname] = new_session; in AddSession()
|
D | openssl_session_cache.h | 61 std::map<std::string, SSL_SESSION*> sessions_; variable
|
/external/perfetto/src/tracing/consumer_api_deprecated/ |
D | consumer_api_deprecated.cc | 293 std::map<Handle, std::unique_ptr<TracingSession>> sessions_; member in perfetto::consumer::__anonbe8da00b0111::TracingController 337 sessions_.emplace(handle, std::unique_ptr<TracingSession>(session)); in Create() 347 auto it = sessions_.find(handle); in StartTracing() 348 if (it == sessions_.end()) { in StartTracing() 358 auto it = sessions_.find(handle); in PollState() 359 if (it == sessions_.end()) in PollState() 368 auto it = sessions_.find(handle); in ReadTrace() 369 if (it == sessions_.end()) { in ReadTrace() 390 auto it = sessions_.find(handle); in Destroy() 391 if (it == sessions_.end()) in Destroy() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | direct_session.cc | 197 sessions_.push_back(session); in NewSession() 211 std::swap(sessions_to_reset, sessions_); in Reset() 227 sessions_.erase(std::remove(sessions_.begin(), sessions_.end(), session), in Deregister() 228 sessions_.end()); in Deregister() 241 std::vector<DirectSession*> sessions_ TF_GUARDED_BY(sessions_lock_);
|
/external/perfetto/src/tracing/test/ |
D | api_integrationtest.cc | 420 sessions_.emplace_back(); in NewTrace() 421 TestTracingSessionHandle* handle = &sessions_.back(); in NewTrace() 680 std::list<TestTracingSessionHandle> sessions_; // Needs stable pointers. member in __anone89577de0111::PerfettoApiTest
|