Lines Matching defs:const

73     status_check(const status_check_t& p_type, const bool p_negated,
74 const int p_value) :
96 output_check(const output_check_t& p_type, const bool p_negated,
97 const std::string& p_value) :
110 temp_file(const char* pattern) :
114 const atf::fs::path file = atf::fs::path(
134 } catch (const atf::system_error&) {
139 const atf::fs::path&
140 get_path(void) const
146 write(const std::string& text)
166 parse_exit_code(const std::string& str)
169 const int value = atf::text::to_type< int >(str);
173 } catch (const std::runtime_error&) {
180 const char *name;
199 signal_name_to_number(const std::string& str)
213 parse_signal(const std::string& str)
215 const int signo = signal_name_to_number(str);
229 parse_status_check_arg(const std::string& arg)
231 const std::string::size_type delimiter = arg.find(':');
233 const std::string action_str = arg.substr(0, delimiter);
234 const std::string action = negated ? action_str.substr(4) : action_str;
235 const std::string value_str = (
279 parse_output_check_arg(const std::string& arg)
281 const std::string::size_type delimiter = arg.find(':');
282 const bool negated = (arg.compare(0, 4, "not-") == 0);
283 const std::string action_str = arg.substr(0, delimiter);
284 const std::string action = negated ? action_str.substr(4) : action_str;
311 flatten_argv(char* const* argv)
315 char* const* arg = &argv[0];
330 execute(const char* const* argv)
346 execute_with_shell(char* const* argv)
348 const std::string cmd = flatten_argv(argv);
350 const char* sh_argv[4];
360 cat_file(const atf::fs::path& path)
376 grep_file(const atf::fs::path& path, const std::string& regexp)
397 file_empty(const atf::fs::path& p)
405 compare_files(const atf::fs::path& p1, const atf::fs::path& p2)
444 print_diff(const atf::fs::path& p1, const atf::fs::path& p2)
446 const atf::process::status s =
463 decode(const std::string& s)
508 run_status_check(const status_check& sc, const atf::check::check_result& cr)
514 const int status = cr.exitcode();
538 const int status = cr.termsig();
577 run_status_checks(const std::vector< status_check >& checks,
578 const atf::check::check_result& result)
592 run_output_check(const output_check oc, const atf::fs::path& path,
593 const std::string& stdxxx)
598 const bool is_empty = file_empty(path);
609 const bool equals = compare_files(path, atf::fs::path(oc.value));
628 const bool equals = compare_files(path, temp.get_path());
641 const bool matches = grep_file(path, oc.value);
676 run_output_checks(const std::vector< output_check >& checks,
677 const atf::fs::path& path, const std::string& stdxxx)
702 static const char* m_description;
704 bool run_output_checks(const atf::check::check_result&,
705 const std::string&) const;
707 std::string specific_args(void) const;
708 options_set specific_options(void) const;
709 void process_option(int, const char*);
710 void process_option_s(const std::string&);
719 const char* atf_check::m_description =
729 atf_check::run_output_checks(const atf::check::check_result& r,
730 const std::string& stdxxx)
731 const
747 const
754 const
773 atf_check::process_option(int ch, const char* arg)
831 main(int argc, char* const* argv)