Lines Matching refs:dfmt

510 	struct diff_hpp_fmt *dfmt = container_of(fmt, struct diff_hpp_fmt, fmt);
511 void *ptr = dfmt - dfmt->idx;
532 get_pair_fmt(struct hist_entry *he, struct diff_hpp_fmt *dfmt)
534 struct data__file *d = fmt_to_data_file(&dfmt->fmt);
1323 struct diff_hpp_fmt *dfmt =
1329 scnprintf(pfmt, 20, "%%%d.2f%%%%", dfmt->header_width - 1);
1334 dfmt->header_width, pfmt);
1397 struct diff_hpp_fmt *dfmt =
1399 struct hist_entry *pair = get_pair_fmt(he, dfmt);
1423 scnprintf(pfmt, 20, "%%%+d.2f%%%%", dfmt->header_width - 1);
1434 scnprintf(pfmt, 20, "%%%d.6f", dfmt->header_width);
1445 scnprintf(pfmt, 20, "%%14ld", dfmt->header_width);
1450 return cycles_printf(he, pair, hpp, dfmt->header_width);
1456 dfmt->header_width, "N/A");
1459 dfmt->header_width, pfmt);
1516 struct diff_hpp_fmt *dfmt =
1518 struct hist_entry *pair = get_pair_fmt(he, dfmt);
1555 dfmt->header_width, buf);
1567 dfmt->header_width, " ");
1648 __hpp__entry_global(struct hist_entry *he, struct diff_hpp_fmt *dfmt,
1651 struct hist_entry *pair = get_pair_fmt(he, dfmt);
1652 int idx = dfmt->idx;
1668 struct diff_hpp_fmt *dfmt =
1672 __hpp__entry_global(he, dfmt, buf, MAX_COL_WIDTH);
1678 dfmt->header_width, buf);
1686 struct diff_hpp_fmt *dfmt =
1689 BUG_ON(!dfmt->header);
1690 return scnprintf(hpp->buf, hpp->size, dfmt->header);
1697 struct diff_hpp_fmt *dfmt =
1700 BUG_ON(dfmt->header_width <= 0);
1701 return dfmt->header_width;
1704 static void init_header(struct data__file *d, struct diff_hpp_fmt *dfmt)
1712 BUG_ON(dfmt->idx >= PERF_HPP_DIFF__MAX_INDEX);
1713 header = columns[dfmt->idx].name;
1714 width = columns[dfmt->idx].width;
1723 dfmt->header_width = width;
1725 if (dfmt->header_width < width)
1726 dfmt->header_width = width;
1729 dfmt->header_width, NAME);
1731 dfmt->header = strdup(buf_indent);
1738 struct diff_hpp_fmt *dfmt = &d->fmt[idx];
1739 struct perf_hpp_fmt *fmt = &dfmt->fmt;
1741 dfmt->idx = idx;
1784 init_header(d, dfmt);