Home
last modified time | relevance | path

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

12

/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
Dxml_log_formatter.ipp52 xml_log_formatter::log_start( std::ostream& ostr, counter_t )
54 ostr << "<TestLog>";
60 xml_log_formatter::log_finish( std::ostream& ostr )
62 ostr << "</TestLog>";
68 xml_log_formatter::log_build_info( std::ostream& ostr )
70 ostr << "<BuildInfo"
83 xml_log_formatter::test_unit_start( std::ostream& ostr, test_unit const& tu )
85 ostr << "<" << tu_type_name( tu ) << " name" << attr_value() << tu.p_name.get() << ">";
91 xml_log_formatter::test_unit_finish( std::ostream& ostr, test_unit const& tu, unsigned long elapsed…
94 ostr << "<TestingTime>" << elapsed << "</TestingTime>";
[all …]
Dplain_report_formatter.ipp61 print_stat_value( std::ostream& ostr, counter_t v, counter_t indent, counter_t total,
65 ostr << std::setw( indent ) << ""
68 ostr << " out of " << total;
70 ostr << ' ' << res << '\n';
83 plain_report_formatter::results_report_start( std::ostream& ostr )
86 ostr << '\n';
92 plain_report_formatter::results_report_finish( std::ostream& ostr )
94 ostr.flush();
100 plain_report_formatter::test_unit_report_start( test_unit const& tu, std::ostream& ostr )
115 ostr << std::setw( m_indent ) << ""
[all …]
Dxml_report_formatter.ipp37 xml_report_formatter::results_report_start( std::ostream& ostr )
39 ostr << "<TestResult>";
45 xml_report_formatter::results_report_finish( std::ostream& ostr )
47 ostr << "</TestResult>";
54 xml_report_formatter::test_unit_report_start( test_unit const& tu, std::ostream& ostr )
69 ostr << '<' << ( tu.p_type == tut_case ? "TestCase" : "TestSuite" )
77 ostr << " test_cases_passed" << attr_value() << tr.p_test_cases_passed
83 ostr << '>';
89 xml_report_formatter::test_unit_report_finish( test_unit const& tu, std::ostream& ostr )
91 ostr << "</" << ( tu.p_type == tut_case ? "TestCase" : "TestSuite" ) << '>';
[all …]
Dprogress_monitor.ipp95 progress_monitor_t::set_stream( std::ostream& ostr )
97 s_pm_impl().m_stream = &ostr;
Dtest_tools.ipp61 print_log_value<char>::operator()( std::ostream& ostr, char t )
64 ostr << '\'' << t << '\'';
66 ostr << std::hex
78 print_log_value<unsigned char>::operator()( std::ostream& ostr, unsigned char t )
80 ostr << std::hex
93 print_log_value<char const*>::operator()( std::ostream& ostr, char const* t )
95 ostr << ( t ? t : "null string" );
101 print_log_value<wchar_t const*>::operator()( std::ostream& ostr, wchar_t const* t )
103 ostr << ( t ? t : L"null string" );
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/output/
Dxml_report_formatter.hpp39 void results_report_start( std::ostream& ostr );
40 void results_report_finish( std::ostream& ostr );
42 void test_unit_report_start( test_unit const&, std::ostream& ostr );
43 void test_unit_report_finish( test_unit const&, std::ostream& ostr );
45 void do_confirmation_report( test_unit const&, std::ostream& ostr );
Dplain_report_formatter.hpp39 void results_report_start( std::ostream& ostr );
40 void results_report_finish( std::ostream& ostr );
42 void test_unit_report_start( test_unit const&, std::ostream& ostr );
43 void test_unit_report_finish( test_unit const&, std::ostream& ostr );
45 void do_confirmation_report( test_unit const&, std::ostream& ostr );
/ndk/tests/device/test-stlport/unit/
Dnum_put_get_test.cpp68 static string reset_stream(ostringstream &ostr) in reset_stream() argument
70 string tmp = ostr.str(); in reset_stream()
71 ostr.str(""); in reset_stream()
395 ostringstream ostr; in num_put_float() local
396 ostr << 1.23457e+17f; in num_put_float()
397 CPPUNIT_ASSERT(ostr.good()); in num_put_float()
398 output = reset_stream(ostr); in num_put_float()
405 ostringstream ostr; in num_put_float() local
406 ostr << setprecision(200) << 1.23457e+17f; in num_put_float()
407 CPPUNIT_ASSERT(ostr.good()); in num_put_float()
[all …]
Dmoney_facets_test.cpp65 ostringstream ostr; in _money_put_get2() local
66 ostr.imbue(streamLoc); in _money_put_get2()
67 ostr << showbase; in _money_put_get2()
77 ostreambuf_iterator<char, char_traits<char> > res = fmp.put(ostr, true, ostr, ' ', 123456); in _money_put_get2()
80 str_res = ostr.str(); in _money_put_get2()
176 ostr.str( "" ); in _money_put_get2()
177 ostr.clear(); in _money_put_get2()
178 fmg.get(istr, istreambuf_iterator<char, char_traits<char> >(), true, ostr, err, digits); in _money_put_get2()
184 ostr.str(""); in _money_put_get2()
192 ostreambuf_iterator<char, char_traits<char> > res = fmp.put(ostr, false, ostr, ' ', -123456); in _money_put_get2()
[all …]
Drope_test.cpp64 ostringstream ostr; in io() local
65 ostr << rstr; in io()
67 CPPUNIT_ASSERT( ostr ); in io()
68 CPPUNIT_ASSERT( ostr.str() == cstr ); in io()
Dtime_facets_test.cpp33 ostringstream ostr; in _time_put_get() local
34 ostr.imbue(loc); in _time_put_get()
37 …time_put_facet::iter_type ret = tmp.put(ostr, ostr, ' ', &xmas, format.data(), format.data() + for… in _time_put_get()
54 istringstream istr( ostr.str() ); in _time_put_get()
115 wostringstream ostr; in _time_put_get() local
116 ostr.imbue(loc); in _time_put_get()
119 …time_put_facet::iter_type ret = tmp.put(ostr, ostr, ' ', &xmas, format.data(), format.data() + for… in _time_put_get()
137 wistringstream istr( ostr.str() ); in _time_put_get()
Dsstream_test.cpp349 ostringstream ostr; in streambuf_output() local
350 ostr << in.rdbuf(); in streambuf_output()
351 CPPUNIT_ASSERT( ostr ); in streambuf_output()
353 CPPUNIT_ASSERT( ostr.str() == "0123456789" ); in streambuf_output()
377 ostringstream ostr; in streambuf_output() local
378 ostr << in.rdbuf(); in streambuf_output()
379 CPPUNIT_ASSERT( ostr ); in streambuf_output()
381 CPPUNIT_ASSERT( ostr.str() == "01234567890123456789" ); in streambuf_output()
Dlocale_test.cpp283 ostringstream ostr; in combine() local
284 ostr << "combining '" << loc2.name() << "' money facets with '" << loc1.name() << "'"; in combine()
285 CPPUNIT_MESSAGE( ostr.str().c_str() ); in combine()
/ndk/tests/device/test-gnustl-full/unit/
Dnum_put_get_test.cpp68 static string reset_stream(ostringstream &ostr) in reset_stream() argument
70 string tmp = ostr.str(); in reset_stream()
71 ostr.str(""); in reset_stream()
395 ostringstream ostr; in num_put_float() local
396 ostr << 1.23457e+17f; in num_put_float()
397 CPPUNIT_ASSERT(ostr.good()); in num_put_float()
398 output = reset_stream(ostr); in num_put_float()
405 ostringstream ostr; in num_put_float() local
406 ostr << setprecision(200) << 1.23457e+17f; in num_put_float()
407 CPPUNIT_ASSERT(ostr.good()); in num_put_float()
[all …]
Dmoney_facets_test.cpp65 ostringstream ostr; in _money_put_get2() local
66 ostr.imbue(streamLoc); in _money_put_get2()
67 ostr << showbase; in _money_put_get2()
77 ostreambuf_iterator<char, char_traits<char> > res = fmp.put(ostr, true, ostr, ' ', 123456); in _money_put_get2()
80 str_res = ostr.str(); in _money_put_get2()
176 ostr.str( "" ); in _money_put_get2()
177 ostr.clear(); in _money_put_get2()
178 fmg.get(istr, istreambuf_iterator<char, char_traits<char> >(), true, ostr, err, digits); in _money_put_get2()
184 ostr.str(""); in _money_put_get2()
192 ostreambuf_iterator<char, char_traits<char> > res = fmp.put(ostr, false, ostr, ' ', -123456); in _money_put_get2()
[all …]
Drope_test.cpp64 ostringstream ostr; in io() local
65 ostr << rstr; in io()
67 CPPUNIT_ASSERT( ostr ); in io()
68 CPPUNIT_ASSERT( ostr.str() == cstr ); in io()
Dtime_facets_test.cpp33 ostringstream ostr; in _time_put_get() local
34 ostr.imbue(loc); in _time_put_get()
37 …time_put_facet::iter_type ret = tmp.put(ostr, ostr, ' ', &xmas, format.data(), format.data() + for… in _time_put_get()
54 istringstream istr( ostr.str() ); in _time_put_get()
115 wostringstream ostr; in _time_put_get() local
116 ostr.imbue(loc); in _time_put_get()
119 …time_put_facet::iter_type ret = tmp.put(ostr, ostr, ' ', &xmas, format.data(), format.data() + for… in _time_put_get()
137 wistringstream istr( ostr.str() ); in _time_put_get()
Dsstream_test.cpp349 ostringstream ostr; in streambuf_output() local
350 ostr << in.rdbuf(); in streambuf_output()
351 CPPUNIT_ASSERT( ostr ); in streambuf_output()
353 CPPUNIT_ASSERT( ostr.str() == "0123456789" ); in streambuf_output()
377 ostringstream ostr; in streambuf_output() local
378 ostr << in.rdbuf(); in streambuf_output()
379 CPPUNIT_ASSERT( ostr ); in streambuf_output()
381 CPPUNIT_ASSERT( ostr.str() == "01234567890123456789" ); in streambuf_output()
Dlocale_test.cpp283 ostringstream ostr; in combine() local
284 ostr << "combining '" << loc2.name() << "' money facets with '" << loc1.name() << "'"; in combine()
285 CPPUNIT_MESSAGE( ostr.str().c_str() ); in combine()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/
Dlazy_ostream.hpp40 …friend std::ostream& operator<<( std::ostream& ostr, lazy_ostream const& o ) { return o( ostr )… in operator <<() argument
46 virtual std::ostream& operator()( std::ostream& ostr ) const { return ostr; } in operator ()()
72 virtual std::ostream& operator()( std::ostream& ostr ) const in operator ()()
74 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
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/
Dresults_reporter.hpp45 virtual void results_report_start( std::ostream& ostr ) = 0;
46 virtual void results_report_finish( std::ostream& ostr ) = 0;
48 virtual void test_unit_report_start( test_unit const&, std::ostream& ostr ) = 0;
49 virtual void test_unit_report_finish( test_unit const&, std::ostream& ostr ) = 0;
51 virtual void do_confirmation_report( test_unit const&, std::ostream& ostr ) = 0;
Dtest_tools.hpp317 void operator()( std::ostream& ostr, T const& t ) in operator ()()
324 set_precision( ostr, cant_use_nl() ); in operator ()()
326 ostr << t; // by default print the value in operator ()()
329 void set_precision( std::ostream& ostr, mpl::false_ ) in set_precision()
332 ostr.precision( 2 + std::numeric_limits<T>::digits * 301/1000 ); in set_precision()
354 void operator()( std::ostream& ostr, T const* t ) in operator ()()
356 ostr << t; in operator ()()
365 void operator()( std::ostream& ostr, bool t ) in operator ()()
367 ostr << std::boolalpha << t; in operator ()()
375 void operator()( std::ostream& ostr, char t );
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/
Dparser.ipp192 parser::usage( out_stream& ostr )
225 ostr << BOOST_RT_PARAM_CSTRING_LITERAL( "Usage:\n" ) << fs.str() << std::endl;
231 parser::help( out_stream& ostr )
233 usage( ostr );
242 ostr << BOOST_RT_PARAM_CSTRING_LITERAL( "where:\n" );
246ostr << curr_param->id_2_report() << BOOST_RT_PARAM_CSTRING_LITERAL( " - " ) << curr_param->p_desc…
Dparser.hpp126 void usage( out_stream& ostr );
127 void help( out_stream& ostr );

12