Home
last modified time | relevance | path

Searched refs:atf_fs_path_t (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/atf/atf-c/detail/
H A Dfs.h45 typedef struct atf_fs_path atf_fs_path_t; typedef
48 atf_error_t atf_fs_path_init_ap(atf_fs_path_t *, const char *, va_list);
49 atf_error_t atf_fs_path_init_fmt(atf_fs_path_t *, const char *, ...);
50 atf_error_t atf_fs_path_copy(atf_fs_path_t *, const atf_fs_path_t *);
51 void atf_fs_path_fini(atf_fs_path_t *);
54 atf_error_t atf_fs_path_branch_path(const atf_fs_path_t *, atf_fs_path_t *);
55 const char *atf_fs_path_cstring(const atf_fs_path_t *);
56 atf_error_t atf_fs_path_leaf_name(const atf_fs_path_t *, atf_dynstr_t *);
57 bool atf_fs_path_is_absolute(const atf_fs_path_t *);
58 bool atf_fs_path_is_root(const atf_fs_path_t *);
[all …]
H A Dfs.c58 static atf_error_t copy_contents(const atf_fs_path_t *, char **);
63 static void replace_contents(atf_fs_path_t *, const char *);
103 invalid_umask_error(const atf_fs_path_t *path, const int type, in invalid_umask_error()
175 copy_contents(const atf_fs_path_t *p, char **buf) in copy_contents()
297 replace_contents(atf_fs_path_t *p, const char *buf) in replace_contents()
348 atf_fs_path_init_ap(atf_fs_path_t *p, const char *fmt, va_list ap) in atf_fs_path_init_ap()
361 atf_fs_path_init_fmt(atf_fs_path_t *p, const char *fmt, ...) in atf_fs_path_init_fmt()
374 atf_fs_path_copy(atf_fs_path_t *dest, const atf_fs_path_t *src) in atf_fs_path_copy()
380 atf_fs_path_fini(atf_fs_path_t *p) in atf_fs_path_fini()
390 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 Dfs_test.c72 exists(const atf_fs_path_t *p) in exists()
79 mkstemp_discard_fd(atf_fs_path_t *p) in mkstemp_discard_fd()
128 atf_fs_path_t p; in ATF_TC_BODY()
149 atf_fs_path_t str, str2; in ATF_TC_BODY()
186 atf_fs_path_t p; in ATF_TC_BODY()
226 atf_fs_path_t p; in ATF_TC_BODY()
266 atf_fs_path_t p, bp; in ATF_TC_BODY()
304 atf_fs_path_t p; in ATF_TC_BODY()
344 atf_fs_path_t p; in ATF_TC_BODY()
377 atf_fs_path_t p, p2; in ATF_TC_BODY()
[all …]
H A Dprocess.h52 const atf_fs_path_t *m_path;
69 const atf_fs_path_t *);
119 const atf_fs_path_t *,
125 const atf_fs_path_t *,
H A Dtp_main.c139 atf_fs_path_t m_srcdir;
142 atf_fs_path_t m_resfile;
148 argv0_to_dir(const char *argv0, atf_fs_path_t *dir) in argv0_to_dir()
151 atf_fs_path_t temp; in argv0_to_dir()
229 replace_path_param(atf_fs_path_t *param, const char *value) in replace_path_param()
232 atf_fs_path_t temp; in replace_path_param()
399 srcdir_strip_libtool(atf_fs_path_t *srcdir) in srcdir_strip_libtool()
402 atf_fs_path_t parent; in srcdir_strip_libtool()
422 atf_fs_path_t exe, srcdir; in handle_srcdir()
430 atf_fs_path_t srcdirabs; in handle_srcdir()
H A Dtest_helpers.c68 atf_fs_path_t path; in build_check_c_o_srcdir()
97 atf_fs_path_t *path) in get_process_helpers_path()
125 atf_fs_path_t outpath, errpath; in run_h_tc()
H A Dprocess.c161 const atf_fs_path_t *path) in atf_process_stream_init_redirect_path()
590 const atf_fs_path_t *m_prog;
614 const atf_fs_path_t *prog, in atf_process_exec_array()
647 const atf_fs_path_t *prog, in atf_process_exec_list()
H A Dprocess_test.c352 atf_fs_path_t m_path;
523 atf_fs_path_t path; in ATF_TC_BODY()
873 atf_fs_path_t process_helpers; in do_exec()
919 atf_fs_path_t process_helpers; in ATF_TC_BODY()
930 atf_fs_path_t outpath; in ATF_TC_BODY()
/freebsd/contrib/atf/atf-c/
H A Dcheck.c55 create_tmpdir(atf_fs_path_t *dir) in create_tmpdir()
77 cleanup_tmpdir(const atf_fs_path_t *dir, const atf_fs_path_t *outfile, in cleanup_tmpdir()
78 const atf_fs_path_t *errfile) in cleanup_tmpdir()
117 init_sb(const atf_fs_path_t *path, atf_process_stream_t *sb) in init_sb()
131 init_sbs(const atf_fs_path_t *outfile, atf_process_stream_t *outsb, in init_sbs()
132 const atf_fs_path_t *errfile, atf_process_stream_t *errsb) in init_sbs()
169 fork_and_wait(const char *const *argv, const atf_fs_path_t *outfile, in fork_and_wait()
170 const atf_fs_path_t *errfile, atf_process_status_t *status) in fork_and_wait()
289 atf_fs_path_t m_dir;
290 atf_fs_path_t m_stdout;
[all …]
H A Dcheck_test.c50 atf_fs_path_t process_helpers; in do_exec()
69 atf_fs_path_t process_helpers; in do_exec_with_arg()
143 atf_fs_path_t test_p; in ATF_TC_BODY()
302 atf_fs_path_t process_helpers; in ATF_TC_BODY()
338 atf_fs_path_t out, err; in ATF_TC_BODY()
467 atf_fs_path_t process_helpers; in ATF_TC_BODY()
H A Dtc.c477 atf_fs_path_t p; in check_prog_in_dir()
503 atf_fs_path_t p; in check_prog()
523 atf_fs_path_t bp; in check_prog()
H A Dmacros_test.c55 atf_fs_path_t p; in create_ctl_file()
68 atf_fs_path_t pp; in exists()
/freebsd/contrib/atf/atf-c++/detail/
H A Dfs.hpp71 atf_fs_path_t m_path;
93 path(const atf_fs_path_t *);
108 const atf_fs_path_t* c_path(void) const;
H A Dfs.cpp122 impl::path::path(const atf_fs_path_t *p) in path()
141 const atf_fs_path_t*
173 atf_fs_path_t bp; in branch_path()
205 atf_fs_path_t pa; in to_absolute()
219 atf_fs_path_t tmp; in operator =()
/freebsd/contrib/atf/test-programs/
H A Dc_helpers.c393 atf_fs_path_t p; in ATF_TC_BODY()