Searched refs:keycmp (Results 1 – 4 of 4) sorted by relevance
/external/selinux/policycoreutils/newrole/ |
D | hashtab.c | 16 int (*keycmp) (hashtab_t h, in hashtab_create() 33 p->keycmp = keycmp; in hashtab_create() 56 while (cur && h->keycmp(h, key, cur->key) > 0) { in hashtab_insert() 61 if (cur && (h->keycmp(h, key, cur->key) == 0)) in hashtab_insert() 95 while (cur != NULL && h->keycmp(h, key, cur->key) > 0) { in hashtab_remove() 100 if (cur == NULL || (h->keycmp(h, key, cur->key) != 0)) in hashtab_remove() 128 while (cur != NULL && h->keycmp(h, key, cur->key) > 0) { in hashtab_replace() 133 if (cur && (h->keycmp(h, key, cur->key) == 0)) { in hashtab_replace() 168 while (cur != NULL && h->keycmp(h, key, cur->key) > 0) in hashtab_search() 171 if (cur == NULL || (h->keycmp(h, key, cur->key) != 0)) in hashtab_search()
|
D | hashtab.h | 38 …int (*keycmp) (struct hashtab_val * h, const_hashtab_key_t key1, const_hashtab_key_t key2); /* key… member 58 int (*keycmp) (hashtab_t h,
|
/external/selinux/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/selinux/libsepol/include/sepol/policydb/ |
D | hashtab.h | 42 …int (*keycmp) (struct hashtab_val * h, const_hashtab_key_t key1, const_hashtab_key_t key2); /* key… member 56 int (*keycmp) (hashtab_t h,
|