Lines Matching defs:result
48 TSS_RESULT result;
50 if (TPM_ERROR(result = Tspi_Context_GetTpmObject(context_.value(),
52 TPM_LOG(ERROR, result) << "Error getting a handle to the TPM.";
63 TSS_RESULT result;
65 if (TPM_ERROR(result = Tspi_GetPolicyObject(tpm_handle,
68 TPM_LOG(ERROR, result) << "Error calling Tspi_GetPolicyObject";
71 if (TPM_ERROR(result = Tspi_Policy_SetSecret(
76 TPM_LOG(ERROR, result) << "Error calling Tspi_Policy_SetSecret";
86 TSS_RESULT result;
87 if (TPM_ERROR(result = Tspi_Context_Create(context_.ptr()))) {
88 TPM_LOG(ERROR, result) << "Error connecting to TPM.";
93 if (TPM_ERROR(result = Tspi_Context_Connect(context_, nullptr))) {
94 if (ERROR_CODE(result) == TSS_E_COMM_FAILURE) {
98 TPM_LOG(ERROR, result) << "Error connecting to TPM.";