Searched refs:cfacet (Results 1 - 4 of 4) sorted by relevance
/external/stlport/test/unit/ |
H A D | num_facets_test.cpp | 240 numpunct<char> const& cfacet = use_facet<numpunct<char> >(locale::classic()); local 242 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() ); 243 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); 244 if (!cfacet.grouping().empty()) 245 CPPUNIT_CHECK( cfacet_byname.thousands_sep() == cfacet.thousands_sep() ); 247 CPPUNIT_CHECK( cfacet_byname.truename() == cfacet.truename() ); 248 CPPUNIT_CHECK( cfacet_byname.falsename() == cfacet.falsename() );
|
H A D | money_facets_test.cpp | 540 moneypunct<char, false> const& cfacet = use_facet<moneypunct<char, false> >(locale::classic()); local 542 money_base::pattern cp = cfacet.pos_format(); 549 CPPUNIT_CHECK( cfacet_byname.frac_digits() == cfacet.frac_digits() ); 551 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() ); 552 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() ); 554 CPPUNIT_CHECK( cfacet_byname.thousands_sep() == cfacet.thousands_sep() ); 555 CPPUNIT_CHECK( cfacet_byname.positive_sign() == cfacet.positive_sign() ); 556 CPPUNIT_CHECK( cfacet_byname.negative_sign() == cfacet.negative_sign() ); 569 moneypunct<char, true> const& cfacet = use_facet<moneypunct<char, true> >(locale::classic()); local 571 money_base::pattern cp = cfacet [all...] |
H A D | ctype_facets_test.cpp | 442 ctype<char> const& cfacet = use_facet<ctype<char> >(locale::classic()); local 445 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::space, c) == cfacet.is(ctype_base::space, c)); 446 if (cfacet_byname.is(ctype_base::print, c) != cfacet.is(ctype_base::print, c)) 448 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::print, c) == cfacet.is(ctype_base::print, c)); 450 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::cntrl, c) == cfacet.is(ctype_base::cntrl, c)); 451 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::upper, c) == cfacet.is(ctype_base::upper, c)); 452 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::lower, c) == cfacet.is(ctype_base::lower, c)); 453 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::alpha, c) == cfacet.is(ctype_base::alpha, c)); 454 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::digit, c) == cfacet.is(ctype_base::digit, c)); 455 CPPUNIT_CHECK(cfacet_byname.is(ctype_base::punct, c) == cfacet [all...] |
H A D | collate_facets_test.cpp | 214 collate<char> const& cfacet = use_facet<collate<char> >(locale::classic()); local 222 cfacet.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 1) ); 224 cfacet.compare(str1, str1 + size1, str2, str2 + size2) ); 228 cfacet.compare(str1, str1 + size1 - 2, str2, str2 + size2 - 1) ); 230 cfacet.compare(str1, str1 + size1 - 1, str2, str2 + size2 - 2) );
|
Completed in 683 milliseconds