Lines Matching refs:fmt
35 int xavsprintf_append(char **strp, const char *fmt, va_list ap) in xavsprintf_append() argument
46 n = vsnprintf(NULL, 0, fmt, ap_copy) + 1; in xavsprintf_append()
51 n = vsnprintf(p + size, n, fmt, ap); in xavsprintf_append()
57 int xasprintf_append(char **strp, const char *fmt, ...) in xasprintf_append() argument
62 va_start(ap, fmt); in xasprintf_append()
63 n = xavsprintf_append(strp, fmt, ap); in xasprintf_append()
69 int xasprintf(char **strp, const char *fmt, ...) in xasprintf() argument
76 va_start(ap, fmt); in xasprintf()
77 n = xavsprintf_append(strp, fmt, ap); in xasprintf()
333 int utilfdt_decode_type(const char *fmt, int *type, int *size) in utilfdt_decode_type() argument
337 if (!*fmt) in utilfdt_decode_type()
342 if (strchr("hlLb", *fmt)) { in utilfdt_decode_type()
343 qualifier = *fmt++; in utilfdt_decode_type()
344 if (qualifier == *fmt) { in utilfdt_decode_type()
345 switch (*fmt++) { in utilfdt_decode_type()
355 if ((*fmt == '\0') || !strchr("iuxs", *fmt)) in utilfdt_decode_type()
359 if (*fmt != 's') in utilfdt_decode_type()
363 *type = *fmt++; in utilfdt_decode_type()
366 if (*fmt) in utilfdt_decode_type()