Searched refs:keycmp (Results 1 – 2 of 2) sorted by relevance
/external/libsepol/src/ |
D | hashtab.c | 37 int (*keycmp) (hashtab_t h, in hashtab_create() 54 p->keycmp = keycmp; in hashtab_create() 77 while (cur && h->keycmp(h, key, cur->key) > 0) { in hashtab_insert() 82 if (cur && (h->keycmp(h, key, cur->key) == 0)) in hashtab_insert() 116 while (cur != NULL && h->keycmp(h, key, cur->key) > 0) { in hashtab_remove() 121 if (cur == NULL || (h->keycmp(h, key, cur->key) != 0)) in hashtab_remove() 149 while (cur != NULL && h->keycmp(h, key, cur->key) > 0) { in hashtab_replace() 154 if (cur && (h->keycmp(h, key, cur->key) == 0)) { in hashtab_replace() 189 while (cur != NULL && h->keycmp(h, key, cur->key) > 0) in hashtab_search() 192 if (cur == NULL || (h->keycmp(h, key, cur->key) != 0)) in hashtab_search()
|
/external/libsepol/include/sepol/policydb/ |
D | hashtab.h | 38 …int (*keycmp) (struct hashtab_val * h, hashtab_key_t key1, hashtab_key_t key2); /* key comparison … member 52 int (*keycmp) (hashtab_t h,
|