Lines Matching refs:cmp
498 int64_t cmp; in hists__findnew_entry() local
514 cmp = hist_entry__cmp(he, entry); in hists__findnew_entry()
516 if (!cmp) { in hists__findnew_entry()
543 if (cmp < 0) in hists__findnew_entry()
1076 int64_t cmp = 0; in hist_entry__cmp() local
1083 cmp = fmt->cmp(fmt, left, right); in hist_entry__cmp()
1084 if (cmp) in hist_entry__cmp()
1088 return cmp; in hist_entry__cmp()
1096 int64_t cmp = 0; in hist_entry__collapse() local
1103 cmp = fmt->collapse(fmt, left, right); in hist_entry__collapse()
1104 if (cmp) in hist_entry__collapse()
1108 return cmp; in hist_entry__collapse()
1271 int64_t cmp; in hierarchy_insert_entry() local
1277 cmp = 0; in hierarchy_insert_entry()
1279 cmp = fmt->collapse(fmt, iter, he); in hierarchy_insert_entry()
1280 if (cmp) in hierarchy_insert_entry()
1284 if (!cmp) { in hierarchy_insert_entry()
1289 if (cmp < 0) in hierarchy_insert_entry()
1383 int64_t cmp; in hists__collapse_insert_entry() local
1392 cmp = hist_entry__collapse(iter, he); in hists__collapse_insert_entry()
1394 if (!cmp) { in hists__collapse_insert_entry()
1412 if (cmp < 0) in hists__collapse_insert_entry()
1492 int64_t cmp = 0; in hist_entry__sort() local
1498 cmp = fmt->sort(fmt, a, b); in hist_entry__sort()
1499 if (cmp) in hist_entry__sort()
1503 return cmp; in hist_entry__sort()
2124 int64_t cmp; in hists__add_dummy_entry() local
2137 cmp = hist_entry__collapse(he, pair); in hists__add_dummy_entry()
2139 if (!cmp) in hists__add_dummy_entry()
2142 if (cmp < 0) in hists__add_dummy_entry()
2174 int64_t cmp = 0; in add_dummy_hierarchy_entry() local
2180 cmp = fmt->collapse(fmt, he, pair); in add_dummy_hierarchy_entry()
2181 if (cmp) in add_dummy_hierarchy_entry()
2184 if (!cmp) in add_dummy_hierarchy_entry()
2187 if (cmp < 0) in add_dummy_hierarchy_entry()
2219 int64_t cmp = hist_entry__collapse(iter, he); in hists__find_entry() local
2221 if (cmp < 0) in hists__find_entry()
2223 else if (cmp > 0) in hists__find_entry()
2240 int64_t cmp = 0; in hists__find_hierarchy_entry() local
2244 cmp = fmt->collapse(fmt, iter, he); in hists__find_hierarchy_entry()
2245 if (cmp) in hists__find_hierarchy_entry()
2249 if (cmp < 0) in hists__find_hierarchy_entry()
2251 else if (cmp > 0) in hists__find_hierarchy_entry()