Searched refs:exp_errno (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.0-release/contrib/atf/atf-c/
H A Dmacros.h184 #define ATF_CHECK_ERRNO(exp_errno, bool_expr) \
185 atf_tc_check_errno(__FILE__, __LINE__, exp_errno, #bool_expr, bool_expr)
187 #define ATF_REQUIRE_ERRNO(exp_errno, bool_expr) \
188 atf_tc_require_errno(__FILE__, __LINE__, exp_errno, #bool_expr, bool_expr)
H A Dtc.c405 const int exp_errno, const char *expr_str,
412 if (exp_errno != actual_errno) {
416 "in %s", exp_errno, actual_errno, expr_str);
897 const int exp_errno, const char *expr_str,
900 errno_test(ctx, file, line, exp_errno, expr_str, expr_result, fail_check);
905 const int exp_errno, const char *expr_str,
908 errno_test(ctx, file, line, exp_errno, expr_str, expr_result,
1136 atf_tc_check_errno(const char *file, const size_t line, const int exp_errno, argument
1141 _atf_tc_check_errno(&Current, file, line, exp_errno, expr_str,
1146 atf_tc_require_errno(const char *file, const size_t line, const int exp_errno, argument
404 errno_test(struct context *ctx, const char *file, const size_t line, const int exp_errno, const char *expr_str, const bool expr_result, void (*fail_func)(struct context *, atf_dynstr_t *)) argument
896 _atf_tc_check_errno(struct context *ctx, const char *file, const size_t line, const int exp_errno, const char *expr_str, const bool expr_result) argument
904 _atf_tc_require_errno(struct context *ctx, const char *file, const size_t line, const int exp_errno, const char *expr_str, const bool expr_result) argument
[all...]
H A Dmacros_test.c144 #define H_CHECK_ERRNO(id, exp_errno, bool_expr) \
145 H_DEF(check_errno_ ## id, ATF_CHECK_ERRNO(exp_errno, bool_expr))
183 #define H_REQUIRE_ERRNO(id, exp_errno, bool_expr) \
184 H_DEF(require_errno_ ## id, ATF_REQUIRE_ERRNO(exp_errno, bool_expr))
/freebsd-10.0-release/contrib/atf/atf-c++/
H A Dmacros.hpp188 #define ATF_CHECK_ERRNO(exp_errno, bool_expr) \
189 atf::tests::tc::check_errno(__FILE__, __LINE__, exp_errno, #bool_expr, \
192 #define ATF_REQUIRE_ERRNO(exp_errno, bool_expr) \
193 atf::tests::tc::require_errno(__FILE__, __LINE__, exp_errno, #bool_expr, \
H A Dtests.cpp337 impl::tc::check_errno(const char* file, const int line, const int exp_errno, argument
340 atf_tc_check_errno(file, line, exp_errno, expr_str, result);
344 impl::tc::require_errno(const char* file, const int line, const int exp_errno, argument
347 atf_tc_require_errno(file, line, exp_errno, expr_str, result);

Completed in 69 milliseconds