Lines Matching full:input

22   std::thread::id input{};
26 check(SV("0"), SV("{}"), input);
27 check(SV("0^42"), SV("{}^42"), input);
28 check(SV("0^42"), SV("{:}^42"), input);
31 check(SV(" 0"), SV("{:5}"), input);
32 check(SV("0****"), SV("{:*<5}"), input);
33 check(SV("__0__"), SV("{:_^5}"), input);
34 check(SV("::::0"), SV("{::>5}"), input); // This is not a range, so : is allowed as fill character.
36 check(SV(" 0"), SV("{:{}}"), input, 5);
37 check(SV("0****"), SV("{:*<{}}"), input, 5);
38 check(SV("__0__"), SV("{:_^{}}"), input, 5);
39 check(SV("####0"), SV("{:#>{}}"), input, 5);
41 check(SV("0x0"), SV("{}"), input);
42 check(SV("0x0^42"), SV("{}^42"), input);
43 check(SV("0x0^42"), SV("{:}^42"), input);
46 check(SV(" 0x0"), SV("{:7}"), input);
47 check(SV("0x0****"), SV("{:*<7}"), input);
48 check(SV("__0x0__"), SV("{:_^7}"), input);
49 check(SV("::::0x0"), SV("{::>7}"), input); // This is not a range, so : is allowed as fill character.
51 check(SV(" 0x0"), SV("{:{}}"), input, 7);
52 check(SV("0x0****"), SV("{:*<{}}"), input, 7);
53 check(SV("__0x0__"), SV("{:_^{}}"), input, 7);
54 check(SV("####0x0"), SV("{:#>{}}"), input, 7);
58 check_exception("The format string contains an invalid escape sequence", SV("{:}<}"), input);
59 check_exception("The fill option contains an invalid value", SV("{:{<}"), input);
62 check_exception("The replacement field misses a terminating '}'", SV("{:-}"), input);
63 check_exception("The replacement field misses a terminating '}'", SV("{:+}"), input);
64 check_exception("The replacement field misses a terminating '}'", SV("{: }"), input);
67 check_exception("The replacement field misses a terminating '}'", SV("{:#}"), input);
70 check_exception("The width option should not have a leading zero", SV("{:0}"), input);
73 check_exception("The replacement field misses a terminating '}'", SV("{:.}"), input);
76 check_exception("The replacement field misses a terminating '}'", SV("{:L}"), input);
80 check_exception("The replacement field misses a terminating '}'", fmt, input);