Lines Matching refs:se
184 struct sort_entry *se; in hist_entry__cmp() local
187 list_for_each_entry(se, &hist_entry__sort_list, list) { in hist_entry__cmp()
188 cmp = se->se_cmp(left, right); in hist_entry__cmp()
199 struct sort_entry *se; in hist_entry__collapse() local
202 list_for_each_entry(se, &hist_entry__sort_list, list) { in hist_entry__collapse()
205 f = se->se_collapse ?: se->se_cmp; in hist_entry__collapse()
601 struct sort_entry *se; in hist_entry__snprintf() local
700 list_for_each_entry(se, &hist_entry__sort_list, list) { in hist_entry__snprintf()
701 if (se->elide) in hist_entry__snprintf()
705 ret += se->se_snprintf(self, s + ret, size - ret, in hist_entry__snprintf()
706 hists__col_len(hists, se->se_width_idx)); in hist_entry__snprintf()
730 struct sort_entry *se = list_first_entry(&hist_entry__sort_list, in hist_entry__fprintf_callchain() local
731 typeof(*se), list); in hist_entry__fprintf_callchain()
732 left_margin = hists__col_len(hists, se->se_width_idx); in hist_entry__fprintf_callchain()
743 struct sort_entry *se; in hists__fprintf() local
795 list_for_each_entry(se, &hist_entry__sort_list, list) { in hists__fprintf()
796 if (se->elide) in hists__fprintf()
799 fprintf(fp, "%c%s", *sep, se->se_header); in hists__fprintf()
802 width = strlen(se->se_header); in hists__fprintf()
805 hists__set_col_len(self, se->se_width_idx, in hists__fprintf()
812 if (!hists__new_col_len(self, se->se_width_idx, width)) in hists__fprintf()
813 width = hists__col_len(self, se->se_width_idx); in hists__fprintf()
814 fprintf(fp, " %*s", width, se->se_header); in hists__fprintf()
829 list_for_each_entry(se, &hist_entry__sort_list, list) { in hists__fprintf()
832 if (se->elide) in hists__fprintf()
836 width = hists__col_len(self, se->se_width_idx); in hists__fprintf()
838 width = strlen(se->se_header); in hists__fprintf()
880 struct sort_entry *se; in hists__sort_list_width() local
895 list_for_each_entry(se, &hist_entry__sort_list, list) in hists__sort_list_width()
896 if (!se->elide) in hists__sort_list_width()
897 ret += 2 + hists__col_len(self, se->se_width_idx); in hists__sort_list_width()