Home
last modified time | relevance | path

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

/ndk/tests/device/test-gnustl-full/unit/
Dmoney_facets_test.cpp188 moneypunct<char, false> const& dom_fmp = use_facet<moneypunct<char, false> >(loc); in _money_put_get2() local
201 if (dom_fmp.neg_format().field[fieldIndex] == money_base::sign) { in _money_put_get2()
202 …CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() ); in _money_put_get2()
203 index += dom_fmp.negative_sign().size(); in _money_put_get2()
213 if (dom_fmp.neg_format().field[fieldIndex] == money_base::space || in _money_put_get2()
214 dom_fmp.neg_format().field[fieldIndex] == money_base::none) { in _money_put_get2()
220 if (!dom_fmp.grouping().empty()) { in _money_put_get2()
221 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.thousands_sep() ); in _money_put_get2()
226 if (dom_fmp.frac_digits() != 0) { in _money_put_get2()
227 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.decimal_point() ); in _money_put_get2()
[all …]
/ndk/tests/device/test-stlport/unit/
Dmoney_facets_test.cpp188 moneypunct<char, false> const& dom_fmp = use_facet<moneypunct<char, false> >(loc); in _money_put_get2() local
201 if (dom_fmp.neg_format().field[fieldIndex] == money_base::sign) { in _money_put_get2()
202 …CPPUNIT_ASSERT( str_res.substr(index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() ); in _money_put_get2()
203 index += dom_fmp.negative_sign().size(); in _money_put_get2()
213 if (dom_fmp.neg_format().field[fieldIndex] == money_base::space || in _money_put_get2()
214 dom_fmp.neg_format().field[fieldIndex] == money_base::none) { in _money_put_get2()
220 if (!dom_fmp.grouping().empty()) { in _money_put_get2()
221 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.thousands_sep() ); in _money_put_get2()
226 if (dom_fmp.frac_digits() != 0) { in _money_put_get2()
227 CPPUNIT_ASSERT( str_res[index++] == dom_fmp.decimal_point() ); in _money_put_get2()
[all …]