Home
last modified time | relevance | path

Searched refs:mock_count (Results 1 – 1 of 1) sorted by relevance

/external/vboot_reference/tests/
Drollback_index2_tests.c43 static int mock_count = 0; variable
63 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 …]