Lines Matching refs:sym_r
300 int64_t _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r) in _sort__sym_cmp() argument
302 if (!sym_l || !sym_r) in _sort__sym_cmp()
303 return cmp_null(sym_l, sym_r); in _sort__sym_cmp()
305 if (sym_l == sym_r) in _sort__sym_cmp()
308 if (sym_l->inlined || sym_r->inlined) { in _sort__sym_cmp()
309 int ret = strcmp(sym_l->name, sym_r->name); in _sort__sym_cmp()
313 if ((sym_l->start <= sym_r->end) && (sym_l->end >= sym_r->start)) in _sort__sym_cmp()
317 if (sym_l->start != sym_r->start) in _sort__sym_cmp()
318 return (int64_t)(sym_r->start - sym_l->start); in _sort__sym_cmp()
320 return (int64_t)(sym_r->end - sym_l->end); in _sort__sym_cmp()
708 struct symbol *sym_r = right->parent; in sort__parent_cmp() local
710 if (!sym_l || !sym_r) in sort__parent_cmp()
711 return cmp_null(sym_l, sym_r); in sort__parent_cmp()
713 return strcmp(sym_r->name, sym_l->name); in sort__parent_cmp()
2021 static int64_t _sort__sym_size_cmp(struct symbol *sym_l, struct symbol *sym_r) in _sort__sym_size_cmp() argument
2024 int64_t size_r = sym_r != NULL ? symbol__size(sym_r) : 0; in _sort__sym_size_cmp()