Lines Matching refs:fmt
47 int xavsprintf_append(char **strp, const char *fmt, va_list ap) in xavsprintf_append() argument
58 n = vsnprintf(NULL, 0, fmt, ap_copy) + 1; in xavsprintf_append()
63 n = vsnprintf(p + size, n, fmt, ap); in xavsprintf_append()
69 int xasprintf_append(char **strp, const char *fmt, ...) in xasprintf_append() argument
74 va_start(ap, fmt); in xasprintf_append()
75 n = xavsprintf_append(strp, fmt, ap); in xasprintf_append()
81 int xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument
88 va_start(ap, fmt); in xasprintf()
89 n = xavsprintf_append(strp, fmt, ap); in xasprintf()
345 int utilfdt_decode_type(const char *fmt, int *type, int *size) in utilfdt_decode_type() argument
349 if (!*fmt) in utilfdt_decode_type()
354 if (strchr("hlLb", *fmt)) { in utilfdt_decode_type()
355 qualifier = *fmt++; in utilfdt_decode_type()
356 if (qualifier == *fmt) { in utilfdt_decode_type()
357 switch (*fmt++) { in utilfdt_decode_type()
367 if ((*fmt == '\0') || !strchr("iuxsr", *fmt)) in utilfdt_decode_type()
371 if (*fmt != 's' && *fmt != 'r') in utilfdt_decode_type()
375 *type = *fmt++; in utilfdt_decode_type()
378 if (*fmt) in utilfdt_decode_type()