Lines Matching refs:sym_l
240 int64_t _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r) in _sort__sym_cmp() argument
242 if (!sym_l || !sym_r) in _sort__sym_cmp()
243 return cmp_null(sym_l, sym_r); in _sort__sym_cmp()
245 if (sym_l == sym_r) in _sort__sym_cmp()
248 if (sym_l->inlined || sym_r->inlined) { in _sort__sym_cmp()
249 int ret = strcmp(sym_l->name, sym_r->name); in _sort__sym_cmp()
253 if ((sym_l->start <= sym_r->end) && (sym_l->end >= sym_r->start)) in _sort__sym_cmp()
257 if (sym_l->start != sym_r->start) in _sort__sym_cmp()
258 return (int64_t)(sym_r->start - sym_l->start); in _sort__sym_cmp()
260 return (int64_t)(sym_r->end - sym_l->end); in _sort__sym_cmp()
562 struct symbol *sym_l = left->parent; in sort__parent_cmp() local
565 if (!sym_l || !sym_r) in sort__parent_cmp()
566 return cmp_null(sym_l, sym_r); in sort__parent_cmp()
568 return strcmp(sym_r->name, sym_l->name); in sort__parent_cmp()
1603 static int64_t _sort__sym_size_cmp(struct symbol *sym_l, struct symbol *sym_r) in _sort__sym_size_cmp() argument
1605 int64_t size_l = sym_l != NULL ? symbol__size(sym_l) : 0; in _sort__sym_size_cmp()