Lines Matching defs:fmt
129 } else if (strcmp(attr[i], "fmt") == 0) {
130 entry->fmt = strdup(attr[i+1]);
238 sbuf_printf(sb, "%*sname: %s, value: %s, fmt: %s, size: %zd, "
240 entry->value, entry->fmt, entry->size, entry->var_type,
368 free(entry->fmt);
393 mt_entry_sbuf(struct sbuf *sb, struct mt_status_entry *entry, char *fmt)
397 if (fmt != NULL)
398 sbuf_printf(sb, fmt, (intmax_t)entry->value_signed);
404 if (fmt != NULL)
405 sbuf_printf(sb, fmt, (uintmax_t)entry->value_unsigned);
411 if (fmt != NULL)
412 sbuf_printf(sb, fmt, entry->value);