/freebsd/contrib/atf/atf-c/ |
H A D | check.c | 302 r->pimpl = malloc(sizeof(struct atf_check_result_impl)); in atf_check_result_init() 303 if (r->pimpl == NULL) in atf_check_result_init() 306 err = array_to_list(argv, &r->pimpl->m_argv); in atf_check_result_init() 310 err = atf_fs_path_copy(&r->pimpl->m_dir, dir); in atf_check_result_init() 314 err = atf_fs_path_init_fmt(&r->pimpl->m_stdout, "%s/stdout", in atf_check_result_init() 319 err = atf_fs_path_init_fmt(&r->pimpl->m_stderr, "%s/stderr", 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() 340 atf_process_status_fini(&r->pimpl->m_status); in atf_check_result_fini() [all …]
|
H A D | tp.c | 56 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() 90 err = atf_map_init_charpp(&tp->pimpl->m_config, config); 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() [all …]
|
H A D | tc.c | 590 tc->pimpl = malloc(sizeof(struct atf_tc_impl)); in atf_tc_init() 591 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() 601 err = atf_map_init_charpp(&tc->pimpl->m_config, config); in atf_tc_init() 605 err = atf_map_init(&tc->pimpl->m_vars); 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() [all …]
|
H A D | check.h | 39 struct atf_check_result_impl *pimpl; member
|
H A D | tp.h | 41 struct atf_tp_impl *pimpl; member
|
H A D | tc.h | 63 struct atf_tc_impl *pimpl; member
|
/freebsd/contrib/atf/atf-c++/ |
H A D | tests.cpp | 193 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() 234 return atf_tc_has_config_var(&pimpl->m_tc, var.c_str()); in has_config_var() 241 return atf_tc_has_md_var(&pimpl->m_tc, var.c_str()); in has_md_var() [all …]
|
H A D | tests.hpp | 76 std::unique_ptr< tc_impl > pimpl; member in atf::tests::tc
|
/freebsd/contrib/kyua/utils/text/ |
H A D | regex.cpp | 134 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/contrib/kyua/utils/fs/ |
H A D | directory.cpp | 219 detail::directory_iterator::directory_iterator(std::shared_ptr< impl > pimpl) : in directory_iterator() argument 220 _pimpl(pimpl) in directory_iterator()
|
/freebsd/contrib/kyua/utils/process/ |
H A D | executor.cpp | 195 executor::exec_handle::exec_handle(std::shared_ptr< impl > pimpl) : in exec_handle() argument 196 _pimpl(pimpl) in exec_handle() 395 executor::exit_handle::exit_handle(std::shared_ptr< impl > pimpl) : in exit_handle() argument 396 _pimpl(pimpl) in exit_handle()
|
/freebsd/contrib/kyua/engine/ |
H A D | scheduler.cpp | 847 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/contrib/googletest/docs/ |
H A D | advanced.md | 1470 …](https://www.gamedev.net/articles/programming/general-and-gameplay-programming/the-c-pimpl-r1794/)
|