Lines Matching defs:hpp

1207 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...)
1209 struct hpp_arg *arg = hpp->ptr;
1221 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent);
1222 ui_browser__printf(arg->b, "%s", hpp->buf);
1235 struct perf_hpp *hpp, \
1238 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1250 struct perf_hpp *hpp, \
1254 struct hpp_arg *arg = hpp->ptr; \
1256 int ret = scnprintf(hpp->buf, hpp->size, \
1258 ui_browser__printf(arg->b, "%s", hpp->buf); \
1262 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
1329 struct perf_hpp hpp = {
1359 int ret = fmt->color(fmt, &hpp, entry);
1360 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1367 hist_entry__snprintf_alignment(entry, &hpp, fmt, fmt->entry(fmt, &hpp, entry));
1370 width -= hpp.buf - s;
1447 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1449 struct perf_hpp hpp = {
1477 int ret = fmt->color(fmt, &hpp, entry);
1478 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1485 int ret = fmt->entry(fmt, &hpp, entry);
1486 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1489 width -= hpp.buf - s;
1499 struct perf_hpp hpp = {
1529 width -= fmt->color(fmt, &hpp, entry);
1533 width -= fmt->entry(fmt, &hpp, entry);
1596 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1635 static int advance_hpp_check(struct perf_hpp *hpp, int inc)
1637 advance_hpp(hpp, inc);
1638 return hpp->size <= 0;
1702 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1734 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
2055 struct perf_hpp hpp = {
2073 ret = scnprintf(hpp.buf, hpp.size, " ");
2074 advance_hpp(&hpp, ret);
2078 ret = fmt->entry(fmt, &hpp, he);
2079 ret = hist_entry__snprintf_alignment(he, &hpp, fmt, ret);
2080 advance_hpp(&hpp, ret);
2098 struct perf_hpp hpp = {
2116 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
2118 ret = scnprintf(hpp.buf, hpp.size, " ");
2119 advance_hpp(&hpp, ret);
2123 ret = fmt->entry(fmt, &hpp, he);
2124 advance_hpp(&hpp, ret);
2127 ret = scnprintf(hpp.buf, hpp.size, "%*s", hierarchy_indent, "");
2128 advance_hpp(&hpp, ret);
2131 ret = scnprintf(hpp.buf, hpp.size, " ");
2132 advance_hpp(&hpp, ret);
2134 ret = fmt->entry(fmt, &hpp, he);
2135 advance_hpp(&hpp, ret);
2226 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt)