Home
last modified time | relevance | path

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

/freebsd/contrib/atf/atf-c/
H A Dtc.c440 const int exp_errno, const char *expr_str, in errno_test() argument
447 if (exp_errno != actual_errno) { in errno_test()
451 "in %s", exp_errno, actual_errno, expr_str); in errno_test()
932 const int exp_errno, const char *expr_str, in _atf_tc_check_errno() argument
935 errno_test(ctx, file, line, exp_errno, expr_str, expr_result, fail_check); in _atf_tc_check_errno()
940 const int exp_errno, const char *expr_str, in _atf_tc_require_errno() argument
943 errno_test(ctx, file, line, exp_errno, expr_str, expr_result, in _atf_tc_require_errno()
1178 atf_tc_check_errno(const char *file, const size_t line, const int exp_errno, in atf_tc_check_errno() argument
1183 _atf_tc_check_errno(&Current, file, line, exp_errno, expr_str, in atf_tc_check_errno()
1188 atf_tc_require_errno(const char *file, const size_t line, const int exp_errno, in atf_tc_require_errno() argument
[all …]
H A Dmacros.h264 #define ATF_CHECK_ERRNO(exp_errno, bool_expr) \
265 atf_tc_check_errno(__FILE__, __LINE__, (exp_errno), #bool_expr, (bool_expr))
267 #define ATF_REQUIRE_ERRNO(exp_errno, bool_expr) \
268 atf_tc_require_errno(__FILE__, __LINE__, (exp_errno), #bool_expr, (bool_expr))
H A Dmacros_test.c154 #define H_CHECK_ERRNO(id, exp_errno, bool_expr) \ argument
155 H_DEF(check_errno_ ## id, ATF_CHECK_ERRNO(exp_errno, bool_expr))
205 #define H_REQUIRE_ERRNO(id, exp_errno, bool_expr) \ argument
206 H_DEF(require_errno_ ## id, ATF_REQUIRE_ERRNO(exp_errno, bool_expr))
/freebsd/contrib/atf/atf-c++/
H A Dtests.cpp353 impl::tc::check_errno(const char* file, const int line, const int exp_errno, in check_errno() argument
356 atf_tc_check_errno(file, line, exp_errno, expr_str, result); in check_errno()
360 impl::tc::require_errno(const char* file, const int line, const int exp_errno, in require_errno() argument
363 atf_tc_require_errno(file, line, exp_errno, expr_str, result); in require_errno()