Searched refs:atf_libc_error (Results 1 – 11 of 11) sorted by relevance
/netbsd-src/external/bsd/atf/dist/atf-c/detail/ |
H A D | env.c | 64 err = atf_libc_error(errno, "Cannot set environment variable " in atf_env_set() 74 err = atf_libc_error(errno, "Cannot set environment variable " in atf_env_set() 99 err = atf_libc_error(errno, "Cannot unset environment variable" in atf_env_unset()
|
H A D | fs.c | 215 err = atf_libc_error(errno, "Cannot create temporary directory " in do_mkdtemp() 233 err = atf_libc_error(errno, "Cannot create temporary file " in do_mkstemp() 557 err = atf_libc_error(errno, "Cannot get information of %s; " in atf_fs_stat_init() 706 err = atf_libc_error(errno, "Cannot get information from file %s", in atf_fs_eaccess() 750 err = atf_libc_error(EACCES, "Access check failed"); in atf_fs_eaccess() 786 err = atf_libc_error(errno, "Cannot determine current directory"); in atf_fs_getcwd() 868 err = atf_libc_error(errno, "Cannot remove directory"); in atf_fs_rmdir() 884 err = atf_libc_error(errno, "Cannot unlink file: '%s'", path); in atf_fs_unlink()
|
H A D | text.c | 158 err = atf_libc_error(EINVAL, "Cannot convert string '%s' " in atf_text_to_bool() 175 err = atf_libc_error(EINVAL, "'%s' is not a number", str); in atf_text_to_long() 177 err = atf_libc_error(ERANGE, "'%s' is out of range", str); in atf_text_to_long()
|
H A D | process.c | 75 err = atf_libc_error(errno, "Failed to create pipe"); in stream_prepare_init() 278 err = atf_libc_error(errno, "Failed waiting for process %d", in atf_process_child_wait() 320 err = atf_libc_error(errno, "Could not allocate file descriptor"); in safe_dup() 343 err = atf_libc_error(errno, "Cannot connect descriptor %d to %d", in child_connect() 355 err = atf_libc_error(errno, "Could not create %s", in child_connect() 477 err = atf_libc_error(errno, "Failed to fork"); in fork_with_streams()
|
H A D | map.c | 189 err = atf_libc_error(EINVAL, "List too short; no value for " in atf_map_init_charpp()
|
H A D | dynstr.c | 166 err = atf_libc_error(errno, "Cannot format string"); in atf_dynstr_init_ap()
|
/netbsd-src/external/bsd/atf/dist/atf-c/ |
H A D | error_test.c | 176 err = atf_libc_error(ENOMEM, "Test message 1"); in ATF_TC_BODY() 182 err = atf_libc_error(EPERM, "%s message %d", "Test", 2); in ATF_TC_BODY() 199 err = atf_libc_error(ENOMEM, "Test message 1"); in ATF_TC_BODY() 205 err = atf_libc_error(EPERM, "Test message 2"); in ATF_TC_BODY() 211 err = atf_libc_error(EPERM, "%s message %d", "Test", 3); in ATF_TC_BODY()
|
H A D | error.h | 66 atf_error_t atf_libc_error(int, const char *, ...)
|
H A D | error.c | 202 atf_libc_error(int syserrno, const char *fmt, ...) in atf_libc_error() function
|
H A D | tc.c | 200 return atf_libc_error( in write_resfile() 226 err = atf_libc_error(errno, "Cannot create results file '%s'", in create_resfile()
|
/netbsd-src/external/bsd/atf/dist/atf-c++/detail/ |
H A D | exceptions_test.cpp | 94 atf::throw_atf_error(atf_libc_error(1, "System error 1")); in ATF_TEST_CASE_BODY()
|