• Home
  • Raw
  • Download

Lines Matching refs:std

45     std::cout   in BOOST_AUTO_TEST_CASE()
53 << std::endl; in BOOST_AUTO_TEST_CASE()
67 if (signbit(static_cast<CharType>(-1e-6f) / (std::numeric_limits<CharType>::max)()) != -0) in signed_zero_test_impl()
73 std::locale old_locale; in signed_zero_test_impl()
74 std::locale tmp_locale( in signed_zero_test_impl()
76 std::locale new_locale(tmp_locale, new nonfinite_num_get<CharType>); in signed_zero_test_impl()
78 std::basic_stringstream<CharType> ss; in signed_zero_test_impl()
81 std::basic_string<CharType> null = S_(""); in signed_zero_test_impl()
83 std::basic_string<CharType> s1 = S_("123"); in signed_zero_test_impl()
84 ss << s1 << std::endl; in signed_zero_test_impl()
97 std::basic_string<CharType> s = S_("0 -0"); // Expected. in signed_zero_test_impl()
107 BOOST_CHECK(ss.rdstate() == std::ios_base::eofbit); in signed_zero_test_impl()
114 std::locale old_locale;\
115 std::locale tmp_locale(old_locale, new nonfinite_num_put<char>(0));\
116 std::locale new_locale(tmp_locale, new nonfinite_num_get<char>);\
117 std::ostringstream ss;\
120 std::basic_string<char> s = S_(expected);\
124 std::locale old_locale;\
125 std::locale tmp_locale(old_locale, new nonfinite_num_put<char>(signed_zero));\
126 std::locale new_locale(tmp_locale, new nonfinite_num_get<char>);\
127 std::ostringstream ss;\
130 std::basic_string<char> s = S_(expected);\
145 std::stringstream ss; in BOOST_AUTO_TEST_CASE()
146 ss << std::showpoint << std::setprecision(6) << 0.0; in BOOST_AUTO_TEST_CASE()
150 ss << std::scientific << 0.0; in BOOST_AUTO_TEST_CASE()
158 CHECKOUT(std::setw(2) << 0., " 0"); in BOOST_AUTO_TEST_CASE()
159 CHECKOUT(std::setw(4) << 0., " 0"); in BOOST_AUTO_TEST_CASE()
160 CHECKOUT(std::right << std::setw(4) << 0., " 0"); in BOOST_AUTO_TEST_CASE()
161 CHECKOUT(std::left << std::setw(4) << 0., "0 "); in BOOST_AUTO_TEST_CASE()
162 CHECKOUT(std::setw(4) << std::setfill('*') << 0., "***0"); in BOOST_AUTO_TEST_CASE()
163 …CHECKOUT(std::setw(4) << std::internal << std::setfill('*') << 0., "***0"); // left adjust sign an… in BOOST_AUTO_TEST_CASE()
164 …CHECKOUT(std::showpos << std::setw(4) << std::internal << std::setfill('*') << 0., "+**0"); // lef… in BOOST_AUTO_TEST_CASE()
169 CHECKOUT(std::showpoint << 0., "0.000000"); // std::setprecision(6) in BOOST_AUTO_TEST_CASE()
170 CHECKOUT(std::setprecision(2) << std::showpoint << 0., "0.00"); in BOOST_AUTO_TEST_CASE()
174 CHECKOUT(std::showpoint << 0., "0.00000"); // std::setprecision(6) in BOOST_AUTO_TEST_CASE()
175 CHECKOUT(std::setprecision(2) << std::showpoint << 0., "0.0"); in BOOST_AUTO_TEST_CASE()
177 … CHECKOUT(std::fixed << std::setw(5) << std::setfill('0') << std::setprecision(2) << 0., "00.00"); in BOOST_AUTO_TEST_CASE()
178 … CHECKOUT(std::fixed << std::setw(6) << std::setfill('0') << std::setprecision(2) << 0., "000.00"); in BOOST_AUTO_TEST_CASE()
179 … CHECKOUT(std::fixed << std::setw(6) << std::setfill('0') << std::setprecision(3) << 0., "00.000"); in BOOST_AUTO_TEST_CASE()
180 … CHECKOUT(std::fixed << std::setw(6) << std::setfill('*') << std::setprecision(3) << 0., "*0.000"); in BOOST_AUTO_TEST_CASE()
181 …CHECKOUT(std::fixed << std::setw(6) << std::setfill('*') << std::setprecision(2) << std::left << 0… in BOOST_AUTO_TEST_CASE()
183 CHECKOUT(std::showpos << 0., "+0"); in BOOST_AUTO_TEST_CASE()
184 …CHECKOUT(std::showpos << std::fixed << std::setw(6) << std::setfill('*') << std::setprecision(2) <… in BOOST_AUTO_TEST_CASE()
187 …CHECKOUT(std::scientific << std::showpoint << std::setw(10) << std::setfill('*') << std::setprecis… in BOOST_AUTO_TEST_CASE()
191 …CHECKOUT(std::scientific << std::showpoint << std::setw(10) << std::setfill('*') << std::setprecis… in BOOST_AUTO_TEST_CASE()
193 …CHECKOUT(std::fixed << std::showpoint << std::setw(6) << std::setfill('*') << std::setprecision(3)… in BOOST_AUTO_TEST_CASE()
198 CHECKOUT(std::showpos << nz, "-0"); // Ignore showpos because is negative. in BOOST_AUTO_TEST_CASE()
199 CHECKOUT(std::setw(2) << nz, "-0"); in BOOST_AUTO_TEST_CASE()
200 CHECKOUT(std::setw(4) << nz, " -0"); in BOOST_AUTO_TEST_CASE()
201 CHECKOUT(std::right << std::setw(4) << nz, " -0"); in BOOST_AUTO_TEST_CASE()
202 CHECKOUT(std::left << std::setw(4) << nz, "-0 "); in BOOST_AUTO_TEST_CASE()
203 CHECKOUT(std::setw(4) << std::setfill('*') << nz, "**-0"); in BOOST_AUTO_TEST_CASE()
204 …CHECKOUT(std::setw(4) << std::internal << std::setfill('*') << nz, "-**0"); // Use std::internal t… in BOOST_AUTO_TEST_CASE()
205 CHECKOUT(std::showpos << std::setw(4) << std::internal << std::setfill('*') << nz, "-**0"); in BOOST_AUTO_TEST_CASE()
207 … CHECKOUT(std::fixed << std::setw(5) << std::setfill('0') << std::setprecision(2) << 0., "00.00"); in BOOST_AUTO_TEST_CASE()
208 … CHECKOUT(std::fixed << std::setw(6) << std::setfill('0') << std::setprecision(2) << 0., "000.00"); in BOOST_AUTO_TEST_CASE()
209 … CHECKOUT(std::fixed << std::setw(6) << std::setfill('0') << std::setprecision(3) << 0., "00.000"); in BOOST_AUTO_TEST_CASE()
210 … CHECKOUT(std::fixed << std::setw(6) << std::setfill('*') << std::setprecision(3) << 0., "*0.000"); in BOOST_AUTO_TEST_CASE()
211 …CHECKOUT(std::fixed << std::setw(6) << std::setfill('*') << std::setprecision(2) << std::left << 0… in BOOST_AUTO_TEST_CASE()
212 …CHECKOUT(std::setprecision(2) << nz, "-0"); // No showpoint, so no decimal point nor trailing zero… in BOOST_AUTO_TEST_CASE()
215 CHECKOUT(std::setprecision(2) << std::showpoint << nz, "-0.00"); // or "-0.0" in BOOST_AUTO_TEST_CASE()
216 …CHECKOUT(std::setw(1) << std::setprecision(3) << std::showpoint << nz, "-0.000"); // Not enough wi… in BOOST_AUTO_TEST_CASE()
220 CHECKOUT(std::setprecision(2) << std::showpoint << nz, "-0.0"); // or "-0.00" in BOOST_AUTO_TEST_CASE()
221 …CHECKOUT(std::setw(1) << std::setprecision(3) << std::showpoint << nz, "-0.00"); // Not enough wid… in BOOST_AUTO_TEST_CASE()
225 …CHECKOUT(std::scientific << std::showpoint << std::setw(10) << std::setfill('*') << std::setprecis… in BOOST_AUTO_TEST_CASE()
229 …CHECKOUT(std::scientific << std::showpoint << std::setw(10) << std::setfill('*') << std::setprecis… in BOOST_AUTO_TEST_CASE()
231 …CHECKOUT(std::fixed << std::showpoint << std::setw(6) << std::setfill('*') << std::setprecision(3)… in BOOST_AUTO_TEST_CASE()
235 …CHECKOUT(std::showpos << std::fixed << std::setw(6) << std::setfill('*') << std::setprecision(2) <… in BOOST_AUTO_TEST_CASE()
236 …CHECKOUT(std::showpos << std::fixed << std::setw(6) << std::setfill('*') << std::setprecision(2) <… in BOOST_AUTO_TEST_CASE()
237 …CHECKOUT(std::showpos << std::fixed << std::setw(6) << std::setfill('*') << std::setprecision(2) <… in BOOST_AUTO_TEST_CASE()
238 …CHECKOUT(std::showpos << std::fixed << std::setw(6) << std::setfill('*') << std::setprecision(2) <… in BOOST_AUTO_TEST_CASE()
240 CHECKOUT(std::setprecision(4) << std::showpoint << 1.2, "1.200"); in BOOST_AUTO_TEST_CASE()