Searched defs:std (Results 1 - 5 of 5) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dapplication.cpp53 namespace std { namespace
67 std::runtime_error("usage_error; message unformatted")
72 std::vsnprintf(m_text, sizeof(m_text), fmt, ap);
93 const std::string& a,
94 const std::string& desc) :
108 impl::app::app(const std::string& description,
109 const std::string& manpage,
110 const std::string& global_manpage,
143 std::string
168 std
[all...]
H A Dparser.cpp43 impl::parse_error::parse_error(size_t line, std::string msg) :
44 std::runtime_error(msg),
45 std::pair< size_t, std::string >(line, msg)
59 std::ostringstream oss;
68 impl::parse_error::operator std::string(void)
79 std::runtime_error("No parsing errors yet")
105 impl::format_error::format_error(const std::string& w) :
106 std::runtime_error(w.c_str())
121 const std
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Dtest_program_test.cpp77 write_test_case_result(const char *results_path, const std::string& contents)
79 std::ofstream results_file(results_path);
87 print_indented(const std::string& str)
89 std::vector< std::string > ws = atf::text::split(str, "\n");
90 for (std::vector< std::string >::const_iterator iter = ws.begin();
92 std::cout << ">>" << *iter << "<<\n";
101 check_match(const atf::tests::tc& tc, const std::string& str,
102 const std
122 got_tc(const std::string& ident, const std::map< std::string, std::string >& md) argument
[all...]
H A Dtest-program.cpp69 check_stream(std::ostream& os)
78 throw std::runtime_error("Failed");
90 class tokenizer : public atf::parser::tokenizer< std::istream > {
92 tokenizer(std::istream& is, size_t curline) :
93 atf::parser::tokenizer< std::istream >
106 void got_tc(const std::string& ident, const atf::tests::vars_map& props)
109 throw(std::runtime_error("Duplicate test case " + ident +
114 m_tcs[ident].insert(std::make_pair("has.cleanup", "false"));
117 m_tcs[ident].insert(std::make_pair("timeout", "300"));
121 metadata_reader(std
419 got_tc( const std::string& ident ATF_DEFS_ATTRIBUTE_UNUSED, const std::map< std::string, std::string >& md ATF_DEFS_ATTRIBUTE_UNUSED) argument
431 validate_and_insert(const std::string& name, const std::string& value, const size_t lineno, std::map< std::string, std::string >& md) argument
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-report/
H A Datf-report.cpp54 typedef std::auto_ptr< std::ostream > ostream_ptr;
61 osp = ostream_ptr(new std::ofstream("/dev/stdout"));
63 osp = ostream_ptr(new std::ofstream(path.c_str()));
65 throw std::runtime_error("Could not create file " + path.str());
69 static std::string
72 std::ostringstream output;
74 << std::setfill('0') << std::setw(6)
99 virtual void write_info(const std argument
101 write_tp_start(const std::string&, size_t) argument
102 write_tp_end(struct timeval*, const std::string&) argument
103 write_tc_start(const std::string&) argument
104 write_tc_stdout_line(const std::string&) argument
105 write_tc_stderr_line(const std::string&) argument
106 write_tc_end(const std::string&, struct timeval*, const std::string&) argument
304 write_expected_failures(const std::map< std::string, std::string >& xfails, std::ostream& os) argument
[all...]

Completed in 12 milliseconds