Searched refs:parse_specs (Results 1 – 2 of 2) sorted by relevance
/external/fmtlib/test/ |
D | format-test.cc | 2168 FMT_CONSTEXPR fmt::format_specs parse_specs(const char (&s)[N]) { in parse_specs() function 2179 static_assert(parse_specs("<").align == fmt::align::left, ""); in TEST() 2180 static_assert(parse_specs("*^").fill[0] == '*', ""); in TEST() 2181 static_assert(parse_specs("+").sign == fmt::sign::plus, ""); in TEST() 2182 static_assert(parse_specs("-").sign == fmt::sign::minus, ""); in TEST() 2183 static_assert(parse_specs(" ").sign == fmt::sign::space, ""); in TEST() 2184 static_assert(parse_specs("#").alt, ""); in TEST() 2185 static_assert(parse_specs("0").align == fmt::align::numeric, ""); in TEST() 2186 static_assert(parse_specs("42").width == 42, ""); in TEST() 2187 static_assert(parse_specs("{}").width == 11, ""); in TEST() [all …]
|
/external/fmtlib/include/fmt/ |
D | compile.h | 512 constexpr parse_specs_result<T, Char> parse_specs(basic_string_view<Char> str, 538 constexpr auto result = parse_specs<type>(str, POS + 2, ID);
|