|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <cstddef>#include <cfloat>#include <climits>#include <clocale>#include <cstdio>#include <cstring>#include <cerrno>#include <ios>#include <limits>#include <locale>#include <rw_alg_test.h>#include <rw_any.h>#include <rw_cmdopt.h>#include <rw_driver.h>#include <rw_char.h>#include <rw_locale.h>#include <rw_valcmp.h>
Go to the source code of this file.
Data Structures | |
| struct | Ctype< charT > |
| struct | PunctData< charT > |
| struct | Punct< charT, Intl > |
| struct | Ios< charT > |
| struct | Streambuf< charT, Traits > |
| struct | NumGet< charT, InputIterator > |
Macros | |
| #define | boolalpha std::ios_base::boolalpha |
| #define | dec std::ios_base::dec |
| #define | fixed std::ios_base::fixed |
| #define | hex std::ios_base::hex |
| #define | internal std::ios_base::internal |
| #define | left std::ios_base::left |
| #define | oct std::ios_base::oct |
| #define | right std::ios_base::right |
| #define | scientific std::ios_base::scientific |
| #define | showbase std::ios_base::showbase |
| #define | showpoint std::ios_base::showpoint |
| #define | showpos std::ios_base::showpos |
| #define | skipws std::ios_base::skipws |
| #define | unitbuf std::ios_base::unitbuf |
| #define | uppercase std::ios_base::uppercase |
| #define | bin std::ios_base::bin |
| #define | adjustfield std::ios_base::adjustfield |
| #define | basefield std::ios_base::basefield |
| #define | floatfield std::ios_base::floatfield |
| #define | nolock std::ios_base::nolock |
| #define | nolockbuf std::ios_base::nolockbuf |
| #define | Bad std::ios_base::badbit |
| #define | Eof std::ios_base::eofbit |
| #define | Fail std::ios_base::failbit |
| #define | Good std::ios_base::goodbit |
| #define | TEST do_test |
| #define | T __LINE__, ctype, cname, itype, iname |
| #define | TEST_ERRNO(val) |
| #define | BASE(n) ((n) << _RWSTD_IOS_BASEOFF) |
| #define | INTSIZE(x) _RWSTD_STATIC_CAST(int, sizeof (x)) |
| #define | BASE(n) ((n) << _RWSTD_IOS_BASEOFF) |
| #define | LL(number) number ## LL |
| #define | ULL(number) number ## ULL |
| #define | PVOIDSTR(name) name, INTSIZE (name - 1) |
| #define | VALSTR(x) floatT (x), #x, int (std::strlen (#x)) |
| #define | CAT(a, b) CONCAT (a, b) |
| #define | CONCAT(a, b) a ## b |
| #define | TEST(T, tname) |
Enumerations | |
| enum | IterType { iter_pointer , iter_istreambuf , iter_input } |
| enum | CharType { narrow_char , wide_char , user_char } |
Functions | |
| template<class charT , class nativeT > | |
| int | do_test (int lineno, charT *, const char *cname, IterType itype, const char *iname, nativeT val, const char *str, int eat_expect=-1, int flags=0, int err_expect=-1, const char *grouping="") |
| template<class nativeT > | |
| int | do_test (int lineno, CharType ctype, const char *cname, IterType itype, const char *iname, nativeT val, const char *str, int eat_expect=-1, int flags=0, int err_expect=-1, const char *grouping="") |
| template<class numT > | |
| void | test_errno (CharType ctype, const char *cname, IterType itype, const char *iname, numT) |
| template<class floatT > | |
| void | test_floating_point (CharType ctype, const char *cname, IterType itype, const char *iname, floatT, bool test_locale) |
| void | test_dbl_uflow (CharType ctype, const char *cname, IterType itype, const char *iname) |
| int | main (int argc, char *argv[]) |
Variables | |
| void * | pmax = 0 |
| #define adjustfield std::ios_base::adjustfield |
Definition at line 491 of file 22.locale.num.get.cpp.
| #define Bad std::ios_base::badbit |
Definition at line 497 of file 22.locale.num.get.cpp.
| #define BASE | ( | n | ) | ((n) << _RWSTD_IOS_BASEOFF) |
| #define BASE | ( | n | ) | ((n) << _RWSTD_IOS_BASEOFF) |
| #define basefield std::ios_base::basefield |
Definition at line 492 of file 22.locale.num.get.cpp.
| #define bin std::ios_base::bin |
Definition at line 490 of file 22.locale.num.get.cpp.
| #define boolalpha std::ios_base::boolalpha |
Definition at line 475 of file 22.locale.num.get.cpp.
| #define dec std::ios_base::dec |
Definition at line 476 of file 22.locale.num.get.cpp.
| #define Eof std::ios_base::eofbit |
Definition at line 498 of file 22.locale.num.get.cpp.
| #define Fail std::ios_base::failbit |
Definition at line 499 of file 22.locale.num.get.cpp.
| #define fixed std::ios_base::fixed |
Definition at line 477 of file 22.locale.num.get.cpp.
| #define floatfield std::ios_base::floatfield |
Definition at line 493 of file 22.locale.num.get.cpp.
| #define Good std::ios_base::goodbit |
Definition at line 500 of file 22.locale.num.get.cpp.
| #define hex std::ios_base::hex |
Definition at line 478 of file 22.locale.num.get.cpp.
| #define internal std::ios_base::internal |
Definition at line 479 of file 22.locale.num.get.cpp.
| #define INTSIZE | ( | x | ) | _RWSTD_STATIC_CAST(int, sizeof (x)) |
| #define left std::ios_base::left |
Definition at line 480 of file 22.locale.num.get.cpp.
| #define LL | ( | number | ) | number ## LL |
| #define nolock std::ios_base::nolock |
Definition at line 494 of file 22.locale.num.get.cpp.
| #define nolockbuf std::ios_base::nolockbuf |
Definition at line 495 of file 22.locale.num.get.cpp.
| #define oct std::ios_base::oct |
Definition at line 481 of file 22.locale.num.get.cpp.
| #define right std::ios_base::right |
Definition at line 482 of file 22.locale.num.get.cpp.
| #define scientific std::ios_base::scientific |
Definition at line 483 of file 22.locale.num.get.cpp.
| #define showbase std::ios_base::showbase |
Definition at line 484 of file 22.locale.num.get.cpp.
| #define showpoint std::ios_base::showpoint |
Definition at line 485 of file 22.locale.num.get.cpp.
| #define showpos std::ios_base::showpos |
Definition at line 486 of file 22.locale.num.get.cpp.
| #define skipws std::ios_base::skipws |
Definition at line 487 of file 22.locale.num.get.cpp.
| #define T __LINE__, ctype, cname, itype, iname |
Definition at line 505 of file 22.locale.num.get.cpp.
| #define TEST do_test |
Definition at line 504 of file 22.locale.num.get.cpp.
| #define TEST | ( | T, | |
| tname | |||
| ) |
Definition at line 504 of file 22.locale.num.get.cpp.
| #define TEST_ERRNO | ( | val | ) |
| #define ULL | ( | number | ) | number ## ULL |
| #define unitbuf std::ios_base::unitbuf |
Definition at line 488 of file 22.locale.num.get.cpp.
| #define uppercase std::ios_base::uppercase |
Definition at line 489 of file 22.locale.num.get.cpp.
| enum CharType |
| Enumerator | |
|---|---|
| narrow_char | |
| wide_char | |
| user_char | |
Definition at line 439 of file 22.locale.num.get.cpp.
| enum IterType |
| Enumerator | |
|---|---|
| iter_pointer | |
| iter_istreambuf | |
| iter_input | |
Definition at line 246 of file 22.locale.num.get.cpp.
| int do_test | ( | int | lineno, |
| charT * | , | ||
| const char * | cname, | ||
| IterType | itype, | ||
| const char * | iname, | ||
| nativeT | val, | ||
| const char * | str, | ||
| int | eat_expect = -1, |
||
| int | flags = 0, |
||
| int | err_expect = -1, |
||
| const char * | grouping = "" |
||
| ) |
Definition at line 249 of file 22.locale.num.get.cpp.
| int do_test | ( | int | lineno, |
| CharType | ctype, | ||
| const char * | cname, | ||
| IterType | itype, | ||
| const char * | iname, | ||
| nativeT | val, | ||
| const char * | str, | ||
| int | eat_expect = -1, |
||
| int | flags = 0, |
||
| int | err_expect = -1, |
||
| const char * | grouping = "" |
||
| ) |
Definition at line 442 of file 22.locale.num.get.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 2999 of file 22.locale.num.get.cpp.
Definition at line 2612 of file 22.locale.num.get.cpp.
| void test_errno | ( | CharType | ctype, |
| const char * | cname, | ||
| IterType | itype, | ||
| const char * | iname, | ||
| numT | |||
| ) |
Definition at line 509 of file 22.locale.num.get.cpp.
| void test_floating_point | ( | CharType | ctype, |
| const char * | cname, | ||
| IterType | itype, | ||
| const char * | iname, | ||
| floatT | , | ||
| bool | test_locale | ||
| ) |
Definition at line 2143 of file 22.locale.num.get.cpp.
| void* pmax = 0 |
Definition at line 243 of file 22.locale.num.get.cpp.