Home
last modified time | relevance | path

Searched refs:ostr (Results 1 – 25 of 52) sorted by relevance

123

/third_party/boost/boost/test/impl/
Dxml_log_formatter.ipp50 xml_log_formatter::log_start( std::ostream& ostr, counter_t )
52 ostr << "<TestLog>";
58 xml_log_formatter::log_finish( std::ostream& ostr )
60 ostr << "</TestLog>";
66 xml_log_formatter::log_build_info( std::ostream& ostr, bool log_build_info )
69 ostr << "<BuildInfo"
83 xml_log_formatter::test_unit_start( std::ostream& ostr, test_unit const& tu )
85 ostr << "<" << tu_type_name( tu ) << " name" << utils::attr_value() << tu.p_name.get();
88 ostr << BOOST_TEST_L( " file" ) << utils::attr_value() << tu.p_file_name
91 ostr << ">";
[all …]
Dplain_report_formatter.ipp62 print_stat_value( std::ostream& ostr, counter_t v, counter_t indent, counter_t total, const_string …
68ostr << std::setw( static_cast<int>(indent) ) << "" << v << ' ' << name << ( v != 1 ? "s" : "" )
71ostr << std::setw( static_cast<int>(indent) ) << "" << v << ' ' << res << ' ' << name << ( v != 1 …
83 plain_report_formatter::results_report_start( std::ostream& ostr )
87 ostr << '\n';
93 plain_report_formatter::results_report_finish( std::ostream& ostr )
95 ostr.flush();
101 plain_report_formatter::test_unit_report_start( test_unit const& tu, std::ostream& ostr )
118 ostr << std::setw( static_cast<int>(m_indent) ) << ""
122 ostr << "\n";
[all …]
Dxml_report_formatter.ipp35 xml_report_formatter::results_report_start( std::ostream& ostr )
37 ostr << "<TestResult>";
43 xml_report_formatter::results_report_finish( std::ostream& ostr )
45 ostr << "</TestResult>";
52 xml_report_formatter::test_unit_report_start( test_unit const& tu, std::ostream& ostr )
69 ostr << '<' << ( tu.p_type == TUT_CASE ? "TestCase" : "TestSuite" )
79 ostr << " test_cases_passed" << utils::attr_value() << tr.p_test_cases_passed
89 ostr << '>';
95 xml_report_formatter::test_unit_report_finish( test_unit const& tu, std::ostream& ostr )
97 ostr << "</" << ( tu.p_type == TUT_CASE ? "TestCase" : "TestSuite" ) << '>';
[all …]
Djunit_log_formatter.ipp95 junit_log_formatter::log_start( std::ostream& /*ostr*/, counter_t /*test_cases_amount*/)
152 std::ostream &ostr;
157 : ostr(ostr_)
164 ostr << BOOST_TEST_L( "]]>" ) << "</" << field << '>' << std::endl;
173 ostr << '<' << field << '>' << BOOST_TEST_L( "<![CDATA[" );
177 ostr << s;
498 junit_log_formatter::log_finish( std::ostream& ostr )
500 ostr << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << std::endl;
510 … junit_result_helper ch( ostr, *root, map_tests, this->runner_log_entry, m_display_build_info );
514 ostr << "<testsuites errors=\"1\">";
[all …]
/third_party/boost/boost/test/tools/detail/
Dprint_helper.hpp52 std::ostream& boost_test_print_type(std::ostream& ostr, T const& t) { in boost_test_print_type() argument
55 ostr << t; in boost_test_print_type()
56 return ostr; in boost_test_print_type()
61 std::ostream& operator()(std::ostream& ostr, R const& r) const { in operator ()()
62 return boost_test_print_type(ostr, r); in operator ()()
83 void operator()( std::ostream& ostr, T const& t ) in operator ()()
87 std::streamsize old_precision = set_precision( ostr, cant_use_nl() ); in operator ()()
91 boost_test_print_type(ostr, t); in operator ()()
94 ostr.precision( old_precision ); in operator ()()
97 std::streamsize set_precision( std::ostream& ostr, mpl::false_ ) in set_precision()
[all …]
/third_party/boost/boost/test/utils/runtime/
Dparameter.hpp43 std::ostream& ostr, in commandline_pretty_print() argument
62 ostr << prefix << sub; in commandline_pretty_print()
63 ostr << "\n"; in commandline_pretty_print()
68 ostr << prefix << to_print.substr(current, split_at); in commandline_pretty_print()
72 return ostr; in commandline_pretty_print()
180 …virtual void usage( std::ostream& ostr, cstring negation_prefix_, bool use_color = true… in usage() argument
186 ostr << " "; in usage()
189 BOOST_TEST_SCOPE_SETCOLOR( use_color, ostr, term_attr::BRIGHT, term_color::GREEN ); in usage()
190 ostr << p_name; in usage()
193 ostr << '\n'; in usage()
[all …]
/third_party/boost/boost/test/utils/runtime/cla/
Dparser.hpp301 version( std::ostream& ostr ) in version() argument
303 ostr << "Boost.Test module "; in version()
307 ostr << '\'' << BOOST_TEST_STRINGIZE( BOOST_TEST_MODULE ).trim( "\"" ) << "' "; in version()
310 ostr << "in executable '" << m_program_name << "'\n"; in version()
311 ostr << "Compiled from Boost version " in version()
315 ostr << " with "; in version()
317 ostr << "header-only inclusion of"; in version()
319 ostr << "dynamic linking to"; in version()
321 ostr << "static linking to"; in version()
323 ostr << " Boost.Test\n"; in version()
[all …]
/third_party/boost/libs/lexical_cast/test/
Dlexical_cast_stream_detection_test.cpp23 std::ostream& operator << (std::ostream& ostr, const streamable_easy&) { in operator <<() argument
24 return ostr << streamable_easy::value; in operator <<()
34 operator << (std::basic_ostream<CharT>& ostr, const streamable_medium&) { in operator <<() argument
35 return ostr << streamable_medium::value; in operator <<()
47 operator << (std::basic_ostream<CharT, TraitsT>& ostr, const streamable_hard&) { in operator <<() argument
48 return ostr << streamable_hard::value; in operator <<()
59 std::basic_ostream<char, TraitsT>& operator << (std::basic_ostream<char, TraitsT>& ostr, const stre… in operator <<() argument
60 return ostr << streamable_hard2::value; in operator <<()
72 std::wostream& operator << (std::wostream& ostr, const wstreamable_easy&) { in operator <<() argument
73 return ostr << wstreamable_easy::value; in operator <<()
[all …]
/third_party/boost/boost/test/utils/
Dlazy_ostream.hpp39 …friend std::ostream& operator<<( std::ostream& ostr, lazy_ostream const& o ) { return o( ostr )… in operator <<() argument
43 friend std::ostream& operator<<( std::ostream& ostr, lazy_ostream const& o );
51 virtual std::ostream& operator()( std::ostream& ostr ) const { return ostr; } in operator ()()
63 …inline std::ostream& operator<<( std::ostream& ostr, lazy_ostream const& o ) { return o( ostr )… in operator <<() argument
79 std::ostream& operator()( std::ostream& ostr ) const BOOST_OVERRIDE in operator ()()
81 return m_prev(ostr) << m_value; in operator ()()
Dcustom_manip.hpp35 explicit custom_printer( std::ostream& ostr ) : m_ostr( &ostr ) {} in custom_printer()
51 operator<<( std::ostream& ostr, custom_manip<Uniq> const& ) { return custom_printer<custom_manip<Un… in operator <<() argument
/third_party/openssl/crypto/asn1/
Dasn_moid.c63 const char *ln, *ostr, *p; in do_create() local
69 ostr = value; in do_create()
72 ostr = p + 1; in do_create()
73 if (*ostr == '\0') in do_create()
75 while (ossl_isspace(*ostr)) in do_create()
76 ostr++; in do_create()
95 nid = OBJ_create(ostr, name, ln); in do_create()
/third_party/libwebsockets/win32port/win32helpers/
Dgetopt_long.c81 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument
84 const char *ostr;
90 _DIAGASSERT(ostr != NULL);
105 !(oli = strchr(ostr, optopt))) {
114 if (opterr && *ostr != ':')
128 if ((opterr) && (*ostr != ':'))
147 getopt2(nargc, nargv, ostr)
150 const char *ostr;
154 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) {
Dgetopt.c87 getopt(nargc, nargv, ostr) in getopt() argument
90 const char *ostr;
98 _DIAGASSERT(ostr != NULL);
114 !(oli = strchr(ostr, optopt))) {
123 if (opterr && *ostr != ':')
138 if (*ostr == ':')
/third_party/boost/boost/test/output/
Dxml_report_formatter.hpp37 void results_report_start( std::ostream& ostr ) BOOST_OVERRIDE;
38 void results_report_finish( std::ostream& ostr ) BOOST_OVERRIDE;
40 void test_unit_report_start( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
41 void test_unit_report_finish( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
43 void do_confirmation_report( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
Dplain_report_formatter.hpp39 void results_report_start( std::ostream& ostr ) BOOST_OVERRIDE;
40 void results_report_finish( std::ostream& ostr ) BOOST_OVERRIDE;
42 void test_unit_report_start( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
43 void test_unit_report_finish( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
45 void do_confirmation_report( test_unit const&, std::ostream& ostr ) BOOST_OVERRIDE;
/third_party/boost/boost/spirit/home/karma/stream/
Dstream.hpp167 std::basic_ostream<Char> ostr(&pseudobuf); in generate() local
168 ostr << traits::extract_from<attribute_type>(attr, context) << std::flush; in generate()
170 if (!ostr.good()) in generate()
201 std::basic_ostream<Char> ostr(&pseudobuf); in generate() local
202 ostr.imbue(sink.get_ostream().getloc()); in generate()
203 ostr << traits::extract_from<attribute_type>(attr, context) in generate()
205 if (!ostr.good()) in generate()
259 std::basic_ostream<Char> ostr(&pseudobuf); in generate() local
260 ostr << t_ << std::flush; // use existing operator<<() in generate()
262 if (ostr.good()) in generate()
[all …]
/third_party/boost/boost/test/
Dresults_reporter.hpp48 virtual void results_report_start( std::ostream& ostr ) = 0;
49 virtual void results_report_finish( std::ostream& ostr ) = 0;
51 virtual void test_unit_report_start( test_unit const&, std::ostream& ostr ) = 0;
52 virtual void test_unit_report_finish( test_unit const&, std::ostream& ostr ) = 0;
54 virtual void do_confirmation_report( test_unit const&, std::ostream& ostr ) = 0;
/third_party/node/deps/cares/src/tools/
Dares_getopt.c66 ares_getopt(int nargc, char * const nargv[], const char *ostr) in ares_getopt() argument
84 (oli = strchr(ostr, optopt)) == NULL) { in ares_getopt()
93 if (opterr && *ostr != ':') in ares_getopt()
108 if (*ostr == ':') in ares_getopt()
/third_party/boost/boost/test/tools/
Dassertion.hpp158 report( std::ostream& ostr, \
162 lhs.report( ostr ); \
163 ostr << revert() \
289 void report( std::ostream& ostr ) const in report()
291 ostr << tt_detail::print_helper( value() ); in report()
323 static void format_message( wrap_stringstream& ostr, U const& v ) in format_message() argument
325 ostr << "['" << tt_detail::print_helper(v) << "' evaluates to false]"; in format_message()
367 void report( std::ostream& ostr ) const in report()
369 return OP::report( ostr, m_lhs, m_rhs ); in report()
Dcstring_comparison_op.hpp62 report( std::ostream& ostr, \
66 lhs.report( ostr ); \
67 ostr << revert() \
/third_party/boost/libs/test/doc/examples/
Dlogger-customization-point.run-fail.cpp30 std::ostream& boost_test_print_type(std::ostream& ostr, user_defined_type const& right) { in boost_test_print_type() argument
31 ostr << "** value of user_defined_type is " << right.value << " **"; in boost_test_print_type()
32 return ostr; in boost_test_print_type()
Druntime-configuration_3.run-fail.cpp55 std::ostringstream ostr; in init_unit_test() local
56 ostr << "name " << i; in init_unit_test()
59 add( BOOST_TEST_CASE_NAME( std::bind(&test_function, i), ostr.str().c_str() ) ); in init_unit_test()
/third_party/boost/boost/math/cstdfloat/
Dcstdfloat_iostream.hpp46 std::basic_ostringstream<char_type, traits_type> ostr; in operator <<() local
47 ostr.flags(os.flags()); in operator <<()
48 ostr.imbue(os.getloc()); in operator <<()
49 ostr.precision(os.precision()); in operator <<()
123 static_cast<void>(ostr << my_buffer2); in operator <<()
129 static_cast<void>(ostr << my_buffer); in operator <<()
132 return (os << ostr.str()); in operator <<()
735 std::basic_ostringstream<char_type, traits_type> ostr; in operator <<() local
736 ostr.flags(os.flags()); in operator <<()
737 ostr.imbue(os.getloc()); in operator <<()
[all …]
/third_party/boost/libs/test/test/writing-test-ts/
Duser-defined-types-logging-customization-points.cpp27 std::ostream& boost_test_print_type(std::ostream& ostr, user_defined_type const& right) { in boost_test_print_type() argument
28 ostr << "** value of my type is " << right.value << " **"; in boost_test_print_type()
29 return ostr; in boost_test_print_type()
/third_party/boost/boost/type_index/
Dtype_index_facade.hpp269 inline std::ostream& operator<<(std::ostream& ostr, const type_index_facade<Derived, TypeInfo>& ind… in operator <<() argument
270 ostr << static_cast<Derived const&>(ind).pretty_name(); in operator <<()
271 return ostr; in operator <<()
278 std::basic_ostream<CharT, TriatT>& ostr, in operator <<() argument
281 ostr << static_cast<Derived const&>(ind).pretty_name(); in operator <<()
282 return ostr; in operator <<()

123