Lines Matching refs:hpp
670 static int __hpp__slsmg_color_printf(struct perf_hpp *hpp, const char *fmt, ...) in __hpp__slsmg_color_printf() argument
672 struct hpp_arg *arg = hpp->ptr; in __hpp__slsmg_color_printf()
684 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); in __hpp__slsmg_color_printf()
685 ui_browser__printf(arg->b, "%s", hpp->buf); in __hpp__slsmg_color_printf()
687 advance_hpp(hpp, ret); in __hpp__slsmg_color_printf()
699 struct perf_hpp *hpp, \
702 return hpp__fmt(fmt, hpp, he, __hpp_get_##_field, " %*.2f%%", \
714 struct perf_hpp *hpp, \
718 struct hpp_arg *arg = hpp->ptr; \
720 int ret = scnprintf(hpp->buf, hpp->size, \
722 ui_browser__printf(arg->b, "%s", hpp->buf); \
726 return hpp__fmt(fmt, hpp, he, __hpp_get_acc_##_field, \
785 struct perf_hpp hpp = { in hist_browser__show_entry() local
818 width -= fmt->color(fmt, &hpp, entry); in hist_browser__show_entry()
820 width -= fmt->entry(fmt, &hpp, entry); in hist_browser__show_entry()
862 static int advance_hpp_check(struct perf_hpp *hpp, int inc) in advance_hpp_check() argument
864 advance_hpp(hpp, inc); in advance_hpp_check()
865 return hpp->size <= 0; in advance_hpp_check()
1141 struct perf_hpp hpp = { in hist_browser__fprintf_entry() local
1160 ret = scnprintf(hpp.buf, hpp.size, " "); in hist_browser__fprintf_entry()
1161 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()
1165 ret = fmt->entry(fmt, &hpp, he); in hist_browser__fprintf_entry()
1166 advance_hpp(&hpp, ret); in hist_browser__fprintf_entry()