Lines Matching refs:hpp

1208 int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...)
1210 struct hpp_arg *arg = hpp->ptr;
1222 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent);
1223 ui_browser__printf(arg->b, "%s", hpp->buf);
1236 struct perf_hpp *hpp, \
1239 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
1251 struct perf_hpp *hpp, \
1255 struct hpp_arg *arg = hpp->ptr; \
1257 int ret = scnprintf(hpp->buf, hpp->size, \
1259 ui_browser__printf(arg->b, "%s", hpp->buf); \
1263 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
1330 struct perf_hpp hpp = {
1360 int ret = fmt->color(fmt, &hpp, entry);
1361 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1368 hist_entry__snprintf_alignment(entry, &hpp, fmt, fmt->entry(fmt, &hpp, entry));
1371 width -= hpp.buf - s;
1448 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1450 struct perf_hpp hpp = {
1478 int ret = fmt->color(fmt, &hpp, entry);
1479 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1486 int ret = fmt->entry(fmt, &hpp, entry);
1487 hist_entry__snprintf_alignment(entry, &hpp, fmt, ret);
1490 width -= hpp.buf - s;
1500 struct perf_hpp hpp = {
1530 width -= fmt->color(fmt, &hpp, entry);
1534 width -= fmt->entry(fmt, &hpp, entry);
1597 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1636 static int advance_hpp_check(struct perf_hpp *hpp, int inc)
1638 advance_hpp(hpp, inc);
1639 return hpp->size <= 0;
1703 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
1735 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
2056 struct perf_hpp hpp = {
2074 ret = scnprintf(hpp.buf, hpp.size, " ");
2075 advance_hpp(&hpp, ret);
2079 ret = fmt->entry(fmt, &hpp, he);
2080 ret = hist_entry__snprintf_alignment(he, &hpp, fmt, ret);
2081 advance_hpp(&hpp, ret);
2099 struct perf_hpp hpp = {
2117 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt) {
2119 ret = scnprintf(hpp.buf, hpp.size, " ");
2120 advance_hpp(&hpp, ret);
2124 ret = fmt->entry(fmt, &hpp, he);
2125 advance_hpp(&hpp, ret);
2128 ret = scnprintf(hpp.buf, hpp.size, "%*s", hierarchy_indent, "");
2129 advance_hpp(&hpp, ret);
2132 ret = scnprintf(hpp.buf, hpp.size, " ");
2133 advance_hpp(&hpp, ret);
2135 ret = fmt->entry(fmt, &hpp, he);
2136 advance_hpp(&hpp, ret);
2227 perf_hpp_list__for_each_format(&fmt_node->hpp, fmt)