Lines Matching refs:context

62 struct context {
75 static void context_init(struct context *, const atf_tc_t *, const char *);
83 static void error_in_expect(struct context *, const char *, ...)
85 static void validate_expect(struct context *);
86 static void expected_failure(struct context *, atf_dynstr_t *)
88 static void fail_requirement(struct context *, atf_dynstr_t *)
90 static void fail_check(struct context *, atf_dynstr_t *);
91 static void pass(struct context *)
93 static void skip(struct context *, atf_dynstr_t *)
99 static void errno_test(struct context *, const char *, const size_t,
101 void (*)(struct context *, atf_dynstr_t *));
103 static atf_error_t check_prog(struct context *, const char *);
106 context_init(struct context *ctx, const atf_tc_t *tc, const char *resfile)
234 error_in_expect(struct context *ctx, const char *fmt, ...)
252 validate_expect(struct context *ctx)
279 expected_failure(struct context *ctx, atf_dynstr_t *reason)
288 fail_requirement(struct context *ctx, atf_dynstr_t *reason)
303 fail_check(struct context *ctx, atf_dynstr_t *reason)
322 pass(struct context *ctx)
338 skip(struct context *ctx, atf_dynstr_t *reason)
400 errno_test(struct context *ctx, const char *file, const size_t line,
403 void (*fail_func)(struct context *, atf_dynstr_t *))
461 check_prog(struct context *ctx, const char *prog)
787 static void _atf_tc_fail(struct context *, const char *, va_list)
789 static void _atf_tc_fail_nonfatal(struct context *, const char *, va_list);
790 static void _atf_tc_fail_check(struct context *, const char *, const size_t,
792 static void _atf_tc_fail_requirement(struct context *, const char *,
794 static void _atf_tc_pass(struct context *) ATF_DEFS_ATTRIBUTE_NORETURN;
795 static void _atf_tc_require_prog(struct context *, const char *);
796 static void _atf_tc_skip(struct context *, const char *, va_list)
798 static void _atf_tc_check_errno(struct context *, const char *, const size_t,
800 static void _atf_tc_require_errno(struct context *, const char *, const size_t,
802 static void _atf_tc_expect_pass(struct context *);
803 static void _atf_tc_expect_fail(struct context *, const char *, va_list);
804 static void _atf_tc_expect_exit(struct context *, const int, const char *,
806 static void _atf_tc_expect_signal(struct context *, const int, const char *,
808 static void _atf_tc_expect_death(struct context *, const char *,
812 _atf_tc_fail(struct context *ctx, const char *fmt, va_list ap)
826 _atf_tc_fail_nonfatal(struct context *ctx, const char *fmt, va_list ap)
839 _atf_tc_fail_check(struct context *ctx, const char *file, const size_t line,
853 _atf_tc_fail_requirement(struct context *ctx, const char *file,
868 _atf_tc_pass(struct context *ctx)
875 _atf_tc_require_prog(struct context *ctx, const char *prog)
881 _atf_tc_skip(struct context *ctx, const char *fmt, va_list ap)
894 _atf_tc_check_errno(struct context *ctx, const char *file, const size_t line,
902 _atf_tc_require_errno(struct context *ctx, const char *file, const size_t line,
911 _atf_tc_expect_pass(struct context *ctx)
919 _atf_tc_expect_fail(struct context *ctx, const char *reason, va_list ap)
934 _atf_tc_expect_exit(struct context *ctx, const int exitcode, const char *reason,
951 _atf_tc_expect_signal(struct context *ctx, const int signo, const char *reason,
968 _atf_tc_expect_death(struct context *ctx, const char *reason, va_list ap)
984 _atf_tc_expect_timeout(struct context *ctx, const char *reason, va_list ap)
1003 static struct context Current;