Lines Matching defs:fmt
1208 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...)
1215 va_start(args, fmt);
1222 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent);
1235 hist_browser__hpp_color_##_type(struct perf_hpp_fmt *fmt, \
1239 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1250 hist_browser__hpp_color_##_type(struct perf_hpp_fmt *fmt, \
1256 int len = fmt->user_len ?: fmt->len; \
1263 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
1306 struct perf_hpp_fmt *fmt;
1328 hists__for_each_format(browser->hists, fmt) {
1336 if (perf_hpp__should_skip(fmt, entry->hists) ||
1359 if (fmt->color) {
1360 int ret = fmt->color(fmt, &hpp, entry);
1361 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1363 * fmt->color() already used ui_browser to
1368 hist_entry__snprintf_alignment(entry, &hpp, fmt, fmt->entry(fmt, &hpp, entry));
1412 struct perf_hpp_fmt *fmt;
1448 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1456 if (perf_hpp__should_skip(fmt, entry->hists) ||
1477 if (fmt->color) {
1478 int ret = fmt->color(fmt, &hpp, entry);
1479 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1481 * fmt->color() already used ui_browser to
1486 int ret = fmt->entry(fmt, &hpp, entry);
1487 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1514 perf_hpp_list__for_each_format(entry->hpp_list, fmt) {
1526 * since this fmt is always the last column in the
1529 if (fmt->color) {
1530 width -= fmt->color(fmt, &hpp, entry);
1534 width -= fmt->entry(fmt, &hpp, entry);
1575 struct perf_hpp_fmt *fmt;
1597 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1598 if (perf_hpp__should_skip(fmt, browser->hists) ||
1602 ret = fmt->width(fmt, NULL, browser->hists);
1651 struct perf_hpp_fmt *fmt;
1662 hists__for_each_format(browser->hists, fmt) {
1663 if (perf_hpp__should_skip(fmt, hists) || column++ < browser->b.horiz_scroll)
1666 ret = fmt->header(fmt, &dummy_hpp, hists, line, &span);
1688 struct perf_hpp_fmt *fmt;
1703 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1707 ret = fmt->header(fmt, &dummy_hpp, hists, 0, NULL);
1735 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1738 if (perf_hpp__should_skip(fmt, hists))
1748 ret = fmt->header(fmt, &dummy_hpp, hists, 0, NULL);
2060 struct perf_hpp_fmt *fmt;
2069 hists__for_each_format(browser->hists, fmt) {
2070 if (perf_hpp__should_skip(fmt, he->hists))
2079 ret = fmt->entry(fmt, &hpp, he);
2080 ret = hist_entry__snprintf_alignment(he, &hpp, fmt, ret);
2103 struct perf_hpp_fmt *fmt;
2117 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
2124 ret = fmt->entry(fmt, &hpp, he);
2131 perf_hpp_list__for_each_format(he->hpp_list, fmt) {
2135 ret = fmt->entry(fmt, &hpp, he);
2211 struct perf_hpp_fmt *fmt;
2227 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt)
2233 hists__for_each_format(hists, fmt)