/freebsd/contrib/atf/atf-c/ |
H A D | error_test.c | 65 ATF_REQUIRE(atf_error_is(err, "test_error")); in ATF_TC_BODY() 66 ATF_REQUIRE(!atf_error_is(err, "unknown_error")); in ATF_TC_BODY() 72 ATF_REQUIRE(atf_error_is(err, "test_data_error")); in ATF_TC_BODY() 73 ATF_REQUIRE(!atf_error_is(err, "unknown_error")); in ATF_TC_BODY() 95 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY() 172 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY() 178 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY() 228 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY() 261 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY() 268 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
|
H A D | error.c | 149 atf_error_is(const atf_error_t err, const char *type) in atf_error_is() function 191 PRE(atf_error_is(err, "libc")); in libc_format() 219 PRE(atf_error_is(err, "libc")); in atf_libc_error_code() 231 PRE(atf_error_is(err, "libc")); in atf_libc_error_msg() 248 PRE(atf_error_is(err, "no_memory")); in no_memory_format()
|
H A D | error.h | 53 bool atf_error_is(const atf_error_t, const char *);
|
H A D | check.c | 83 INV(atf_error_is(err, "libc") && in cleanup_tmpdir() 93 INV(atf_error_is(err, "libc") && in cleanup_tmpdir()
|
H A D | check_test.c | 478 ATF_CHECK(atf_error_is(err, "invalid_umask")); in ATF_TC_BODY()
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | exceptions.cpp | 93 PRE(atf_error_is(err, "libc")); in throw_libc_error() 105 PRE(atf_error_is(err, "no_memory")); in throw_no_memory_error() 139 if (atf_error_is(err, h->m_name)) { in throw_atf_error()
|
H A D | exceptions_test.cpp | 56 PRE(atf_error_is(err, "test")); in test_format()
|
H A D | fs.cpp | 82 if (atf_error_is(err, "libc")) { in safe_access()
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | fs_test.c | 595 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY() 671 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY() 696 if (atf_error_is(err, "libc")) in ATF_TC_BODY() 706 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY() 775 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY() 804 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY() 886 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY() 913 ATF_REQUIRE(atf_error_is(err, "invalid_umask")); in do_umask_check() 1019 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
|
H A D | dynstr_test.c | 163 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY() 204 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY() 209 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
|
H A D | fs.c | 92 PRE(atf_error_is(err, "invalid_umask")); in invalid_umask_format() 138 PRE(atf_error_is(err, "unknown_type")); in unknown_type_format() 758 if (atf_error_is(err, "libc") && atf_libc_error_code(err) == ENOENT) { in atf_fs_exists()
|
H A D | tp_main.c | 80 PRE(atf_error_is(err, #name)); \ 121 if (atf_error_is(err, "usage")) in print_error()
|
H A D | text_test.c | 178 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
|
H A D | map_test.c | 110 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
|
H A D | process.c | 636 INV(atf_error_is(err, "libc") && atf_libc_error_code(err) == EINTR); in atf_process_exec_array()
|
H A D | process_test.c | 795 if (!atf_error_is(err, "libc")) { in child_spawn_loop_and_wait_eintr()
|