3#if !defined (STLPORT) || !defined (_STLP_USE_NO_IOSTREAMS)
10# if !defined (STLPORT) || defined(_STLP_USE_NAMESPACES)
22# if !defined (STLPORT) || defined (_STLP_USE_EXCEPTIONS)
23 {
"fr_FR",
",",
"\xa0"},
24 {
"ru_RU.koi8r",
",",
"."},
46 if (!npct.grouping().empty()) {
47 ref += npct.thousands_sep();
50 ref += npct.decimal_point();
57 ref += npct.decimal_point();
75 if (!npct.grouping().empty()) {
76 ref += npct.thousands_sep();
90 if (npct.grouping().size() == 1 && npct.grouping()[0] == 3) {
91 int ival = 1234567890;
95 ref += npct.thousands_sep();
97 ref += npct.thousands_sep();
99 ref += npct.thousands_sep();
104#if defined (__BORLANDC__)
107 fostr.setf(ios_base::uppercase | ios_base::showpos);
109 if (limd::has_infinity) {
110 double infinity = limd::infinity();
112 nput.
put(fostr, fostr,
' ', infinity);
116 if (limd::has_quiet_NaN) {
118 unsigned int _float_control_word =
_control87(0, 0);
120 double qnan = limd::quiet_NaN();
125 nput.
put(fostr, fostr,
' ', qnan);
134 for (
size_t i = 0;
i <
n; ++
i) {
136# if !defined (STLPORT) || defined (_STLP_USE_EXCEPTIONS)
143# if !defined (STLPORT) || defined (_STLP_USE_EXCEPTIONS)
176# if !defined (STLPORT) || defined (_STLP_USE_EXCEPTIONS)
177# if defined (STLPORT) || !defined (__GNUC__)
202 string veryLongFacetName(
"LC_NUMERIC=");
203 veryLongFacetName.append(512,
'?');
239 numpunct<char> const& cfacet_byname = use_facet<numpunct<char> >(loc);
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() );
246# if !defined (STLPORT) || !defined (__GLIBC__)
247 CPPUNIT_CHECK( cfacet_byname.truename() == cfacet.truename() );
248 CPPUNIT_CHECK( cfacet_byname.falsename() == cfacet.falsename() );
271# if !defined (STLPORT) || !defined (_STLP_NO_WCHAR_T)
272# if defined (STLPORT) || !defined (__GNUC__)
basic_ostringstream< char, char_traits< char >, allocator< char > > ostringstream
bool has_facet(const locale &__loc) _STLP_NOTHROW
void _num_put_get(const STD locale &, const ref_locale *)
static const locale &_STLP_CALL classic()
iter_type put(iter_type __s, ios_base &__f, char_type __fill, bool __val) const
void complete_digits(std::string &digits)
#define CPPUNIT_MESSAGE(m)
#define CPPUNIT_ASSERT(X)
static void test_supported_locale(LocaleTest &inst, _Test __test)
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[]
unsigned int __cdecl _control87(unsigned int, unsigned int)
static void test_supported_locale(LocaleTest &inst, _Test __test)
void(LocaleTest::* _Test)(const locale &, const ref_locale *)
static const ref_locale tested_locales[]
const char * thousands_sep
const char * decimal_point