Home
last modified time | relevance | path

Searched refs:pimpl (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/contrib/atf/atf-c/
H A Dcheck.c303 if (r->pimpl == NULL) in atf_check_result_init()
328 atf_fs_path_fini(&r->pimpl->m_stdout); in atf_check_result_init()
330 atf_fs_path_fini(&r->pimpl->m_dir); in atf_check_result_init()
332 atf_list_fini(&r->pimpl->m_argv); in atf_check_result_init()
342 cleanup_tmpdir(&r->pimpl->m_dir, &r->pimpl->m_stdout, in atf_check_result_fini()
343 &r->pimpl->m_stderr); in atf_check_result_fini()
344 atf_fs_path_fini(&r->pimpl->m_stdout); in atf_check_result_fini()
346 atf_fs_path_fini(&r->pimpl->m_dir); in atf_check_result_fini()
348 atf_list_fini(&r->pimpl->m_argv); in atf_check_result_fini()
350 free(r->pimpl); in atf_check_result_fini()
[all …]
H A Dtp.c56 atf_list_for_each_c(iter, &tp->pimpl->m_tcs) { in find_tc()
82 tp->pimpl = malloc(sizeof(struct atf_tp_impl)); in atf_tp_init()
83 if (tp->pimpl == NULL) in atf_tp_init()
86 err = atf_list_init(&tp->pimpl->m_tcs); in atf_tp_init()
92 atf_list_fini(&tp->pimpl->m_tcs); in atf_tp_init()
106 atf_map_fini(&tp->pimpl->m_config); in atf_tp_fini()
108 atf_list_for_each(iter, &tp->pimpl->m_tcs) { in atf_tp_fini()
112 atf_list_fini(&tp->pimpl->m_tcs); in atf_tp_fini()
114 free(tp->pimpl); in atf_tp_fini()
124 return atf_map_to_charpp(&tp->pimpl->m_config); in atf_tp_get_config()
[all …]
H A Dtc.c591 if (tc->pimpl == NULL) { in atf_tc_init()
596 tc->pimpl->m_ident = ident; in atf_tc_init()
597 tc->pimpl->m_head = head; in atf_tc_init()
598 tc->pimpl->m_body = body; in atf_tc_init()
599 tc->pimpl->m_cleanup = cleanup; in atf_tc_init()
620 if (tc->pimpl->m_head != NULL) in atf_tc_init()
621 tc->pimpl->m_head(tc); in atf_tc_init()
652 free(tc->pimpl); in atf_tc_fini()
662 return tc->pimpl->m_ident; in atf_tc_get_ident()
1054 tc->pimpl->m_body(tc); in atf_tc_run()
[all …]
H A Dcheck.h39 struct atf_check_result_impl *pimpl; member
H A Dtp.h41 struct atf_tp_impl *pimpl; member
H A Dtc.h63 struct atf_tc_impl *pimpl; member
/freebsd-14.2/contrib/atf/atf-c++/
H A Dtests.cpp193 pimpl(new tc_impl(ident, has_cleanup)) in tc()
199 cwraps.erase(&pimpl->m_tc); in ~tc()
200 wraps.erase(&pimpl->m_tc); in ~tc()
202 atf_tc_fini(&pimpl->m_tc); in ~tc()
220 wraps[&pimpl->m_tc] = this; in init()
221 cwraps[&pimpl->m_tc] = this; in init()
223 err = atf_tc_init(&pimpl->m_tc, pimpl->m_ident.c_str(), pimpl->wrap_head, in init()
224 pimpl->wrap_body, pimpl->m_has_cleanup ? pimpl->wrap_cleanup : NULL, in init()
241 return atf_tc_has_md_var(&pimpl->m_tc, var.c_str()); in has_md_var()
271 char **array = atf_tc_get_md_vars(&pimpl->m_tc); in get_md_vars()
[all …]
H A Dtests.hpp76 std::unique_ptr< tc_impl > pimpl; member in atf::tests::tc
/freebsd-14.2/contrib/kyua/utils/text/
H A Dregex.cpp134 text::regex_matches::regex_matches(std::shared_ptr< impl > pimpl) : in regex_matches() argument
135 _pimpl(pimpl) in regex_matches()
241 text::regex::regex(std::shared_ptr< impl > pimpl) : _pimpl(pimpl) in regex() argument
280 std::shared_ptr< regex_matches::impl > pimpl(new regex_matches::impl( in match() local
282 return regex_matches(pimpl); in match()
/freebsd-14.2/contrib/kyua/utils/fs/
H A Ddirectory.cpp219 detail::directory_iterator::directory_iterator(std::shared_ptr< impl > pimpl) : in directory_iterator() argument
220 _pimpl(pimpl) in directory_iterator()
/freebsd-14.2/contrib/kyua/utils/process/
H A Dexecutor.cpp193 executor::exec_handle::exec_handle(std::shared_ptr< impl > pimpl) : in exec_handle() argument
194 _pimpl(pimpl) in exec_handle()
393 executor::exit_handle::exit_handle(std::shared_ptr< impl > pimpl) : in exit_handle() argument
394 _pimpl(pimpl) in exit_handle()
/freebsd-14.2/contrib/kyua/engine/
H A Dscheduler.cpp847 std::shared_ptr< bimpl > pbimpl, std::shared_ptr< impl > pimpl) : in test_result_handle()
848 result_handle(pbimpl), _pimpl(pimpl) in test_result_handle()
/freebsd-14.2/contrib/googletest/docs/
H A Dadvanced.md1460 …](https://www.gamedev.net/articles/programming/general-and-gameplay-programming/the-c-pimpl-r1794/)