/netbsd-src/external/bsd/atf/dist/atf-c/detail/ |
H A D | fs.h | 51 typedef struct atf_fs_path atf_fs_path_t; typedef 54 atf_error_t atf_fs_path_init_ap(atf_fs_path_t *, const char *, va_list) 56 atf_error_t atf_fs_path_init_fmt(atf_fs_path_t *, const char *, ...) 58 atf_error_t atf_fs_path_copy(atf_fs_path_t *, const atf_fs_path_t *); 59 void atf_fs_path_fini(atf_fs_path_t *); 62 atf_error_t atf_fs_path_branch_path(const atf_fs_path_t *, atf_fs_path_t *); 63 const char *atf_fs_path_cstring(const atf_fs_path_t *); 64 atf_error_t atf_fs_path_leaf_name(const atf_fs_path_t *, atf_dynstr_t *); 65 bool atf_fs_path_is_absolute(const atf_fs_path_t *); 66 bool atf_fs_path_is_root(const atf_fs_path_t *); [all …]
|
H A D | fs.c | 62 static atf_error_t copy_contents(const atf_fs_path_t *, char **); 68 static void replace_contents(atf_fs_path_t *, const char *); 108 invalid_umask_error(const atf_fs_path_t *path, const int type, in invalid_umask_error() 180 copy_contents(const atf_fs_path_t *p, char **buf) in copy_contents() 302 replace_contents(atf_fs_path_t *p, const char *buf) in replace_contents() 353 atf_fs_path_init_ap(atf_fs_path_t *p, const char *fmt, va_list ap) in atf_fs_path_init_ap() 366 atf_fs_path_init_fmt(atf_fs_path_t *p, const char *fmt, ...) in atf_fs_path_init_fmt() 379 atf_fs_path_copy(atf_fs_path_t *dest, const atf_fs_path_t *src) in atf_fs_path_copy() 385 atf_fs_path_fini(atf_fs_path_t *p) in atf_fs_path_fini() 395 atf_fs_path_branch_path(const atf_fs_path_t *p, atf_fs_path_t *bp) in atf_fs_path_branch_path() [all …]
|
H A D | fs_test.c | 75 exists(const atf_fs_path_t *p) in exists() 82 mkstemp_discard_fd(atf_fs_path_t *p) in mkstemp_discard_fd() 131 atf_fs_path_t p; in ATF_TC_BODY() 152 atf_fs_path_t str, str2; in ATF_TC_BODY() 189 atf_fs_path_t p; in ATF_TC_BODY() 229 atf_fs_path_t p; in ATF_TC_BODY() 269 atf_fs_path_t p, bp; in ATF_TC_BODY() 307 atf_fs_path_t p; in ATF_TC_BODY() 347 atf_fs_path_t p; in ATF_TC_BODY() 380 atf_fs_path_t p, p2; in ATF_TC_BODY() [all …]
|
H A D | tp_main.c | 145 atf_fs_path_t m_srcdir; 148 atf_fs_path_t m_resfile; 154 argv0_to_dir(const char *argv0, atf_fs_path_t *dir) in argv0_to_dir() 157 atf_fs_path_t temp; in argv0_to_dir() 235 replace_path_param(atf_fs_path_t *param, const char *value) in replace_path_param() 238 atf_fs_path_t temp; in replace_path_param() 405 srcdir_strip_libtool(atf_fs_path_t *srcdir) in srcdir_strip_libtool() 408 atf_fs_path_t parent; in srcdir_strip_libtool() 428 atf_fs_path_t exe, srcdir; in handle_srcdir() 436 atf_fs_path_t srcdirabs; in handle_srcdir()
|
H A D | process.h | 57 const atf_fs_path_t *m_path; 74 const atf_fs_path_t *); 124 const atf_fs_path_t *, 130 const atf_fs_path_t *,
|
H A D | test_helpers.c | 70 atf_fs_path_t path; in build_check_c_o_srcdir() 99 atf_fs_path_t *path) in get_process_helpers_path() 127 atf_fs_path_t outpath, errpath; in run_h_tc()
|
H A D | process.c | 164 const atf_fs_path_t *path) in atf_process_stream_init_redirect_path() 593 const atf_fs_path_t *m_prog; 617 const atf_fs_path_t *prog, in atf_process_exec_array() 650 const atf_fs_path_t *prog, in atf_process_exec_list()
|
H A D | process_test.c | 353 atf_fs_path_t m_path; 524 atf_fs_path_t path; in ATF_TC_BODY() 866 atf_fs_path_t process_helpers; in do_exec() 912 atf_fs_path_t process_helpers; in ATF_TC_BODY() 923 atf_fs_path_t outpath; in ATF_TC_BODY()
|
/netbsd-src/external/bsd/atf/dist/atf-c/ |
H A D | check.c | 58 create_tmpdir(atf_fs_path_t *dir) in create_tmpdir() 80 cleanup_tmpdir(const atf_fs_path_t *dir, const atf_fs_path_t *outfile, in cleanup_tmpdir() 81 const atf_fs_path_t *errfile) in cleanup_tmpdir() 120 init_sb(const atf_fs_path_t *path, atf_process_stream_t *sb) in init_sb() 134 init_sbs(const atf_fs_path_t *outfile, atf_process_stream_t *outsb, in init_sbs() 135 const atf_fs_path_t *errfile, atf_process_stream_t *errsb) in init_sbs() 172 fork_and_wait(const char *const *argv, const atf_fs_path_t *outfile, in fork_and_wait() 173 const atf_fs_path_t *errfile, atf_process_status_t *status) in fork_and_wait() 292 atf_fs_path_t m_dir; 293 atf_fs_path_t m_stdout; [all …]
|
H A D | check_test.c | 55 atf_fs_path_t process_helpers; in do_exec() 74 atf_fs_path_t process_helpers; in do_exec_with_arg() 148 atf_fs_path_t test_p; in ATF_TC_BODY() 307 atf_fs_path_t process_helpers; in ATF_TC_BODY() 343 atf_fs_path_t out, err; in ATF_TC_BODY() 472 atf_fs_path_t process_helpers; in ATF_TC_BODY()
|
H A D | tc.c | 446 atf_fs_path_t p; in check_prog_in_dir() 472 atf_fs_path_t p; in check_prog() 492 atf_fs_path_t bp; in check_prog()
|
H A D | macros_test.c | 57 atf_fs_path_t p; in create_ctl_file() 70 atf_fs_path_t pp; in exists()
|
/netbsd-src/external/bsd/atf/dist/atf-c++/detail/ |
H A D | fs.hpp | 75 atf_fs_path_t m_path; 97 path(const atf_fs_path_t *); 112 const atf_fs_path_t* c_path(void) const;
|
H A D | fs.cpp | 126 impl::path::path(const atf_fs_path_t *p) in path() 145 const atf_fs_path_t* 177 atf_fs_path_t bp; in branch_path() 209 atf_fs_path_t pa; in to_absolute() 223 atf_fs_path_t tmp; in operator =()
|
/netbsd-src/external/bsd/atf/dist/test-programs/ |
H A D | c_helpers.c | 398 atf_fs_path_t p; in ATF_TC_BODY()
|