Lines Matching refs:sym_r
184 static int64_t _sort__sym_cmp(struct symbol *sym_l, struct symbol *sym_r) in _sort__sym_cmp() argument
186 if (!sym_l || !sym_r) in _sort__sym_cmp()
187 return cmp_null(sym_l, sym_r); in _sort__sym_cmp()
189 if (sym_l == sym_r) in _sort__sym_cmp()
192 if (sym_l->start != sym_r->start) in _sort__sym_cmp()
193 return (int64_t)(sym_r->start - sym_l->start); in _sort__sym_cmp()
195 return (int64_t)(sym_r->end - sym_l->end); in _sort__sym_cmp()
382 struct symbol *sym_r = right->parent; in sort__parent_cmp() local
384 if (!sym_l || !sym_r) in sort__parent_cmp()
385 return cmp_null(sym_l, sym_r); in sort__parent_cmp()
387 return strcmp(sym_r->name, sym_l->name); in sort__parent_cmp()