Lines Matching full:conversion
68 /* Categories of conversion specifiers. */
183 /* Structure capturing all attributes of a conversion
187 * the conversion.
189 struct conversion { struct
234 /** Indicates an a or A conversion specifier. argument
240 /** Conversion specifier category (value from specifier_cat_enum) */
250 * the decimal point in a floating point conversion. argument
259 /** Conversion specifier character */
265 * Valid until conversion begins. argument
287 * Valid after conversion begins.
295 * Valid until conversion begins. argument
304 * Valid after conversion begins.
330 /** Extract C99 conversion specification flags.
332 * @param conv pointer to the conversion being defined.
334 * @param sp pointer to the first character after the % of a conversion
339 static inline const char *extract_flags(struct conversion *conv, in extract_flags()
379 /** Extract a C99 conversion specification width.
381 * @param conv pointer to the conversion being defined.
384 * conversion specification.
388 static inline const char *extract_width(struct conversion *conv, in extract_width()
411 /** Extract a C99 conversion specification precision.
413 * @param conv pointer to the conversion being defined.
416 * conversion specification.
420 static inline const char *extract_prec(struct conversion *conv, in extract_prec()
444 /** Extract a C99 conversion specification length.
446 * @param conv pointer to the conversion being defined.
449 * conversion specification.
453 static inline const char *extract_length(struct conversion *conv, in extract_length()
501 /* Extract a C99 conversion specifier.
506 * @param conv pointer to the conversion being defined.
509 * conversion specification.
513 static inline const char *extract_specifier(struct conversion *conv, in extract_specifier()
539 /* Disable conversion that might produce truncated in extract_specifier()
635 /* Extract the complete C99 conversion specification.
637 * @param conv pointer to the conversion being defined.
639 * @param sp pointer to the % that introduces a conversion specification.
643 static inline const char *extract_conversion(struct conversion *conv, in extract_conversion()
646 *conv = (struct conversion) { in extract_conversion()
650 /* Skip over the opening %. If the conversion specifier is %, in extract_conversion()
791 struct conversion *conv, in encode_uint()
853 * @param conv details about how the conversion is to proceed. Some fields
856 * @param precision the precision for the conversion (generally digits past
870 struct conversion *conv, in encode_float()
1010 struct conversion aconv = { in encode_float()
1309 static inline void store_count(const struct conversion *conv, in store_count()
1414 /* Force union into RAM with conversion state to in z_cbvprintf_impl()
1419 struct conversion conv; in z_cbvprintf_impl()
1425 struct conversion *const conv = &state.conv; in z_cbvprintf_impl()
1486 /* FP conversion requires knowing the precision. */ in z_cbvprintf_impl()
1605 * specification. If the conversion is invalid, or is in z_cbvprintf_impl()