Home
last modified time | relevance | path

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

/external/tpm2-tss/test/unit/
Dtest_tss2_rc.c146 custom_err_handler(TSS2_RC rc) in custom_err_handler() function
166 TSS2_RC_HANDLER old = Tss2_RC_SetHandler(1, "cstm", custom_err_handler); in test_custom_handler()
195 assert_ptr_equal(old, custom_err_handler); in test_custom_handler()
210 custom_err_handler); in test_zero_length_name()
214 custom_err_handler); in test_zero_length_name()
215 assert_ptr_equal(old, custom_err_handler); in test_zero_length_name()
223 TSS2_RC_HANDLER old = Tss2_RC_SetHandler(1, "way to long of name", custom_err_handler); in test_over_length_name()
226 old = Tss2_RC_SetHandler(1, "way to long of name", custom_err_handler); in test_over_length_name()
227 assert_ptr_equal(old, custom_err_handler); in test_over_length_name()
236 NULL, custom_err_handler); in test_null_name()
[all …]