Searched refs:std (Results 1 - 25 of 90) sorted by relevance

1234

/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dui.hpp48 std::string format_error(const std::string&, const std::string&);
60 std::string format_info(const std::string&, const std::string&);
72 std::string format_text(const std::string&);
87 std::string format_text_with_tag(const std
[all...]
H A Denv.hpp48 std::string get(const std::string&);
55 bool has(const std::string&);
67 void set(const std::string&, const std::string&);
79 void unset(const std::string&);
H A Dapplication.hpp45 class usage_error : public std::runtime_error {
61 std::string m_argument;
62 std::string m_description;
67 option(char, const std::string&, const std::string&);
80 void usage(std::ostream&);
85 typedef std::set< option > options_set;
92 std::string m_description;
93 std::string m_manpage, m_global_manpage;
99 virtual std
[all...]
H A Dtext.hpp60 std::string
61 join(const T& words, const std::string& separator)
63 std::string str;
82 bool match(const std::string&, const std::string&);
92 std::vector< std::string > split(const std::string&, const std::string&);
97 std
[all...]
H A Dexpand.hpp49 bool is_glob(const std::string&);
57 bool matches_glob(const std::string&, const std::string&);
66 std::vector< std::string > expand_glob(const std::string& glob,
69 std::vector< std::string > exps;
H A Denv.cpp47 std::string
48 impl::get(const std::string& name)
54 impl::has(const std::string& name)
60 impl::set(const std::string& name, const std::string& val)
68 impl::unset(const std::string& name)
H A Dtext.cpp52 char* copy = new char[std::strlen(str) + 1];
53 std::strcpy(copy, str);
58 impl::match(const std::string& str, const std::string& regex)
69 throw std::runtime_error("Invalid regular expression '" + regex +
75 throw std::runtime_error("Invalid regular expression " + regex);
83 std::string
84 impl::to_lower(const std::string& str)
86 std::string lc;
87 for (std
[all...]
H A Dui.cpp57 const std::string cols = atf::env::get("COLUMNS");
77 std::string
78 format_paragraph(const std::string& text,
79 const std::string& tag,
84 PRE(text.find('\n') == std::string::npos);
86 const std::string pad(col - tag.length(), ' ');
87 const std::string fullpad(col, ' ');
89 std::string formatted;
99 std::vector< std
[all...]
H A Dexceptions.hpp44 public std::runtime_error
49 not_found_error(const std::string& message, const T& value) throw();
58 not_found_error< T >::not_found_error(const std::string& message,
61 std::runtime_error(message),
83 class system_error : public std::runtime_error {
85 mutable std::string m_message;
88 system_error(const std::string&, const std::string&, int);
H A Dexpand.cpp44 std::string
45 glob_to_regex(const std::string& glob)
47 std::string regex;
51 for (std::string::const_iterator iter = glob.begin(); iter != glob.end();
71 impl::is_glob(const std::string& glob)
74 return glob.find_first_of("*?") != std::string::npos;
78 impl::matches_glob(const std::string& glob, const std::string& candidate)
/bind-9.6-ESV-R11/unit/atf-src/atf-report/
H A Dmisc_helpers.cpp45 std::cout << "--- a 2007-11-04 14:00:41.000000000 +0100\n";
46 std::cout << "+++ b 2007-11-04 14:00:48.000000000 +0100\n";
47 std::cout << "@@ -1,7 +1,7 @@\n";
48 std::cout << " This test is meant to simulate a diff.\n";
49 std::cout << " Blank space at beginning of context lines must be "
51 std::cout << " \n";
52 std::cout << "-First original line.\n";
53 std::cout << "-Second original line.\n";
54 std::cout << "+First modified line.\n";
55 std
[all...]
H A Dreader.hpp52 const std::string& reason;
54 test_case_result(const state_enum p_state, const std::string& p_reason) :
62 std::istream& m_is;
69 virtual void got_info(const std::string&, const std::string&);
71 virtual void got_tp_start(const std::string&, size_t);
72 virtual void got_tp_end(struct timeval*, const std::string&);
74 virtual void got_tc_start(const std::string&);
75 virtual void got_tc_stdout_line(const std::string&);
76 virtual void got_tc_stderr_line(const std
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/
H A Dutils.hpp42 void cat_file(const std::string&, const std::string&);
43 bool compare_file(const std::string&, const std::string&);
44 void copy_file(const std::string&, const std::string&);
45 void create_file(const std::string&, const std::string&);
46 bool file_exists(const std::string&);
48 bool grep_file(const std
[all...]
H A Dtests.hpp49 std::ostream& m_os;
54 atf_tp_writer(std::ostream&);
56 void start_tc(const std::string&);
58 void tc_meta_data(const std::string&, const std::string&);
61 bool match(const std::string&, const std::string&);
69 typedef std::map< std::string, std
[all...]
H A Dconfig.hpp50 const std::string& get(const std::string&);
58 const std::map< std::string, std::string >& get_all(void);
69 bool has(const std::string&);
H A Dbuild.hpp47 process::argv_array c_o(const std::string&, const std::string&,
49 process::argv_array cpp(const std::string&, const std::string&,
51 process::argv_array cxx_o(const std::string&, const std::string&,
H A Dcheck.hpp76 friend std::auto_ptr< check_result > exec(const atf::process::argv_array&);
107 const std::string stdout_path(void) const;
112 const std::string stderr_path(void) const;
119 bool build_c_o(const std::string&, const std::string&,
121 bool build_cpp(const std::string&, const std::string&,
123 bool build_cxx_o(const std::string&, const std::string&,
125 std
[all...]
H A Dutils.cpp40 atf::utils::cat_file(const std::string& path, const std::string& prefix)
46 atf::utils::copy_file(const std::string& source, const std::string& destination)
52 atf::utils::compare_file(const std::string& path, const std::string& contents)
58 atf::utils::create_file(const std::string& path, const std::string& contents)
64 atf::utils::file_exists(const std::string& path)
72 std
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Datffile.hpp50 std::istream& m_is;
53 virtual void got_conf(const std::string&, const std::string &);
54 virtual void got_prop(const std::string&, const std::string &);
55 virtual void got_tp(const std::string&, bool);
59 atf_atffile_reader(std::istream&);
73 std::vector< std::string > m_tps;
78 const std
[all...]
H A Dtest-program.hpp41 std::string m_state;
43 std::string m_reason;
53 test_case_result(const std::string& p_state, const int p_value,
54 const std::string& p_reason) :
61 const std::string&
73 const std::string&
83 std::istream& m_is;
85 void validate_and_insert(const std::string&, const std::string&,
87 std
[all...]
H A Dconfig.hpp41 std::istream& m_is;
44 virtual void got_var(const std::string&, const std::string &);
48 atf_config_reader(std::istream&);
58 atf::tests::vars_map read_config_files(const std::string&);
H A Drequirements.cpp66 if (program.str().find('/') != std::string::npos)
67 throw std::runtime_error("Relative paths are not allowed "
71 const std::vector< std::string > dirs = atf::text::split(
73 for (std::vector< std::string >::const_iterator iter = dirs.begin();
85 std::string
86 check_arch(const std::string& arches)
88 const std::vector< std
[all...]
H A Duser.hpp43 void drop_privileges(const std::pair< int, int >);
44 std::pair< int, int > get_user_ids(const std::string&);
/bind-9.6-ESV-R11/unit/atf-src/atf-config/
H A Datf-config.cpp50 std::string specific_args(void) const;
53 std::string format_var(const std::string&, const std::string&);
86 std::string
103 std::string
104 atf_config::format_var(const std::string& name, const std::string& val)
106 std::string str;
120 std
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-sh/
H A Datf-sh.cpp52 std::string
57 return std::string("./") + filename;
59 return std::string(filename);
63 std::string*
66 const std::string libexecdir = atf::config::get("atf_libexecdir");
67 const std::string pkgdatadir = atf::config::get("atf_pkgdatadir");
68 const std::string shell = atf::config::get("atf_shell");
70 std::string* command = new std::string();
82 construct_argv(const std
[all...]

Completed in 21 milliseconds

1234