Home
last modified time | relevance | path

Searched refs:keycmp (Results 1 – 2 of 2) sorted by relevance

/third_party/selinux/libsepol/src/
Dhashtab.c37 int (*keycmp) (hashtab_t h, in hashtab_create()
54 p->keycmp = keycmp; in hashtab_create()
90 while (*dst && h->keycmp(h, cur->key, (*dst)->key) > 0) in hashtab_check_resize()
118 while (cur && h->keycmp(h, key, cur->key) > 0) { in hashtab_insert()
123 if (cur && (h->keycmp(h, key, cur->key) == 0)) in hashtab_insert()
157 while (cur != NULL && h->keycmp(h, key, cur->key) > 0) { in hashtab_remove()
162 if (cur == NULL || (h->keycmp(h, key, cur->key) != 0)) in hashtab_remove()
188 while (cur != NULL && h->keycmp(h, key, cur->key) > 0) in hashtab_search()
191 if (cur == NULL || (h->keycmp(h, key, cur->key) != 0)) in hashtab_search()
/third_party/selinux/libsepol/include/sepol/policydb/
Dhashtab.h42 …int (*keycmp) (struct hashtab_val * h, const_hashtab_key_t key1, const_hashtab_key_t key2); /* key… member
56 int (*keycmp) (hashtab_t h,