Home
last modified time | relevance | path

Searched refs:PrintfTestGeneratorOps (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/pigweed/pw_format/rust/
H A Dpw_format_test_macros_printf_test.rs36 pub enum PrintfTestGeneratorOps { enum
107 PrintfTestGeneratorOps::StringFragment("test ".to_string()), in generate_printf_calls_generator_correctly()
108 PrintfTestGeneratorOps::IntegerConversion { in generate_printf_calls_generator_correctly()
112 PrintfTestGeneratorOps::StringFragment(" ".to_string()), in generate_printf_calls_generator_correctly()
113 PrintfTestGeneratorOps::StringConversion("\"test\"".to_string()), in generate_printf_calls_generator_correctly()
114 PrintfTestGeneratorOps::StringFragment(" ".to_string()), in generate_printf_calls_generator_correctly()
115 PrintfTestGeneratorOps::CharConversion("'c'".to_string()), in generate_printf_calls_generator_correctly()
116 PrintfTestGeneratorOps::StringFragment(" ".to_string()), in generate_printf_calls_generator_correctly()
117 PrintfTestGeneratorOps::UntypedConversion("1 as i32".to_string()), in generate_printf_calls_generator_correctly()
118 PrintfTestGeneratorOps::StringFragment(" ".to_string()), in generate_printf_calls_generator_correctly()
[all …]
H A Dpw_format_test_macros_core_fmt_test.rs35 pub enum PrintfTestGeneratorOps { enum
89 PrintfTestGeneratorOps::StringFragment("test ".to_string()), in generate_printf_calls_generator_correctly()
90 PrintfTestGeneratorOps::UntypedConversion("5 as u32".to_string()), in generate_printf_calls_generator_correctly()
91 PrintfTestGeneratorOps::StringFragment(" ".to_string()), in generate_printf_calls_generator_correctly()
94 PrintfTestGeneratorOps::UntypedConversion("- 5 as i32".to_string()), in generate_printf_calls_generator_correctly()
95 PrintfTestGeneratorOps::Finalize in generate_printf_calls_generator_correctly()
104 PrintfTestGeneratorOps::StringFragment("Test ".to_string()), in generate_printf_translates_field_width_and_leading_zeros_correctly()
105 PrintfTestGeneratorOps::UntypedConversion("0x42 as u32".to_string()), in generate_printf_translates_field_width_and_leading_zeros_correctly()
106 PrintfTestGeneratorOps::StringFragment(" test".to_string()), in generate_printf_translates_field_width_and_leading_zeros_correctly()
107 PrintfTestGeneratorOps::Finalize, in generate_printf_translates_field_width_and_leading_zeros_correctly()
[all …]
H A Dpw_format_test_macros.rs176 use pw_format_test_macros_test::PrintfTestGeneratorOps; in finalize()
180 ops.push(PrintfTestGeneratorOps::Finalize); in finalize()
187 ops.push(PrintfTestGeneratorOps::StringFragment(#string.to_string())); in string_fragment()
195 ops.push(PrintfTestGeneratorOps::IntegerConversion{ in integer_conversion()
206 ops.push(PrintfTestGeneratorOps::StringConversion(#expression.to_string())); in string_conversion()
214 ops.push(PrintfTestGeneratorOps::CharConversion(#expression.to_string())); in char_conversion()
222 ops.push(PrintfTestGeneratorOps::UntypedConversion(#expression.to_string())); in untyped_conversion()
326 use pw_format_test_macros_test::PrintfTestGeneratorOps; in finalize()
329 ops.push(PrintfTestGeneratorOps::Finalize); in finalize()
336 ops.push(PrintfTestGeneratorOps::StringFragment(#string.to_string())); in string_fragment()
[all …]