Lines Matching full:42
62 check(SV("\u000042\u0000"), SV("{:\u0000^4}"), 42);
63 check(SV("\u007f42\u007f"), SV("{:\u007f^4}"), 42);
64 check(SV("\u008042\u0080"), SV("{:\u0080^4}"), 42);
65 check(SV("\u07ff42\u07ff"), SV("{:\u07ff^4}"), 42);
66 check(SV("\u080042\u0800"), SV("{:\u0800^4}"), 42);
67 check(SV("\uffff42\uffff"), SV("{:\uffff^4}"), 42);
68 check(SV("\U0010000042\U00100000"), SV("{:\U00100000^4}"), 42);
69 check(SV("\U0010ffff42\U0010ffff"), SV("{:\U0010ffff^4}"), 42);
78 check_exception("The format specifier contains malformed Unicode characters", SV("{:\xed\xa0\x80^}"), 42); // U+D800
79 check_exception("The format specifier contains malformed Unicode characters", SV("{:\xed\xa0\xbf^}"), 42); // U+DBFF
80 check_exception("The format specifier contains malformed Unicode characters", SV("{:\xed\xbf\x80^}"), 42); // U+DC00
81 check_exception("The format specifier contains malformed Unicode characters", SV("{:\xed\xbf\xbf^}"), 42); // U+DFFF
84 "The format specifier contains malformed Unicode characters", SV("{:\xf4\x90\x80\x80^}"), 42); // U+110000
86 "The format specifier contains malformed Unicode characters", SV("{:\xf4\x90\xbf\xbf^}"), 42); // U+11FFFF
90 42); // Trailing code unit with no leading one.
93 42); // Missing trailing code unit.
96 42); // Missing trailing code unit.
99 42); // Missing two trailing code units.
102 42); // Missing trailing code unit.
107 check_exception("The format specifier contains malformed Unicode characters", std::wstring_view{L"{:\xd800^}"}, 42);
108 check_exception("The format specifier contains malformed Unicode characters", std::wstring_view{L"{:\xdbff^}"}, 42);
109 check_exception("The format specifier contains malformed Unicode characters", std::wstring_view{L"{:\xdc00^}"}, 42);
110 check_exception("The format specifier contains malformed Unicode characters", std::wstring_view{L"{:\xddff^}"}, 42);
114 42); // Reverted surrogates.
117 check_exception("The fill option contains an invalid value", std::wstring_view{L"{:\xd800^}"}, 42);
118 check_exception("The fill option contains an invalid value", std::wstring_view{L"{:\xdbff^}"}, 42);
119 check_exception("The fill option contains an invalid value", std::wstring_view{L"{:\xdc00^}"}, 42);
120 check_exception("The fill option contains an invalid value", std::wstring_view{L"{:\xddff^}"}, 42);
123 "The format specifier should consume the input or end with a '}'", std::wstring_view{L"{:\xdc00\xd800^}"}, 42);
125 check_exception("The fill option contains an invalid value", std::wstring_view{L"{:\x00110000^}"}, 42);
126 check_exception("The fill option contains an invalid value", std::wstring_view{L"{:\x0011ffff^}"}, 42);