Home
last modified time | relevance | path

Searched refs:lreal (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/locale/test/
Dtest_posix_formatting.cpp54 void test_by_char(std::locale const &l,locale_t lreal) in test_by_char() argument
91 TEST(equal(ss.str(),"1,045.45",lreal)); in test_by_char()
98 strfmon_l(buf,256,lreal,"%n",1043.34); in test_by_char()
107 TEST(equal(ss.str(),buf,lreal)); in test_by_char()
118 strfmon_l(buf,256,lreal,"%i",1043.34); in test_by_char()
126 TEST(equal(ss.str(),buf,lreal)); in test_by_char()
156 strftime_l(buf,sizeof(buf),"%x\n%X\n%c\n16\n48\n",&tm,lreal); in test_by_char()
158 TEST(equal(ss.str(),buf,lreal)); in test_by_char()
169 locale_t lreal = 0; in main() local
185 lreal=newlocale(LC_ALL_MASK,name.c_str(),0); in main()
[all …]
Dtest_std_formatting.cpp59 void test_by_char(std::locale const &l,std::locale const &lreal) in test_by_char() argument
97 ss_ref.imbue(lreal); in test_by_char()
113 ss_ref.imbue(lreal); in test_by_char()
115 …std::use_facet<std::money_put<RefCharType> >(lreal).put(ss_ref,false,ss_ref,RefCharType(' '),10433… in test_by_char()
120 … std::use_facet<std::money_get<RefCharType> >(lreal).get(ss_ref,end,false,ss_ref,err,tmp); in test_by_char()
161 ss_ref.imbue(lreal); in test_by_char()
163 …std::use_facet<std::money_put<RefCharType> >(lreal).put(ss_ref,true,ss_ref,RefCharType(' '),104334… in test_by_char()
194 ss_ref.imbue(lreal); in test_by_char()
200 …std::use_facet<std::time_put<RefCharType> >(lreal).put(ss_ref,ss_ref,RefCharType(' '),&tm,rfmt.c_s… in test_by_char()