/bind-9.6-ESV-R11/unit/atf-src/atf-c++/ |
H A D | utils.cpp | 42 atf_utils_cat_file(path.c_str(), prefix.c_str()); 48 atf_utils_copy_file(source.c_str(), destination.c_str()); 54 return atf_utils_compare_file(path.c_str(), contents.c_str()); 60 atf_utils_create_file(path.c_str(), "%s", contents.c_str()); 66 return atf_utils_file_exists(path.c_str()); 80 return atf_utils_grep_file("%s", path.c_str(), rege [all...] |
H A D | build.cpp | 85 atf_error_t err = atf_build_c_o(sfile.c_str(), ofile.c_str(), 99 atf_error_t err = atf_build_cpp(sfile.c_str(), ofile.c_str(), 113 atf_error_t err = atf_build_cxx_o(sfile.c_str(), ofile.c_str(),
|
H A D | check.cpp | 112 atf_error_t err = atf_check_build_c_o(sfile.c_str(), ofile.c_str(), 126 atf_error_t err = atf_check_build_cpp(sfile.c_str(), ofile.c_str(), 140 atf_error_t err = atf_check_build_cxx_o(sfile.c_str(), ofile.c_str(),
|
H A D | tests.cpp | 199 *ptr = (*iter).first.c_str(); 200 *(ptr + 1) = (*iter).second.c_str(); 208 err = atf_tc_init(&pimpl->m_tc, pimpl->m_ident.c_str(), pimpl->wrap_head, 219 return atf_tc_has_config_var(&pimpl->m_tc, var.c_str()); 226 return atf_tc_has_md_var(&pimpl->m_tc, var.c_str()); 233 return atf_tc_get_config_var(&pimpl->m_tc, var.c_str()); 240 return atf_tc_get_config_var_wd(&pimpl->m_tc, var.c_str(), defval.c_str()); 247 return atf_tc_get_md_var(&pimpl->m_tc, var.c_str()); 272 atf_error_t err = atf_tc_set_md_var(&pimpl->m_tc, var.c_str(), va [all...] |
H A D | macros_test.cpp | 598 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "result")); 650 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "result")); 700 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "stderr")); 745 ATF_REQUIRE(atf::utils::grep_file(exp_result.c_str(), "result"));
|
H A D | check_test.cpp | 309 std::ifstream f(path.c_str());
|
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/ |
H A D | env.cpp | 50 return atf_env_get(name.c_str()); 56 return atf_env_has(name.c_str()); 62 atf_error_t err = atf_env_set(name.c_str(), val.c_str()); 70 atf_error_t err = atf_env_unset(name.c_str());
|
H A D | fs_test.cpp | 382 std::ofstream os(p.c_str()); 399 ::chmod(p.c_str(), 0000); 402 ::chmod(p.c_str(), 0001); 405 ::chmod(p.c_str(), 0010); 408 ::chmod(p.c_str(), 0100); 411 ::chmod(p.c_str(), 0002); 414 ::chmod(p.c_str(), 0020); 417 ::chmod(p.c_str(), 0200); 420 ::chmod(p.c_str(), 0004); 423 ::chmod(p.c_str(), 004 [all...] |
H A D | fs.cpp | 114 atf_error_t err = atf_fs_path_init_fmt(&m_path, "%s", s.c_str()); 139 impl::path::c_str(void) function in class:impl::path 156 return c_str(); 225 atf_error_t err = atf_fs_path_init_fmt(&tmp, "%s", p.c_str()); 256 atf_error_t err = atf_fs_path_append_fmt(&p2.m_path, "%s", p.c_str()); 422 DIR* dp = ::opendir(p.c_str()); 505 if (::unlink(p.c_str()) == -1)
|
H A D | text.cpp | 68 if (::regcomp(&preg, regex.c_str(), REG_EXTENDED) != 0) 72 const int res = ::regexec(&preg, str.c_str(), 0, NULL, 0); 130 atf_error_t err = atf_text_to_bool(str.c_str(), &b);
|
H A D | fs.hpp | 107 const char* c_str(void) const;
|
H A D | exceptions.cpp | 82 return m_message.c_str();
|
H A D | test_helpers.cpp | 77 build_check_cxx_o_aux(atf::fs::path("test.c"), failmsg.c_str(), true);
|
H A D | parser.cpp | 62 return m_msg.c_str(); 95 return m_msg.c_str(); 106 std::runtime_error(w.c_str())
|
H A D | process.cpp | 61 argv[pos] = (*iter).c_str(); 144 return m_args[idx].c_str();
|
H A D | application.cpp | 188 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) {
|
/bind-9.6-ESV-R11/unit/atf-src/atf-sh/ |
H A D | atf-sh.cpp | 92 argv[0] = shell.c_str(); 94 argv[2] = script->c_str(); 145 const int ret = execv(shell.c_str(), const_cast< char** >(argv));
|
H A D | atf-check.cpp | 120 std::strcpy(buf.get(), p.c_str()); 150 if (::write(m_fd, text.c_str(), text.size()) == -1) 350 sh_argv[0] = atf::config::get("atf_shell").c_str(); 352 sh_argv[2] = cmd.c_str(); 361 std::ifstream stream(path.c_str()); 377 std::ifstream stream(path.c_str()); 408 std::ifstream f1(p1.c_str()); 412 std::ifstream f2(p2.c_str()); 447 atf::process::argv_array("diff", "-u", p1.c_str(), 448 p2.c_str(), NUL [all...] |
/bind-9.6-ESV-R11/unit/atf-src/atf-run/ |
H A D | user.cpp | 67 const struct passwd* pw = ::getpwnam(user.c_str());
|
H A D | fs.cpp | 117 if (chmod(p.c_str(), fi.get_mode() | S_IRWXU) == -1) { 171 if (unmount(abs_path.c_str(), 0) == -1) { 189 atf::process::argv_array argv("umount", abs_path.c_str(), NULL); 205 std::strcpy(buf.get(), p.c_str()); 236 if (::chdir(dir.c_str()) == -1)
|
H A D | atf-run.cpp | 138 const atf::process::argv_array args(gdb.leaf_name().c_str(), "-batch", 139 "-q", "-ex", "bt", tp.c_str(), 140 corename.c_str(), NULL); 151 std::ifstream input(gdbout.c_str()); 431 if (::chown(workdir.get_path().c_str(), user.first, 507 atf::process::argv_array(sh.c_str(), hooks.c_str(), 508 hook.c_str(), NULL),
|
H A D | config.cpp | 110 std::ifstream is(config_path.c_str());
|
H A D | misc_helpers.cpp | 59 std::ofstream os(path.c_str());
|
H A D | test-program.cpp | 206 argv[i] = strdup(v[i].c_str()); 221 ::execv(executable.c_str(), native_argv); 225 if (::write(STDERR_FILENO, message.c_str(), message.length()) == -1) 676 std::ifstream results_file(results_path.c_str());
|
H A D | atffile.cpp | 329 std::ifstream is(filename.c_str());
|