Home
last modified time | relevance | path

Searched refs:test_exception (Results 1 – 25 of 52) sorted by relevance

123

/llvm-project/libcxx/test/std/utilities/format/format.string/format.string.std/
H A Dlwg3720_arg_id_width_precision_allowed_types.pass.cpp37 void test_exception([[maybe_unused]] std::basic_string_view<CharT> fmt, [[maybe_unused]] Args&&... args) { in test_exception()
53 test_exception(SV("{:{}}"), 42, true); in test()
54 test_exception(SV("{:{}}"), 42, '0'); in test()
57 test_exception(SV("{:{}}"), 42, L'0'); in test()
60 test_exception(SV("{:{}}"), 42, __int128_t(0)); in test()
61 test_exception(SV("{:{}}"), 42, __uint128_t(0)); in test()
63 test_exception(SV("{:{}}"), 42, 42.0f); in test()
64 test_exception(SV("{:{}}"), 42, 42.0); in test()
65 test_exception(SV("{:{}}"), 42, 42.0l); in test()
68 test_exception(S in test()
36 void test_exception([[maybe_unused]] std::basic_string_view<CharT> fmt, [[maybe_unused]] Args&&... args) { test_exception() function
[all...]
/llvm-project/libcxx/test/libcxx/time/time.zone/time.zone.db/
H A Drules.pass.cpp64 static void test_exception(std::string_view input, [[maybe_unused]] std::string_view what) { in test_exception()
78 test_exception("R", "corrupt tzdb: expected whitespace"); in test_invalid()
80 test_exception("R ", "corrupt tzdb: expected a string"); in test_invalid()
82 test_exception("R r", "corrupt tzdb: expected whitespace"); in test_invalid()
84 test_exception("R r x", "corrupt tzdb: expected a digit"); in test_invalid()
85 test_exception("R r +", "corrupt tzdb: expected a digit"); in test_invalid()
86 test_exception("R r mx", "corrupt tzdb year: expected 'min' or 'max'"); in test_invalid()
87 test_exception("R r -32768", "corrupt tzdb year: year is less than the minimum"); in test_invalid()
88 test_exception("R r 32768", "corrupt tzdb year: year is greater than the maximum"); in test_invalid()
90 test_exception(" in test_invalid()
63 static void test_exception(std::string_view input, [[maybe_unused]] std::string_view what) { test_exception() function
[all...]
H A Dlinks.pass.cpp55 static void test_exception(std::string_view input, [[maybe_unused]] std::string_view what) { in test_exception() function
69 test_exception("L", "corrupt tzdb: expected whitespace"); in test_invalid()
71 test_exception("L ", "corrupt tzdb: expected a string"); in test_invalid()
73 test_exception("L n", "corrupt tzdb: expected whitespace"); in test_invalid()
75 test_exception("L n ", "corrupt tzdb: expected a string"); in test_invalid()
H A Dleap_seconds.pass.cpp54 static void test_exception(std::string_view input, [[maybe_unused]] std::string_view what) { in test_exception() function
68 test_exception("0", "corrupt tzdb: expected a non-zero digit"); in test_invalid()
70 test_exception("1", "corrupt tzdb: expected whitespace"); in test_invalid()
72 test_exception("1 ", "corrupt tzdb: expected a non-zero digit"); in test_invalid()
74 test_exception("5764607523034234880 2", "corrupt tzdb: integral too large"); in test_invalid()
/llvm-project/libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/
H A Dget_info.sys_time.pass.cpp69 static void test_exception([[maybe_unused]] std::string_view input, [[maybe_unused]] std::string_vi… in test_exception() function
110 test_exception( in invalid_format()
116 test_exception( in invalid_format()
122 test_exception( in invalid_format()
128 test_exception( in invalid_format()
134 test_exception( in invalid_format()
140 test_exception( in invalid_format()
146 test_exception( in invalid_format()
/llvm-project/libcxx/test/std/containers/container.adaptors/container.adaptors.format/
H A Dformat.functions.format.pass.cpp45 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
51 format_tests<char>(test, test_exception); in main()
54 format_tests<wchar_t>(test, test_exception); in main()
H A Dformat.functions.vformat.pass.cpp42 auto test_exception =
59 format_tests<char>(test, test_exception); in main()
62 format_tests<wchar_t>(test, test_exception); in main()
/llvm-project/libcxx/test/std/utilities/format/format.tuple/
H A Dformat.functions.format.pass.cpp45 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
53 run_tests<char>(test, test_exception); in main()
56 run_tests<wchar_t>(test, test_exception); in main()
H A Dformat.functions.vformat.pass.cpp40 auto test_exception =
57 run_tests<char>(test, test_exception); in main()
60 run_tests<wchar_t>(test, test_exception); in main()
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.formatter/
H A Dformat.functions.format.pass.cpp43 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
49 format_tests<char>(test, test_exception); in main()
52 format_tests<wchar_t>(test, test_exception); in main()
H A Dformat.functions.vformat.pass.cpp40 auto test_exception =
57 format_tests<char>(test, test_exception); in main()
60 format_tests<wchar_t>(test, test_exception); in main()
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.fmtset/
H A Dformat.functions.format.pass.cpp42 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
48 format_tests<char>(test, test_exception); in main()
51 format_tests<wchar_t>(test, test_exception); in main()
H A Dformat.functions.vformat.pass.cpp39 auto test_exception =
56 format_tests<char>(test, test_exception); in main()
59 format_tests<wchar_t>(test, test_exception); in main()
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.fmtmap/
H A Dformat.functions.format.pass.cpp42 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
48 format_tests<char>(test, test_exception); in main()
51 format_tests<wchar_t>(test, test_exception); in main()
H A Dformat.functions.vformat.pass.cpp39 auto test_exception =
56 format_tests<char>(test, test_exception); in main()
59 format_tests<wchar_t>(test, test_exception); in main()
/llvm-project/libcxx/test/std/utilities/format/format.range/format.range.fmtstr/
H A Dformat.functions.format.pass.cpp43 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
49 format_tests<char>(test, test_exception); in main()
52 format_tests<wchar_t>(test, test_exception); in main()
/llvm-project/libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/
H A Dformat.functions.format.pass.cpp44 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
50 format_tests<char>(test, test_exception); in main()
53 format_tests<wchar_t>(test, test_exception); in main()
H A Dformat.functions.vformat.pass.cpp40 auto test_exception =
57 format_tests<char>(test, test_exception); in main()
60 format_tests<wchar_t>(test, test_exception); in main()
/llvm-project/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/
H A Dformat.functions.format.pass.cpp44 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
50 format_tests<char>(test, test_exception); in main()
53 format_tests<wchar_t>(test, test_exception); in main()
H A Dformat.functions.vformat.pass.cpp41 auto test_exception =
58 format_tests<char>(test, test_exception); in main()
61 format_tests<wchar_t>(test, test_exception); in main()
/llvm-project/libcxx/test/std/utilities/format/format.functions/
H A Dformatted_size.pass.cpp37 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
45 format_tests<char, execution_modus::partial>(test, test_exception); in main()
49 format_tests<wchar_t, execution_modus::partial>(test, test_exception); in main()
H A Dformatted_size.locale.pass.cpp41 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
49 format_tests<char, execution_modus::partial>(test, test_exception); in main()
53 format_tests<wchar_t, execution_modus::partial>(test, test_exception); in main()
H A Dformat.pass.cpp46 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
54 format_tests<char, execution_modus::full>(test, test_exception); in main()
58 format_tests<wchar_t, execution_modus::full>(test, test_exception); in main()
H A Dformat.locale.pass.cpp44 auto test_exception = []<class CharT, class... Args>(std::string_view, std::basic_string_view<CharT>, Args&&...) {
52 format_tests<char, execution_modus::full>(test, test_exception); in main()
56 format_tests<wchar_t, execution_modus::full>(test, test_exception); in main()
/llvm-project/libcxx/test/libcxx/utilities/format/format.string/format.string.std/
H A Dtest_exception.h18 void test_exception(std::string_view what, const CharT* fmt) { in test_exception()
42 constexpr void test_exception(std::string_view what, const CharT* fmt) { in test_exception()
45 detail::test_exception<Parser>(what, fmt); in test_exception()
17 void test_exception(std::string_view what, const CharT* fmt) { test_exception() function
41 constexpr void test_exception(std::string_view what, const CharT* fmt) { test_exception() function

123