Searched refs:fail_with_error (Results 1 – 1 of 1) sorted by relevance
45 static uint32_t fail_with_error = TPM_SUCCESS; variable65 fail_with_error = fail_with_err; in ResetMocks()92 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclLibInit()98 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclStartup()104 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclResume()110 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclForceClear()116 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclSetEnable()122 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclSetDeactivated()142 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclRead()160 return (++mock_count == fail_at_count) ? fail_with_error : TPM_SUCCESS; in TlclWrite()[all …]