| 1112 | } |
| 1113 | |
| 1114 | ATTRIBUTE_PURE |
| 1115 | static size_t |
| 1116 | format_code_offset (char const *directive) |
| 1117 | { |
| 1118 | size_t len = strspn (directive + 1, printf_flags); |
| 1119 | char const *fmt_char = directive + len + 1; |
| 1120 | fmt_char += strspn (fmt_char, digits); |
| 1121 | if (*fmt_char == '.') |
| 1122 | fmt_char += 1 + strspn (fmt_char + 1, digits); |
| 1123 | return fmt_char - directive; |
| 1124 | } |
| 1125 | |
| 1126 | /* Print the information specified by the format string, FORMAT, |
| 1127 | calling PRINT_FUNC for each %-directive encountered. |
no outgoing calls
no test coverage detected