| /external/tensorflow/tensorflow/core/framework/ |
| op_segment.cc | 37 Status OpSegment::FindOrCreate(const string& session_handle, 42 auto item = gtl::FindPtrOrNull(sessions_, session_handle); 44 return errors::NotFound("Session ", session_handle, " is not found."); 58 auto item = gtl::FindPtrOrNull(sessions_, session_handle); 60 return errors::NotFound("Session ", session_handle, " is not found."); 73 void OpSegment::AddHold(const string& session_handle) { 75 Item** item = &sessions_[session_handle]; 83 void OpSegment::RemoveHold(const string& session_handle) { 87 auto siter = sessions_.find(session_handle); 89 VLOG(1) << "Session " << session_handle << " is not found." [all...] |
| op_segment.h | 49 void AddHold(const string& session_handle); 50 void RemoveHold(const string& session_handle); 53 // "session_handle", returns the existing op kernel in "*kernel". 60 Status FindOrCreate(const string& session_handle, const string& node_name,
|
| /external/tensorflow/tensorflow/core/protobuf/ |
| master.proto | 52 string session_handle = 1; 72 // CreateSession or ExtendSession with the same session_handle. 78 // REQUIRED: session_handle must be returned by a CreateSession call 80 string session_handle = 1; 111 // REQUIRED: session_handle must be returned by a CreateSession call 113 string session_handle = 1; 169 // REQUIRED: session_handle must be returned by a CreateSession call 171 string session_handle = 1; 201 // REQUIRED: session_handle must be returned by a CreateSession call 203 string session_handle = 1 [all...] |
| worker.proto | 59 string session_handle = 1; 82 string session_handle = 1; 104 string session_handle = 1; 143 // The session_handle used when registering the graph. If session_handle is 145 string session_handle = 2; 197 // session_handle is the master-generated unique id for this session. 198 // If session_handle is non-empty, it must be the same as used when 201 string session_handle = 8;
|
| /external/tensorflow/tensorflow/core/distributed_runtime/ |
| session_mgr_test.cc | 70 string session_handle = "test_session_handle"; local 71 TF_EXPECT_OK(mgr_.CreateSession(session_handle, server_def, true)); 72 auto session = mgr_.WorkerSessionForSession(session_handle); 73 EXPECT_NE(nullptr, session) << "Session for " << session_handle << "was null"; 75 TF_EXPECT_OK(mgr_.DeleteSession(session_handle)); 111 string session_handle = ""; local 112 auto session = mgr_.WorkerSessionForSession(session_handle); 115 TF_EXPECT_OK(mgr_.DeleteSession(session_handle));
|
| worker.cc | 46 Status s = env_->session_mgr->CreateSession(request->session_handle(), 55 Status s = env_->session_mgr->DeleteSession(request->session_handle()); 63 env_->session_mgr->WorkerSessionForSession(request->session_handle()); 65 request->session_handle(), request->graph_def(), request->graph_options(), 75 env_->session_mgr->WorkerSessionForSession(request->session_handle()); 139 env_->session_mgr->WorkerSessionForSession(request->session_handle()); 213 env_->session_mgr->WorkerSessionForSession(request->session_handle());
|
| master.cc | 444 auto session = FindMasterSession(req->session_handle()); 446 done(errors::Aborted("Session ", req->session_handle(), " is not found.")); 462 auto session = FindMasterSession(req->session_handle()); 464 done(errors::Aborted("Session ", req->session_handle(), " is not found.")); 478 auto session = FindMasterSession(req->session_handle()); 480 done(errors::Aborted("Session ", req->session_handle(), " is not found.")); 500 auto iter = sessions_.find(req->session_handle()); 504 "Session ", req->session_handle(), 509 // `sessions_[req->session_handle()]` to `session`. 527 if (!req->session_handle().empty()) [all...] |
| message_wrappers.cc | 40 const string& InMemoryRunStepRequest::session_handle() const { function in class:tensorflow::InMemoryRunStepRequest 112 proto_version_->set_session_handle(session_handle()); 130 const string& MutableProtoRunStepRequest::session_handle() const { function in class:tensorflow::MutableProtoRunStepRequest 131 return request_.session_handle(); 224 const string& ProtoRunStepRequest::session_handle() const { function in class:tensorflow::ProtoRunStepRequest 225 return request_->session_handle(); 281 const string& InMemoryRunGraphRequest::session_handle() const { function in class:tensorflow::InMemoryRunGraphRequest 366 proto_version_->set_session_handle(session_handle()); 384 const string& MutableProtoRunGraphRequest::session_handle() const { function in class:tensorflow::MutableProtoRunGraphRequest 385 return request_.session_handle(); 487 const string& ProtoRunGraphRequest::session_handle() const { function in class:tensorflow::ProtoRunGraphRequest [all...] |
| message_wrappers.h | 53 // REQUIRED: session_handle must be returned by a CreateSession call 55 virtual const string& session_handle() const = 0; 116 const string& session_handle() const override; 166 const string& session_handle() const override; 205 const string& session_handle() const override; 247 virtual const string& session_handle() const = 0; 315 const string& session_handle() const override; 366 const string& session_handle() const override; 402 const string& session_handle() const override;
|
| message_wrappers_test.cc | 53 EXPECT_EQ("handle", request.session_handle());
|
| /system/tpm/attestation/server/ |
| pkcs11_key_store.h | 78 CK_OBJECT_HANDLE FindObject(CK_SESSION_HANDLE session_handle, 87 bool EnumObjects(CK_SESSION_HANDLE session_handle, 92 bool GetKeyName(CK_SESSION_HANDLE session_handle, 99 bool DeleteIfMatchesPrefix(CK_SESSION_HANDLE session_handle, 112 bool DoesCertificateExist(CK_SESSION_HANDLE session_handle,
|
| pkcs11_key_store.cc | 412 CK_OBJECT_HANDLE Pkcs11KeyStore::FindObject(CK_SESSION_HANDLE session_handle, 430 if ((C_FindObjectsInit(session_handle, attributes, arraysize(attributes)) != 432 (C_FindObjects(session_handle, &key_handle, 1, &count) != CKR_OK) || 433 (C_FindObjectsFinal(session_handle) != CKR_OK)) { 484 CK_SESSION_HANDLE session_handle, 501 if ((C_FindObjectsInit(session_handle, attributes, arraysize(attributes)) != 503 (C_FindObjects(session_handle, handles, kMaxHandles, &count) != CKR_OK)) { 510 if (!GetKeyName(session_handle, handles[i], &key_name)) { 517 if (C_FindObjects(session_handle, handles, kMaxHandles, &count) != CKR_OK) { 522 if (C_FindObjectsFinal(session_handle) != CKR_OK) [all...] |
| /system/tpm/trunks/ |
| mock_tpm.cc | 61 TPMI_SH_AUTH_SESSION* session_handle, 66 auth_hash, session_handle, nonce_tpm, authorization_delegate); 105 const TPMI_SH_HMAC& session_handle, 113 privacy_admin_handle, sign_handle, session_handle, qualifying_data,
|
| hmac_authorization_delegate.cc | 64 auth.session_handle = session_handle_; 210 bool HmacAuthorizationDelegate::InitSession(TPM_HANDLE session_handle, 216 session_handle_ = session_handle;
|
| password_authorization_delegate.cc | 40 auth.session_handle = TPM_RS_PW;
|
| password_authorization_delegate_test.cc | 37 "\x40\x00\x00\x09" // session_handle = TPM_RS_PW
|
| session_manager.h | 40 // TPM_HANDLE session_handle = session_manager->GetSessionHandle();
|
| hmac_authorization_delegate.h | 83 bool InitSession(TPM_HANDLE session_handle, 109 TPM_HANDLE session_handle() const { return session_handle_; } function in class:trunks::HmacAuthorizationDelegate
|
| resource_manager.cc | 265 TPM_HANDLE session_handle) { 267 if (session_handle == TPM_RS_PW) { 270 auto handle_iter = session_handles_.find(session_handle); 280 VLOG(1) << "RELOAD_SESSION: " << std::hex << session_handle; local
|
| session_manager_impl.cc | 102 // The tpm returns the tpm_nonce and the session_handle referencing the
|
| mock_tpm.h | 103 TPMI_SH_AUTH_SESSION* session_handle, 114 TPMI_SH_AUTH_SESSION* session_handle, 118 void(const TPMI_SH_POLICY& session_handle, 123 TPM_RC(const TPMI_SH_POLICY& session_handle, 603 const TPMI_SH_HMAC& session_handle, 615 const TPMI_SH_HMAC& session_handle, 625 const TPMI_SH_HMAC& session_handle, [all...] |
| hmac_authorization_delegate_test.cc | 172 EXPECT_EQ(auth_command.session_handle, session_handle_);
|
| resource_manager.h | 111 TPM_HANDLE session_handle);
|
| /bionic/libc/kernel/uapi/linux/ |
| ipmi.h | 48 unsigned char session_handle; member in struct:ipmi_lan_addr
|
| /external/tensorflow/tensorflow/core/common_runtime/ |
| optimization_registry.h | 38 string session_handle; member in struct:tensorflow::GraphOptimizationPassOptions
|