Lines Matching refs:fmt
36 int xavsprintf_append(char **strp, const char *fmt, va_list ap) in xavsprintf_append() argument
47 n = vsnprintf(NULL, 0, fmt, ap_copy) + 1; in xavsprintf_append()
52 n = vsnprintf(p + size, n, fmt, ap); in xavsprintf_append()
58 int xasprintf_append(char **strp, const char *fmt, ...) in xasprintf_append() argument
63 va_start(ap, fmt); in xasprintf_append()
64 n = xavsprintf_append(strp, fmt, ap); in xasprintf_append()
70 int xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument
77 va_start(ap, fmt); in xasprintf()
78 n = xavsprintf_append(strp, fmt, ap); in xasprintf()
334 int utilfdt_decode_type(const char *fmt, int *type, int *size) in utilfdt_decode_type() argument
338 if (!*fmt) in utilfdt_decode_type()
343 if (strchr("hlLb", *fmt)) { in utilfdt_decode_type()
344 qualifier = *fmt++; in utilfdt_decode_type()
345 if (qualifier == *fmt) { in utilfdt_decode_type()
346 switch (*fmt++) { in utilfdt_decode_type()
356 if ((*fmt == '\0') || !strchr("iuxs", *fmt)) in utilfdt_decode_type()
360 if (*fmt != 's') in utilfdt_decode_type()
364 *type = *fmt++; in utilfdt_decode_type()
367 if (*fmt) in utilfdt_decode_type()