Home
last modified time | relevance | path

Searched refs:std_str (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/convert/test/
Dstr_to_int.cpp27 string const std_str = "-11"; in int_to_str() local
36 string s01 = boost::convert< string>(-1, cnv).value_or(std_str); in int_to_str()
59 string const std_str = "-11"; in str_to_int() local
71 int const a01 = boost::convert<int>(std_str, cnv).value_or(-1); in str_to_int()
85 boost::optional<int> const r01 = boost::convert<int>(std_str, cnv); in str_to_int()
111 int a21 = boost::convert<int>(std_str, cnv).value(); in str_to_int()
Dlcast_converter.cpp61 string const std_str = "-11"; in main() local
64 int const v01 = convert<int>( std_str).value_or(-1); in main()
Dprintf_converter.cpp27 string const std_str = "-11"; in main() local
31 BOOST_TEST(-11 == convert<int>(std_str, cnv).value_or(-1)); in main()
Dstrtol_converter.cpp39 string const std_str = "11"; in test_str_to_uint() local
51 BOOST_TEST(11 == convert<unsigned int>(std_str).value()); in test_str_to_uint()
54 BOOST_TEST(11 == convert<unsigned long int>(std_str).value()); in test_str_to_uint()
66 string const std_str = "-11"; in test_str_to_int() local
71 BOOST_TEST(-11 == convert<int>(std_str).value()); in test_str_to_int()
/third_party/boost/libs/lexical_cast/test/
Dlexical_cast_containers_test.cpp49 std::string std_str("std_str"); in testing_boost_containers_string_std_string() local
52 BOOST_CHECK(boost::lexical_cast<boost::container::string>(std_str) == "std_str"); in testing_boost_containers_string_std_string()