Lines Matching refs:sym_l
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()
707 struct symbol *sym_l = left->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
2023 int64_t size_l = sym_l != NULL ? symbol__size(sym_l) : 0; in _sort__sym_size_cmp()