| 1897 | } |
| 1898 | |
| 1899 | static int named_cmp(const void *a, const void *b) { |
| 1900 | const cs_named_t *x = (const cs_named_t *)a; |
| 1901 | const cs_named_t *y = (const cs_named_t *)b; |
| 1902 | int c = named_key_cmp(x, y->scope, y->name, y->arity); |
| 1903 | if (c) { |
| 1904 | return c; |
| 1905 | } |
| 1906 | if (x->owner != y->owner) { |
| 1907 | return x->owner < y->owner ? -1 : 1; |
| 1908 | } |
| 1909 | return (x->ent > y->ent) - (x->ent < y->ent); |
| 1910 | } |
| 1911 | |
| 1912 | /* The entry of `owner` within [lo, hi) (one scope, name and arity: sorted by |
| 1913 | * owner, and an owner has one entity there), or CS_NONE. */ |
nothing calls this directly
no test coverage detected