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