/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/num_put/put/char/ |
H A D | 1.cc | 58 ostringstream oss; local 59 oss.imbue(loc_de); 60 const num_put<char>& np = use_facet<num_put<char> >(oss.getloc()); 63 iterator_type os_it00 = oss.rdbuf(); 64 np.put(os_it00, oss, '+', b1); 65 result1 = oss.str(); 68 oss.str(empty); 69 np.put(oss.rdbuf(), oss, '+', b0); 70 result2 = oss [all...] |
H A D | 9.cc | 42 ostringstream oss; local 43 oss.imbue(loc_c); 44 const num_put<char>& np = use_facet<num_put<char> >(oss.getloc()); 47 np.put(oss.rdbuf(), oss, ' ', b); 48 VERIFY( oss.str() == "1" ); 50 oss.str(empty); 51 oss.clear(); 52 oss.setf(ios_base::showpos); 53 np.put(oss [all...] |
H A D | 20914.cc | 40 ostringstream oss; local 41 oss.imbue(loc_de); 42 const num_put<char>& np = use_facet<num_put<char> >(oss.getloc()); 49 oss.str(empty); 50 oss.clear(); 51 np.put(oss.rdbuf(), oss, '*', l0); 52 result = oss.str(); 55 oss.str(empty); 56 oss [all...] |
H A D | 20909.cc | 40 ostringstream oss; local 41 oss.imbue(loc_de); 42 const num_put<char>& np = use_facet<num_put<char> >(oss.getloc()); 47 oss.str(empty); 48 oss.clear(); 49 np.put(oss.rdbuf(), oss, '*', d0); 50 result = oss.str(); 53 oss.str(empty); 54 oss [all...] |
H A D | 15565.cc | 37 ostringstream oss; local 38 oss.imbue(loc_c); 39 const num_put<char>& np = use_facet<num_put<char> >(oss.getloc()); 42 oss.str(empty); 43 oss.clear(); 44 oss.setf(ios_base::showpos); 45 np.put(oss.rdbuf(), oss, ' ', ul1); 46 VERIFY( oss.str() == "42" ); 50 oss [all...] |
H A D | 2.cc | 47 ostringstream oss; local 48 oss.imbue(loc_c); 49 const num_put<char>& np = use_facet<num_put<char> >(oss.getloc()); 53 oss.str(empty); 54 oss.width(20); 55 oss.setf(ios_base::right, ios_base::adjustfield); 56 np.put(oss.rdbuf(), oss, '+', b0); 57 result1 = oss.str(); 60 oss [all...] |
H A D | 14220.cc | 32 ostringstream oss; local 33 const num_put<char>& np = use_facet<num_put<char> >(oss.getloc()); 37 oss.precision(precision); 38 oss.setf(ios_base::fixed); 39 np.put(oss.rdbuf(), oss, '+', 1.0); 40 const string result = oss.str();
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/ |
H A D | 8.cc | 33 std::ostringstream oss; local 34 oss << pt; 35 VERIFY( oss.bad() ); 36 VERIFY( oss.str().size() == 0 ); 38 oss.clear(); 39 oss << ""; 40 VERIFY( oss.good() );
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/ |
H A D | 20914.cc | 40 wostringstream oss; local 41 oss.imbue(loc_de); 42 const num_put<wchar_t>& np = use_facet<num_put<wchar_t> >(oss.getloc()); 49 oss.str(empty); 50 oss.clear(); 51 np.put(oss.rdbuf(), oss, L'*', l0); 52 result = oss.str(); 55 oss.str(empty); 56 oss [all...] |
H A D | 20909.cc | 40 wostringstream oss; local 41 oss.imbue(loc_de); 42 const num_put<wchar_t>& np = use_facet<num_put<wchar_t> >(oss.getloc()); 47 oss.str(empty); 48 oss.clear(); 49 np.put(oss.rdbuf(), oss, L'*', d0); 50 result = oss.str(); 53 oss.str(empty); 54 oss [all...] |
H A D | 15565.cc | 37 wostringstream oss; local 38 oss.imbue(loc_c); 39 const num_put<wchar_t>& np = use_facet<num_put<wchar_t> >(oss.getloc()); 42 oss.str(empty); 43 oss.clear(); 44 oss.setf(ios_base::showpos); 45 np.put(oss.rdbuf(), oss, L' ', ul1); 46 VERIFY( oss.str() == L"42" ); 50 oss [all...] |
H A D | 2.cc | 47 wostringstream oss; local 48 oss.imbue(loc_c); 49 const num_put<wchar_t>& np = use_facet<num_put<wchar_t> >(oss.getloc()); 53 oss.str(empty); 54 oss.width(20); 55 oss.setf(ios_base::right, ios_base::adjustfield); 56 np.put(oss.rdbuf(), oss, L'+', b0); 57 result1 = oss.str(); 60 oss [all...] |
H A D | 14220.cc | 32 wostringstream oss; local 33 const num_put<wchar_t>& np = use_facet<num_put<wchar_t> >(oss.getloc()); 37 oss.precision(precision); 38 oss.setf(ios_base::fixed); 39 np.put(oss.rdbuf(), oss, L'+', 1.0); 40 const wstring result = oss.str();
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/manipulators/basefield/char/ |
H A D | 1.cc | 61 std::ostringstream oss; local 62 oss.imbue(std::locale(std::locale(), new MyNP)); 65 oss << std::oct << std::showbase; 66 oss << 0123456l << std::endl; 68 oss << ":" << std::setw(11); 69 oss << 01234567l << ":" << std::endl; 71 oss << ":" << std::setw(11) << std::left; 72 oss << 0123456l << ":" << std::endl; 74 oss << ":" << std::setw(11) << std::right; 75 oss << 01234 [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/money_put/put/char/ |
H A D | 1.cc | 51 ostringstream oss; local 52 oss.imbue(loc_de); 53 const money_put<char>& mon_put = use_facet<money_put<char> >(oss.getloc()); 55 mon_put.put(oss.rdbuf(), true, oss, ' ', digits1); 56 string result1 = oss.str(); 59 oss.str(empty); 60 mon_put.put(oss.rdbuf(), false, oss, ' ', digits1); 61 string result2 = oss [all...] |
H A D | 2.cc | 57 ostringstream oss; local 58 oss.imbue(loc_hk); 59 const money_put<char>& mon_put = use_facet<money_put<char> >(oss.getloc()); 62 oss.setf(ios_base::showbase); 65 oss.str(empty); 66 mon_put.put(oss.rdbuf(), false, oss, ' ', digits1); 67 string result5 = oss.str(); 70 oss.str(empty); 71 mon_put.put(oss [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/time_put/put/char/ |
H A D | 1.cc | 41 ostringstream oss; local 42 oss.imbue(loc_c); 43 const time_put<char>& tim_put = use_facet<time_put<char> >(oss.getloc()); 49 oss.str(empty); 50 tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a'); 51 string result1 = oss.str(); 54 oss.str(empty); 55 tim_put.put(oss.rdbuf(), oss, '*', [all...] |
H A D | 3.cc | 45 ostringstream oss; local 46 oss.imbue(loc_hk); 47 const time_put<char>& tim_put = use_facet<time_put<char> >(oss.getloc()); 49 tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a'); 50 string result3 = oss.str(); 53 oss.str(empty); // "%A, %B %d, %Y" 54 tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x'); 55 string result25 = oss [all...] |
H A D | 2.cc | 45 ostringstream oss; local 46 oss.imbue(loc_de); 47 const time_put<char>& tim_put = use_facet<time_put<char> >(oss.getloc()); 49 tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a'); 50 string result2 = oss.str(); 53 oss.str(empty); // "%d.%m.%Y" 54 tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x'); 55 string result23 = oss [all...] |
H A D | 4.cc | 45 ostringstream oss; local 46 oss.imbue(loc_es); 47 const time_put<char>& tim_put = use_facet<time_put<char> >(oss.getloc()); 48 tim_put.put(oss.rdbuf(), oss, '*', &time1, 'a'); 49 string result4 = oss.str(); 52 oss.str(empty); // "%d/%m/%y" 53 tim_put.put(oss.rdbuf(), oss, '*', &time1, 'x'); 54 string result27 = oss [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/ |
H A D | 1.cc | 43 wostringstream oss; local 44 oss.imbue(loc_c); 46 = use_facet<time_put<wchar_t> >(oss.getloc()); 52 oss.str(empty); 53 tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a'); 54 wstring result1 = oss.str(); 57 oss.str(empty); 58 tim_put.put(oss.rdbuf(), oss, [all...] |
H A D | 3.cc | 45 wostringstream oss; local 46 oss.imbue(loc_hk); 48 = use_facet<time_put<wchar_t> >(oss.getloc()); 50 tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a'); 51 wstring result3 = oss.str(); 54 oss.str(empty); // "%A, %B %d, %Y" 55 tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x'); 56 wstring result25 = oss [all...] |
H A D | 4.cc | 45 wostringstream oss; local 46 oss.imbue(loc_es); 48 = use_facet<time_put<wchar_t> >(oss.getloc()); 50 tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a'); 51 wstring result4 = oss.str(); 54 oss.str(empty); // "%d/%m/%y" 55 tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x'); 56 wstring result27 = oss [all...] |
H A D | 2.cc | 45 wostringstream oss; local 46 oss.imbue(loc_de); 48 = use_facet<time_put<wchar_t> >(oss.getloc()); 50 tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'a'); 51 wstring result2 = oss.str(); 54 oss.str(empty); // "%d.%m.%Y" 55 tim_put.put(oss.rdbuf(), oss, L'*', &time1, 'x'); 56 wstring result23 = oss [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/ |
H A D | 2.cc | 57 wostringstream oss; local 58 oss.imbue(loc_hk); 60 use_facet<money_put<wchar_t> >(oss.getloc()); 63 oss.setf(ios_base::showbase); 66 oss.str(empty); 67 mon_put.put(oss.rdbuf(), false, oss, L' ', digits1); 68 wstring result5 = oss.str(); 71 oss.str(empty); 72 mon_put.put(oss [all...] |