Lines Matching defs:section
38 printf_core::FormatSection section;
52 section.has_conv = true;
56 section.precision = -1;
59 section.precision = 0;
65 section.precision += result.value;
70 section.conv_name = format[cur_pos];
75 section.conv_val_raw = cpp::bit_cast<storage_type<double>>(new_fp);
77 section.conv_val_raw = cpp::bit_cast<storage_type<T>>(fp);
85 section.conv_val_raw = cpp::bit_cast<storage_type<T>>(fp);
88 section.has_conv = false;
97 section.has_conv = false;
98 // We are looking for exactly one section, so no more '%'
103 section.raw_string = {format, cur_pos};
104 return section;
109 const printf_core::FormatSection §ion) {
110 if (!section.has_conv)
111 return writer->write(section.raw_string);
113 auto res = static_cast<storage_type<T>>(section.conv_val_raw);
117 return convert_inf_nan(writer, section);
119 switch (section.conv_name) {
122 return convert_float_decimal_typed(writer, section, strfromfloat_bits);
125 return convert_float_dec_exp_typed(writer, section, strfromfloat_bits);
128 return convert_float_hex_exp(writer, section);
131 return convert_float_dec_auto_typed(writer, section, strfromfloat_bits);
133 return writer->write(section.raw_string);