Searched refs:c_str (Results 1 - 25 of 27) sorted by relevance

12

/bind-9.6-ESV-R11/unit/atf-src/atf-c++/
H A Dutils.cpp42 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 Dbuild.cpp85 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 Dcheck.cpp112 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 Dtests.cpp199 *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 Dmacros_test.cpp598 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 Dcheck_test.cpp309 std::ifstream f(path.c_str());
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Denv.cpp50 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 Dfs_test.cpp382 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 Dfs.cpp114 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 Dtext.cpp68 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 Dfs.hpp107 const char* c_str(void) const;
H A Dexceptions.cpp82 return m_message.c_str();
H A Dtest_helpers.cpp77 build_check_cxx_o_aux(atf::fs::path("test.c"), failmsg.c_str(), true);
H A Dparser.cpp62 return m_msg.c_str();
95 return m_msg.c_str();
106 std::runtime_error(w.c_str())
H A Dprocess.cpp61 argv[pos] = (*iter).c_str();
144 return m_args[idx].c_str();
H A Dapplication.cpp188 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) {
/bind-9.6-ESV-R11/unit/atf-src/atf-sh/
H A Datf-sh.cpp92 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 Datf-check.cpp120 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 Duser.cpp67 const struct passwd* pw = ::getpwnam(user.c_str());
H A Dfs.cpp117 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 Datf-run.cpp138 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 Dconfig.cpp110 std::ifstream is(config_path.c_str());
H A Dmisc_helpers.cpp59 std::ofstream os(path.c_str());
H A Dtest-program.cpp206 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 Datffile.cpp329 std::ifstream is(filename.c_str());

Completed in 5167 milliseconds

12