Lines Matching +full:ts +full:- +full:inv
47 #include "atf-c++/check.hpp"
48 #include "atf-c++/detail/application.hpp"
49 #include "atf-c++/detail/auto_array.hpp"
50 #include "atf-c++/detail/env.hpp"
51 #include "atf-c++/detail/exceptions.hpp"
52 #include "atf-c++/detail/fs.hpp"
53 #include "atf-c++/detail/process.hpp"
54 #include "atf-c++/detail/sanity.hpp"
55 #include "atf-c++/detail/text.hpp"
61 // ------------------------------------------------------------------------
63 // ------------------------------------------------------------------------
117 m_fd(-1) in temp_file()
126 if (m_fd == -1) in temp_file()
153 if (::write(m_fd, text.c_str(), text.size()) == -1) in write()
160 if (m_fd != -1) { in close()
163 m_fd = -1; in close()
173 struct timespec ts; in get_monotonic_useconds() local
177 rc = clock_gettime(CLOCK_MONOTONIC, &ts); in get_monotonic_useconds()
182 res = ts.tv_sec * seconds_in_useconds; in get_monotonic_useconds()
183 res += ts.tv_nsec / useconds_in_nseconds; in get_monotonic_useconds()
206 throw atf::application::usage_error("Invalid exit code for -s option; " in parse_exit_code()
207 "must be an integer in range 0-255"); in parse_exit_code()
235 while (signo == INT_MIN && iter->name != NULL) { in signal_name_to_number()
236 if (str == iter->name || str == std::string("sig") + iter->name) in signal_name_to_number()
237 signo = iter->signo; in signal_name_to_number()
253 "in -s option"); in parse_signal()
256 INV(signo != INT_MIN); in parse_signal()
264 bool negated = (arg.compare(0, 4, "not-") == 0); in parse_status_check_arg()
291 // Deprecated; use not-exit instead. TODO: Remove after 0.10. in parse_status_check_arg()
314 const bool negated = (arg.compare(0, 4, "not-") == 0); in parse_output_check_arg()
352 // There is no reason this couldn't be a non-integer number of seconds, in parse_repeat_check_arg()
380 // Same -- this could be non-integer milliseconds. in parse_repeat_check_arg()
441 sh_argv[1] = "-c"; in execute_with_shell()
537 atf::process::argv_array("diff", "-u", p1.c_str(), in print_diff()
579 while (--count >= 0 && (unsigned)(s[i] - '0') < 8) in decode()
580 c = (c << 3) + (s[i++] - '0'); in decode()
584 --i; in decode()
713 temp_file temp("atf-check.XXXXXX"); in run_output_check()
744 INV(!oc.negated); in run_output_check()
778 // ------------------------------------------------------------------------
780 // ------------------------------------------------------------------------
813 "atf-check executes given command and analyzes its results.";
816 app(m_description, "atf-check(1)"), in atf_check()
910 throw atf::application::usage_error("Cannot specify -s more than once"); in main()