3#if !defined (STLPORT) || !defined (_STLP_USE_NO_IOSTREAMS)
8# if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES)
24# if !defined (STLPORT) || defined (_STLP_USE_EXCEPTIONS)
25 {
"fr_FR",
"EUR ",
"FRF ",
"",
"",
",",
26# if defined (WIN32) || defined (_WIN32)
31 {
"ru_RU.koi8r",
"RUB ",
"RUR ",
"",
"\xd2\xd5\xc2",
".",
" " },
32 {
"en_GB",
"GBP ",
"",
"\xa3",
"",
".",
"," },
33 {
"en_US",
"USD ",
"",
"$",
"",
".",
"," },
35 {
"C",
"",
"",
"",
"",
" ",
" " },
66 ostr.imbue(streamLoc);
83 size_t fieldIndex = 0;
134 if (!intl_fmp.grouping().empty()) {
140 if (intl_fmp.frac_digits() != 0) {
164 while ( fieldIndex < 3 ) {
195 str_res = ostr.str();
198 size_t fieldIndex = 0;
202 CPPUNIT_ASSERT( str_res.substr(
index, dom_fmp.negative_sign().size()) == dom_fmp.negative_sign() );
203 index += dom_fmp.negative_sign().size();
220 if (!dom_fmp.grouping().empty()) {
226 if (dom_fmp.frac_digits() != 0) {
234 if ((fieldIndex < 3) &&
240 if (fieldIndex == 3) {
254# if defined (STLPORT)
263 if (dom_fmp.negative_sign().empty()) {
300 str_res = ostr.str();
302 size_t fieldIndex = 0;
306 CPPUNIT_ASSERT( str_res.substr(
index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() );
307 index += dom_fmp.positive_sign().size();
322 if (dom_fmp.frac_digits() != 0) {
325 for (
int fd = 1;
fd < dom_fmp.frac_digits(); ++
fd ) {
333 if ((fieldIndex < 3) &&
339 if (fieldIndex == 3) {
362 str_res = ostr.str();
364 size_t fieldIndex = 0;
368 CPPUNIT_ASSERT( str_res.substr(
index, dom_fmp.positive_sign().size()) == dom_fmp.positive_sign() );
369 index += dom_fmp.positive_sign().size();
384 if (dom_fmp.frac_digits() != 0) {
387 for (
int fd = 1;
fd < dom_fmp.frac_digits() - 1; ++
fd ) {
392 if (dom_fmp.frac_digits() != 0) {
398 if ((fieldIndex < 3) &&
404 if (fieldIndex == 3) {
420 for (
size_t i = 0;
i <
n; ++
i) {
422# if !defined (STLPORT) || defined (_STLP_USE_EXCEPTIONS)
429# if !defined (STLPORT) || defined (_STLP_USE_EXCEPTIONS)
466# if !defined (STLPORT) || defined (_STLP_USE_EXCEPTIONS)
467# if defined (STLPORT) || !defined (__GNUC__)
490 string veryLongFacetName(
"LC_MONETARY=");
491 veryLongFacetName.append(512,
'?');
502# if defined (STLPORT) || !defined (__GNUC__)
525 string veryLongFacetName(
"LC_MONETARY=");
526 veryLongFacetName.append(512,
'?');
549 CPPUNIT_CHECK( cfacet_byname.frac_digits() == cfacet.frac_digits() );
550 if (cfacet_byname.frac_digits() != 0)
551 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() );
552 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() );
553 if (!cfacet_byname.grouping().empty())
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() );
578 CPPUNIT_CHECK( cfacet_byname.frac_digits() == cfacet.frac_digits() );
579 if (cfacet_byname.frac_digits() != 0)
580 CPPUNIT_CHECK( cfacet_byname.decimal_point() == cfacet.decimal_point() );
581 CPPUNIT_CHECK( cfacet_byname.grouping() == cfacet.grouping() );
582 if (!cfacet_byname.grouping().empty())
583 CPPUNIT_CHECK( cfacet_byname.thousands_sep() == cfacet.thousands_sep() );
584 CPPUNIT_CHECK( cfacet_byname.positive_sign() == cfacet.positive_sign() );
585 CPPUNIT_CHECK( cfacet_byname.negative_sign() == cfacet.negative_sign() );
607# if !defined (STLPORT) || !defined (_STLP_NO_WCHAR_T)
608# if defined (STLPORT) || !defined (__GNUC__)
630# if defined (STLPORT) || !defined (__GNUC__)
ios_base &_STLP_CALL showbase(ios_base &__s)
basic_ostringstream< char, char_traits< char >, allocator< char > > ostringstream
bool has_facet(const locale &__loc) _STLP_NOTHROW
ACPI_SIZE strlen(const char *String)
void moneypunct_by_name()
void _money_put_get(const STD locale &, const ref_monetary *)
static const char * _get_ref_monetary_name(const ref_monetary *)
void _money_put_get2(const STD locale &loc, const STD locale &streamLoc, const ref_monetary *)
void _money_put_X_bug(const STD locale &, const ref_monetary *)
static const ref_monetary * _get_ref_monetary(size_t)
static const locale &_STLP_CALL classic()
iter_type get(iter_type __s, iter_type __end, bool __intl, ios_base &__str, ios_base::iostate &__err, _STLP_LONGEST_FLOAT_TYPE &__units) const
iter_type put(iter_type __s, bool __intl, ios_base &__str, char_type __fill, _STLP_LONGEST_FLOAT_TYPE __units) const
#define CPPUNIT_MESSAGE(m)
#define CPPUNIT_ASSERT(X)
static void test_supported_locale(LocaleTest &inst, _Test __test)
static const char * tested_locales[]
#define _STLP_LONGEST_FLOAT_TYPE
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
static const int digits[]
static void test_supported_locale(LocaleTest &inst, _Test __test)
static const ref_monetary tested_locales[]
void(LocaleTest::* _Test)(const locale &, const ref_monetary *)
const char * money_decimal_point
const char * money_prefix
const char * money_int_prefix
const char * money_int_prefix_old
const char * money_suffix
const char * money_thousands_sep