Home
last modified time | relevance | path

Searched refs:FMT_STRING (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/lib/fmt/test/
H A Denforce-checks-test.cc20 fmt::format(FMT_STRING("{}"), 42); in test_format_api()
21 fmt::format(FMT_STRING(L"{}"), 42); in test_format_api()
22 fmt::format(FMT_STRING("noop")); in test_format_api()
28 fmt::format_to(std::back_inserter(out), FMT_STRING("{}"), 42); in test_format_api()
31 fmt::format_to_n(buffer, 3, FMT_STRING("{}"), 12345); in test_format_api()
34 fmt::format_to_n(wbuffer, 3, FMT_STRING(L"{}"), 12345); in test_format_api()
38 fmt::format(FMT_STRING("{}"), std::chrono::seconds(42)); in test_chrono()
39 fmt::format(FMT_STRING(L"{}"), std::chrono::seconds(42)); in test_chrono()
43 fmt::print(fg(fmt::rgb(255, 20, 30)), FMT_STRING("{}"), "rgb(255,20,30)"); in test_text_style()
49 FMT_STRING("rgb(255,20,30){}{}{}"), 1, 2, 3); in test_text_style()
[all …]
/dports/devel/libfmt/fmt-8.0.1/test/
H A Denforce-checks-test.cc20 fmt::format(FMT_STRING("{}"), 42); in test_format_api()
21 fmt::format(FMT_STRING(L"{}"), 42); in test_format_api()
22 fmt::format(FMT_STRING("noop")); in test_format_api()
28 fmt::format_to(std::back_inserter(out), FMT_STRING("{}"), 42); in test_format_api()
31 fmt::format_to_n(buffer, 3, FMT_STRING("{}"), 12345); in test_format_api()
34 fmt::format_to_n(wbuffer, 3, FMT_STRING(L"{}"), 12345); in test_format_api()
38 fmt::format(FMT_STRING("{}"), std::chrono::seconds(42)); in test_chrono()
39 fmt::format(FMT_STRING(L"{}"), std::chrono::seconds(42)); in test_chrono()
43 fmt::print(fg(fmt::rgb(255, 20, 30)), FMT_STRING("{}"), "rgb(255,20,30)"); in test_text_style()
49 FMT_STRING("rgb(255,20,30){}{}{}"), 1, 2, 3); in test_text_style()
[all …]
/dports/emulators/yuzu/yuzu-0b47f7a46/externals/dynarmic/externals/fmt/test/
H A Dcompile-test.cc51 check_prepared_parts_type<1u>(FMT_STRING("text")); in TEST()
52 check_prepared_parts_type<1u>(FMT_STRING("{}")); in TEST()
53 check_prepared_parts_type<2u>(FMT_STRING("text{}")); in TEST()
54 check_prepared_parts_type<2u>(FMT_STRING("{}text")); in TEST()
55 check_prepared_parts_type<3u>(FMT_STRING("text{}text")); in TEST()
56 check_prepared_parts_type<3u>(FMT_STRING("{:{}.{}} {:{}}")); in TEST()
59 check_prepared_parts_type<2u>(FMT_STRING("text{{")); // 'text', '{' in TEST()
61 check_prepared_parts_type<2u>(FMT_STRING("}}text")); // '}', text in TEST()
64 FMT_STRING("text{{}}text")); // 'text', '{', '}', 'text' in TEST()
77 const auto prepared = fmt::compile<int>(FMT_STRING("test {}")); in TEST()
[all …]
/dports/emulators/citra-qt5/citra-ac98458e0/externals/dynarmic/externals/fmt/test/
H A Dcompile-test.cc51 check_prepared_parts_type<1u>(FMT_STRING("text")); in TEST()
52 check_prepared_parts_type<1u>(FMT_STRING("{}")); in TEST()
53 check_prepared_parts_type<2u>(FMT_STRING("text{}")); in TEST()
54 check_prepared_parts_type<2u>(FMT_STRING("{}text")); in TEST()
55 check_prepared_parts_type<3u>(FMT_STRING("text{}text")); in TEST()
56 check_prepared_parts_type<3u>(FMT_STRING("{:{}.{}} {:{}}")); in TEST()
59 check_prepared_parts_type<2u>(FMT_STRING("text{{")); // 'text', '{' in TEST()
61 check_prepared_parts_type<2u>(FMT_STRING("}}text")); // '}', text in TEST()
64 FMT_STRING("text{{}}text")); // 'text', '{', '}', 'text' in TEST()
77 const auto prepared = fmt::compile<int>(FMT_STRING("test {}")); in TEST()
[all …]
/dports/emulators/citra/citra-ac98458e0/externals/dynarmic/externals/fmt/test/
H A Dcompile-test.cc51 check_prepared_parts_type<1u>(FMT_STRING("text")); in TEST()
52 check_prepared_parts_type<1u>(FMT_STRING("{}")); in TEST()
53 check_prepared_parts_type<2u>(FMT_STRING("text{}")); in TEST()
54 check_prepared_parts_type<2u>(FMT_STRING("{}text")); in TEST()
55 check_prepared_parts_type<3u>(FMT_STRING("text{}text")); in TEST()
56 check_prepared_parts_type<3u>(FMT_STRING("{:{}.{}} {:{}}")); in TEST()
59 check_prepared_parts_type<2u>(FMT_STRING("text{{")); // 'text', '{' in TEST()
61 check_prepared_parts_type<2u>(FMT_STRING("}}text")); // '}', text in TEST()
64 FMT_STRING("text{{}}text")); // 'text', '{', '}', 'text' in TEST()
77 const auto prepared = fmt::compile<int>(FMT_STRING("test {}")); in TEST()
[all …]
/dports/emulators/citra-qt5/citra-ac98458e0/externals/fmt/test/
H A Dcompile-test.cc35 check_prepared_parts_type<1u>(FMT_STRING("text")); in TEST()
36 check_prepared_parts_type<1u>(FMT_STRING("{}")); in TEST()
37 check_prepared_parts_type<2u>(FMT_STRING("text{}")); in TEST()
38 check_prepared_parts_type<2u>(FMT_STRING("{}text")); in TEST()
39 check_prepared_parts_type<3u>(FMT_STRING("text{}text")); in TEST()
40 check_prepared_parts_type<3u>(FMT_STRING("{:{}.{}} {:{}}")); in TEST()
43 check_prepared_parts_type<2u>(FMT_STRING("text{{")); // 'text', '{' in TEST()
44 check_prepared_parts_type<3u>(FMT_STRING("text{{ ")); // 'text', '{', ' ' in TEST()
45 check_prepared_parts_type<2u>(FMT_STRING("}}text")); // '}', text in TEST()
46 check_prepared_parts_type<2u>(FMT_STRING("text}}text")); // 'text}', 'text' in TEST()
[all …]
/dports/emulators/citra/citra-ac98458e0/externals/fmt/test/
H A Dcompile-test.cc35 check_prepared_parts_type<1u>(FMT_STRING("text")); in TEST()
36 check_prepared_parts_type<1u>(FMT_STRING("{}")); in TEST()
37 check_prepared_parts_type<2u>(FMT_STRING("text{}")); in TEST()
38 check_prepared_parts_type<2u>(FMT_STRING("{}text")); in TEST()
39 check_prepared_parts_type<3u>(FMT_STRING("text{}text")); in TEST()
40 check_prepared_parts_type<3u>(FMT_STRING("{:{}.{}} {:{}}")); in TEST()
43 check_prepared_parts_type<2u>(FMT_STRING("text{{")); // 'text', '{' in TEST()
44 check_prepared_parts_type<3u>(FMT_STRING("text{{ ")); // 'text', '{', ' ' in TEST()
45 check_prepared_parts_type<2u>(FMT_STRING("}}text")); // '}', text in TEST()
46 check_prepared_parts_type<2u>(FMT_STRING("text}}text")); // 'text}', 'text' in TEST()
[all …]
/dports/audio/musicpd/mpd-0.23.6/src/
H A DSongPrint.cxx48 r.Fmt(FMT_STRING(SONG_FILE "{}\n"), uri); in song_print_uri()
55 r.Fmt(FMT_STRING(SONG_FILE "{}/{}\n"), in song_print_uri()
74 r.Fmt(FMT_STRING("Range: {}.{:03}-{}.{:03}\n"), in PrintRange()
80 r.Fmt(FMT_STRING("Range: {}.{:03}-\n"), in PrintRange()
96 r.Fmt(FMT_STRING("Format: {}\n"), ToString(song.audio_format)); in song_print_info()
102 r.Fmt(FMT_STRING("Time: {}\n" in song_print_info()
119 r.Fmt(FMT_STRING("Format: {}\n"), ToString(f)); in song_print_info()
125 r.Fmt(FMT_STRING("Time: {}\n" in song_print_info()
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c317 #define FMT_STRING "hello %i world" /* { dg-line test_macro_3_macro_line } */ in test_macro_3() macro
319 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
336 #undef FMT_STRING in test_macro_3()
341 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
342 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
358 #undef FMT_STRING in test_macro_4()
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c317 #define FMT_STRING "hello %i world" /* { dg-line test_macro_3_macro_line } */ in test_macro_3() macro
319 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
336 #undef FMT_STRING in test_macro_3()
341 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
342 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
358 #undef FMT_STRING in test_macro_4()
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c270 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_3() macro
271 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
280 #undef FMT_STRING in test_macro_3()
285 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
286 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
300 #undef FMT_STRING in test_macro_4()
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c317 #define FMT_STRING "hello %i world" /* { dg-line test_macro_3_macro_line } */ in test_macro_3() macro
319 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
336 #undef FMT_STRING in test_macro_3()
341 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
342 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
358 #undef FMT_STRING in test_macro_4()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c270 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_3() macro
271 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
280 #undef FMT_STRING in test_macro_3()
285 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
286 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
300 #undef FMT_STRING in test_macro_4()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c270 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_3() macro
271 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
280 #undef FMT_STRING in test_macro_3()
285 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
286 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
300 #undef FMT_STRING in test_macro_4()
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c317 #define FMT_STRING "hello %i world" /* { dg-line test_macro_3_macro_line } */ in test_macro_3() macro
319 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
336 #undef FMT_STRING in test_macro_3()
341 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
342 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
358 #undef FMT_STRING in test_macro_4()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c270 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_3() macro
271 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
280 #undef FMT_STRING in test_macro_3()
285 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
286 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
300 #undef FMT_STRING in test_macro_4()
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c317 #define FMT_STRING "hello %i world" /* { dg-line test_macro_3_macro_line } */ in test_macro_3() macro
319 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
336 #undef FMT_STRING in test_macro_3()
341 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
342 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
358 #undef FMT_STRING in test_macro_4()
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c317 #define FMT_STRING "hello %i world" /* { dg-line test_macro_3_macro_line } */ in test_macro_3() macro
319 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
336 #undef FMT_STRING in test_macro_3()
341 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
342 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
358 #undef FMT_STRING in test_macro_4()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c270 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_3() macro
271 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
280 #undef FMT_STRING in test_macro_3()
285 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
286 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
300 #undef FMT_STRING in test_macro_4()
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c317 #define FMT_STRING "hello %i world" /* { dg-line test_macro_3_macro_line } */ in test_macro_3() macro
319 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
336 #undef FMT_STRING in test_macro_3()
341 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
342 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
358 #undef FMT_STRING in test_macro_4()
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c317 #define FMT_STRING "hello %i world" /* { dg-line test_macro_3_macro_line } */ in test_macro_3() macro
319 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
336 #undef FMT_STRING in test_macro_3()
341 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
342 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
358 #undef FMT_STRING in test_macro_4()
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c270 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_3() macro
271 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
280 #undef FMT_STRING in test_macro_3()
285 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
286 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
300 #undef FMT_STRING in test_macro_4()
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c317 #define FMT_STRING "hello %i world" /* { dg-line test_macro_3_macro_line } */ in test_macro_3() macro
319 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
336 #undef FMT_STRING in test_macro_3()
341 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
342 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
358 #undef FMT_STRING in test_macro_4()
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/format/
H A Ddiagnostic-ranges.c317 #define FMT_STRING "hello %i world" /* { dg-line test_macro_3_macro_line } */ in test_macro_3() macro
319 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
336 #undef FMT_STRING in test_macro_3()
341 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
342 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
358 #undef FMT_STRING in test_macro_4()
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/g++.dg/warn/
H A DWformat-ranges.C306 #define FMT_STRING "hello %i world" // { dg-line test_macro_3_macro_line } in test_macro_3() macro
308 printf(FMT_STRING, msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_3()
325 #undef FMT_STRING in test_macro_3()
330 #define FMT_STRING "hello %i world" /* { dg-warning "20: format '%i' expects argument of type 'int'… in test_macro_4() macro
331 printf(FMT_STRING "\n", msg); /* { dg-message "10: in expansion of macro 'FMT_STRING" } */ in test_macro_4()
347 #undef FMT_STRING in test_macro_4()

12345678910>>...14