Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 67) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/
Dput2.pass.cpp49 std::string ex(str, iter.base()); in main() local
50 assert(ex == "Saturday"); in main()
54 std::string ex(str, iter.base()); in main() local
55 assert(ex == "Sat"); in main()
59 std::string ex(str, iter.base()); in main() local
60 assert(ex == "May"); in main()
64 std::string ex(str, iter.base()); in main() local
65 assert(ex == "May"); in main()
69 std::string ex(str, iter.base()); in main() local
70 assert(ex == "20"); in main()
[all …]
Dput1.pass.cpp51 std::string ex(str, iter.base()); in main() local
52 assert(ex == "Today is Saturday which is abbreviated Sat."); in main()
58 std::string ex(str, iter.base()); in main() local
59 assert(ex == "The number of the month is 05."); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/
Dput_double.pass.cpp70 std::string ex(str, iter.base()); in test1() local
71 assert(ex == "0"); in test1()
78 std::string ex(str, iter.base()); in test1() local
79 assert(ex == "0************************"); in test1()
86 std::string ex(str, iter.base()); in test1() local
87 assert(ex == "************************0"); in test1()
94 std::string ex(str, iter.base()); in test1() local
95 assert(ex == "************************0"); in test1()
104 std::string ex(str, iter.base()); in test1() local
105 assert(ex == "0"); in test1()
[all …]
Dput_long_double.pass.cpp70 std::string ex(str, iter.base()); in test1() local
71 assert(ex == "0"); in test1()
78 std::string ex(str, iter.base()); in test1() local
79 assert(ex == "0************************"); in test1()
86 std::string ex(str, iter.base()); in test1() local
87 assert(ex == "************************0"); in test1()
94 std::string ex(str, iter.base()); in test1() local
95 assert(ex == "************************0"); in test1()
104 std::string ex(str, iter.base()); in test1() local
105 assert(ex == "0"); in test1()
[all …]
Dput_long_long.pass.cpp51 std::string ex(str, iter.base()); in main() local
52 assert(ex == "0"); in main()
59 std::string ex(str, iter.base()); in main() local
60 assert(ex == "1"); in main()
67 std::string ex(str, iter.base()); in main() local
68 assert(ex == "-1"); in main()
75 std::string ex(str, iter.base()); in main() local
76 assert(ex == "-1000"); in main()
83 std::string ex(str, iter.base()); in main() local
84 assert(ex == "1000"); in main()
[all …]
Dput_unsigned_long_long.pass.cpp51 std::string ex(str, iter.base()); in main() local
52 assert(ex == "0"); in main()
59 std::string ex(str, iter.base()); in main() local
60 assert(ex == "1"); in main()
67 std::string ex(str, iter.base()); in main() local
68 assert(ex == (sizeof(unsigned long long) == 4 ? "4294967295" : "18446744073709551615")); in main()
75 std::string ex(str, iter.base()); in main() local
76 assert(ex == "18446744073709550616"); in main()
83 std::string ex(str, iter.base()); in main() local
84 assert(ex == "1000"); in main()
[all …]
Dput_long.pass.cpp52 std::string ex(str, iter.base()); in main() local
53 assert(ex == "0"); in main()
61 std::string ex(str, iter.base()); in main() local
62 assert(ex == "1"); in main()
70 std::string ex(str, iter.base()); in main() local
71 assert(ex == "-1"); in main()
79 std::string ex(str, iter.base()); in main() local
80 assert(ex == "-1000"); in main()
88 std::string ex(str, iter.base()); in main() local
89 assert(ex == "1000"); in main()
[all …]
Dput_unsigned_long.pass.cpp52 std::string ex(str, iter.base()); in main() local
53 assert(ex == "0"); in main()
61 std::string ex(str, iter.base()); in main() local
62 assert(ex == "1"); in main()
70 std::string ex(str, iter.base()); in main() local
71 assert(ex == (sizeof(unsigned long) == 4 ? "4294967295" : "18446744073709551615")); in main()
79 std::string ex(str, iter.base()); in main() local
80 assert(ex == (sizeof(unsigned long) == 4 ? "4294966296" : "18446744073709550616")); in main()
88 std::string ex(str, iter.base()); in main() local
89 assert(ex == "1000"); in main()
[all …]
Dput_bool.pass.cpp52 std::string ex(str, iter.base()); in main() local
53 assert(ex == "0"); in main()
59 std::string ex(str, iter.base()); in main() local
60 assert(ex == "1"); in main()
70 std::string ex(str, iter.base()); in main() local
71 assert(ex == "false"); in main()
77 std::string ex(str, iter.base()); in main() local
78 assert(ex == "true"); in main()
89 std::string ex(str, iter.base()); in main() local
90 assert(ex == "no"); in main()
[all …]
Dput_pointer.pass.cpp40 std::string ex(str, iter.base()); in main() local
41 assert(ex == "0x0" || ex == "(nil)"); in main()
/ndk/tests/device/test-stlport_shared-exception/jni/
Dref9.cpp3 struct ex;
6 ex eval() const;
10 struct ex { struct
12 ex() : bp(0) { } in ex() argument
13 ex(const basic &);
14 virtual ~ex();
18 ex basic::eval() const { in eval()
22 inline ex::ex(const basic &b) { construct_from_basic (b); } in ex() function in ex
23 inline ex::~ex() { if (--bp->refcount == 0) delete bp; } in ~ex()
24 void ex::construct_from_basic(const basic &b) { in construct_from_basic()
[all …]
/ndk/tests/device/test-stlport_static-exception/jni/
Dref9.cpp3 struct ex;
6 ex eval() const;
10 struct ex { struct
12 ex() : bp(0) { } in ex() argument
13 ex(const basic &);
14 virtual ~ex();
18 ex basic::eval() const { in eval()
22 inline ex::ex(const basic &b) { construct_from_basic (b); } in ex() function in ex
23 inline ex::~ex() { if (--bp->refcount == 0) delete bp; } in ~ex()
24 void ex::construct_from_basic(const basic &b) { in construct_from_basic()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/
Dput_long_double_fr_FR.pass.cpp67 std::string ex(str, iter.base()); in main() local
68 assert(ex == "0,00"); in main()
75 std::string ex(str, iter.base()); in main() local
76 assert(ex == "-0,01"); in main()
83 std::string ex(str, iter.base()); in main() local
84 assert(ex == "1 234 567,89"); in main()
91 std::string ex(str, iter.base()); in main() local
92 assert(ex == "-1 234 567,89"); in main()
100 std::string ex(str, iter.base()); in main() local
101 assert(ex == "0,00 \u20ac"); in main()
[all …]
Dput_long_double_ru_RU.pass.cpp67 std::string ex(str, iter.base()); in main() local
68 assert(ex == "0,00 "); in main()
75 std::string ex(str, iter.base()); in main() local
76 assert(ex == "-0,01 "); in main()
83 std::string ex(str, iter.base()); in main() local
84 assert(ex == "1 234 567,89 "); in main()
91 std::string ex(str, iter.base()); in main() local
92 assert(ex == "-1 234 567,89 "); in main()
100 std::string ex(str, iter.base()); in main() local
101 assert(ex == "0,00 \xD1\x80\xD1\x83\xD0\xB1""."); in main()
[all …]
Dput_long_double_zh_CN.pass.cpp65 std::string ex(str, iter.base()); in main() local
66 assert(ex == "0.00"); in main()
73 std::string ex(str, iter.base()); in main() local
74 assert(ex == "-0.01"); in main()
81 std::string ex(str, iter.base()); in main() local
82 assert(ex == "1,234,567.89"); in main()
89 std::string ex(str, iter.base()); in main() local
90 assert(ex == "-1,234,567.89"); in main()
98 std::string ex(str, iter.base()); in main() local
99 assert(ex == "\xEF\xBF\xA5""0.00"); in main()
[all …]
Dput_long_double_en_US.pass.cpp65 std::string ex(str, iter.base()); in main() local
66 assert(ex == "0.00"); in main()
73 std::string ex(str, iter.base()); in main() local
74 assert(ex == "-0.01"); in main()
81 std::string ex(str, iter.base()); in main() local
82 assert(ex == "1,234,567.89"); in main()
89 std::string ex(str, iter.base()); in main() local
90 assert(ex == "-1,234,567.89"); in main()
98 std::string ex(str, iter.base()); in main() local
99 assert(ex == "$0.00"); in main()
[all …]
Dput_string_en_US.pass.cpp65 std::string ex(str, iter.base()); in main() local
66 assert(ex == "0.00"); in main()
73 std::string ex(str, iter.base()); in main() local
74 assert(ex == "-0.01"); in main()
81 std::string ex(str, iter.base()); in main() local
82 assert(ex == "1,234,567.89"); in main()
89 std::string ex(str, iter.base()); in main() local
90 assert(ex == "-1,234,567.89"); in main()
98 std::string ex(str, iter.base()); in main() local
99 assert(ex == "$0.00"); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/
Dget_long_double_fr_FR.pass.cpp65 long double ex; in main() local
68 false, ios, err, ex); in main()
71 assert(ex == 0); in main()
76 long double ex; in main() local
79 false, ios, err, ex); in main()
82 assert(ex == -1); in main()
87 long double ex; in main() local
90 false, ios, err, ex); in main()
93 assert(ex == 123456789); in main()
98 long double ex; in main() local
[all …]
Dget_long_double_ru_RU.pass.cpp65 long double ex; in main() local
68 false, ios, err, ex); in main()
71 assert(ex == 0); in main()
76 long double ex; in main() local
79 false, ios, err, ex); in main()
82 assert(ex == -1); in main()
87 long double ex; in main() local
90 false, ios, err, ex); in main()
93 assert(ex == 123456789); in main()
98 long double ex; in main() local
[all …]
Dget_long_double_en_US.pass.cpp63 long double ex; in main() local
66 false, ios, err, ex); in main()
69 assert(ex == 0); in main()
74 long double ex; in main() local
77 false, ios, err, ex); in main()
80 assert(ex == -1); in main()
85 long double ex; in main() local
88 false, ios, err, ex); in main()
91 assert(ex == 123456789); in main()
96 long double ex; in main() local
[all …]
Dget_long_double_zh_CN.pass.cpp63 long double ex; in main() local
66 false, ios, err, ex); in main()
69 assert(ex == 0); in main()
74 long double ex; in main() local
77 false, ios, err, ex); in main()
80 assert(ex == -1); in main()
85 long double ex; in main() local
88 false, ios, err, ex); in main()
91 assert(ex == 123456789); in main()
96 long double ex; in main() local
[all …]
Dget_string_en_US.pass.cpp63 std::string ex; in main() local
66 false, ios, err, ex); in main()
69 assert(ex == "0"); in main()
74 std::string ex; in main() local
77 false, ios, err, ex); in main()
80 assert(ex == "-1"); in main()
85 std::string ex; in main() local
88 false, ios, err, ex); in main()
91 assert(ex == "123456789"); in main()
96 std::string ex; in main() local
[all …]
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_range_errors.c22 # define _STLP_THROW_MSG(ex,msg) throw std::ex(msg) argument
35 # define _STLP_THROW_MSG(ex,msg) throw ex(msg) argument
49 # define _STLP_THROW_MSG(ex,msg) puts(msg),_STLP_ABORT() argument
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/
Dput1.pass.cpp60 std::string ex(str, iter.base()); in main() local
61 assert(ex == "Today is Saturday which is abbreviated Sat."); in main()
68 std::string ex(str, iter.base()); in main() local
69 assert((ex == "Today is Samedi which is abbreviated Sam.")|| in main()
70 (ex == "Today is samedi which is abbreviated sam." )); in main()
/ndk/tests/device/test-gnustl_static-exception/jni/
Dtest2_foo.cpp29 catch (std::exception &ex) in bar() local
31 std::printf("%s\n", ex.what()); in bar()

123