Lines Matching refs:fmt
127 etherboot_vsprintf (char *buf, const char *fmt, const int *dp)
132 for ( ; *fmt != '\0'; ++fmt)
134 if (*fmt != '%')
136 buf ? *s++ = *fmt : grub_putchar (*fmt);
140 if (*++fmt == 's')
152 if (*fmt == '#')
155 fmt++;
158 if (*fmt == 'h')
161 fmt++;
164 if (*fmt == 'h')
167 fmt++;
174 if ((*fmt | 0x20) == 'x')
179 int ncase = (*fmt & 0x20);
190 else if (*fmt == 'd')
218 else if (*fmt == '@')
237 else if (*fmt == '!')
247 else if (*fmt == 'c')
250 *q++ = *fmt;
265 etherboot_sprintf (char *buf, const char *fmt, ...)
267 return etherboot_vsprintf (buf, fmt, ((const int *) &fmt) + 1);
271 etherboot_printf (const char *fmt, ...)
273 (void) etherboot_vsprintf (0, fmt, ((const int *) &fmt) + 1);