Lines Matching defs:fmt
1207 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...)
1214 va_start(args, fmt);
1221 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent);
1234 hist_browser__hpp_color_##_type(struct perf_hpp_fmt *fmt, \
1238 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1249 hist_browser__hpp_color_##_type(struct perf_hpp_fmt *fmt, \
1255 int len = fmt->user_len ?: fmt->len; \
1262 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
1305 struct perf_hpp_fmt *fmt;
1327 hists__for_each_format(browser->hists, fmt) {
1335 if (perf_hpp__should_skip(fmt, entry->hists) ||
1358 if (fmt->color) {
1359 int ret = fmt->color(fmt, &hpp, entry);
1360 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1362 * fmt->color() already used ui_browser to
1367 hist_entry__snprintf_alignment(entry, &hpp, fmt, fmt->entry(fmt, &hpp, entry));
1411 struct perf_hpp_fmt *fmt;
1447 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1455 if (perf_hpp__should_skip(fmt, entry->hists) ||
1476 if (fmt->color) {
1477 int ret = fmt->color(fmt, &hpp, entry);
1478 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1480 * fmt->color() already used ui_browser to
1485 int ret = fmt->entry(fmt, &hpp, entry);
1486 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1513 perf_hpp_list__for_each_format(entry->hpp_list, fmt) {
1525 * since this fmt is always the last column in the
1528 if (fmt->color) {
1529 width -= fmt->color(fmt, &hpp, entry);
1533 width -= fmt->entry(fmt, &hpp, entry);
1574 struct perf_hpp_fmt *fmt;
1596 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1597 if (perf_hpp__should_skip(fmt, browser->hists) ||
1601 ret = fmt->width(fmt, NULL, browser->hists);
1650 struct perf_hpp_fmt *fmt;
1661 hists__for_each_format(browser->hists, fmt) {
1662 if (perf_hpp__should_skip(fmt, hists) || column++ < browser->b.horiz_scroll)
1665 ret = fmt->header(fmt, &dummy_hpp, hists, line, &span);
1687 struct perf_hpp_fmt *fmt;
1702 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1706 ret = fmt->header(fmt, &dummy_hpp, hists, 0, NULL);
1734 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1737 if (perf_hpp__should_skip(fmt, hists))
1747 ret = fmt->header(fmt, &dummy_hpp, hists, 0, NULL);
2059 struct perf_hpp_fmt *fmt;
2068 hists__for_each_format(browser->hists, fmt) {
2069 if (perf_hpp__should_skip(fmt, he->hists))
2078 ret = fmt->entry(fmt, &hpp, he);
2079 ret = hist_entry__snprintf_alignment(he, &hpp, fmt, ret);
2102 struct perf_hpp_fmt *fmt;
2116 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
2123 ret = fmt->entry(fmt, &hpp, he);
2130 perf_hpp_list__for_each_format(he->hpp_list, fmt) {
2134 ret = fmt->entry(fmt, &hpp, he);
2210 struct perf_hpp_fmt *fmt;
2226 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt)
2232 hists__for_each_format(hists, fmt)