Searched refs:mock_count (Results 1 – 1 of 1) sorted by relevance
43 static int mock_count = 0; variable63 mock_count = 0; 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 …]