Searched refs:fail_at_count (Results 1 – 1 of 1) sorted by relevance
44 static int fail_at_count = 0; variable64 fail_at_count = fail_on_call; 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 …]