Lines Matching refs:locale
46 std::locale loc(std::locale(), new numpunct<char>()); in TEST()
51 std::locale loc(std::locale(), new numpunct<char>()); in TEST()
52 EXPECT_EQ("1234567", fmt::format(std::locale(), "{:L}", 1234567)); in TEST()
62 std::locale no_grouping_loc(std::locale(), new no_grouping<char>()); in TEST()
65 std::locale special_grouping_loc(std::locale(), new special_grouping<char>()); in TEST()
69 std::locale small_grouping_loc(std::locale(), new small_grouping<char>()); in TEST()
75 std::locale special_grouping_loc(std::locale(), new special_grouping<char>()); in TEST()
80 std::locale loc(std::locale(), new numpunct<wchar_t>()); in TEST()
81 EXPECT_EQ(L"1234567", fmt::format(std::locale(), L"{:L}", 1234567)); in TEST()
85 EXPECT_EQ(L"1234567", fmt::format(std::locale("C"), L"{:L}", 1234567)); in TEST()
87 std::locale no_grouping_loc(std::locale(), new no_grouping<wchar_t>()); in TEST()
90 std::locale special_grouping_loc(std::locale(), in TEST()
95 std::locale small_grouping_loc(std::locale(), new small_grouping<wchar_t>()); in TEST()
101 auto loc = std::locale(std::locale(), new special_grouping<char>()); in TEST()
139 auto real = fmt::format(ctx.locale().template get<std::locale>(), in format()
141 auto imag = fmt::format(ctx.locale().template get<std::locale>(), in format()