Home
last modified time | relevance | path

Searched refs:const_hashtab_key_t (Results 1 – 8 of 8) sorted by relevance

/third_party/selinux/libsepol/include/sepol/policydb/
Dhashtab.h26 typedef const char *const_hashtab_key_t; /* constant generic key type */ typedef
41 unsigned int (*hash_value) (struct hashtab_val * h, const_hashtab_key_t key); /* hash function */
42 …int (*keycmp) (struct hashtab_val * h, const_hashtab_key_t key1, const_hashtab_key_t key2); /* key…
54 const_hashtab_key_t
57 const_hashtab_key_t key1,
58 const_hashtab_key_t key2),
88 extern hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t k);
/third_party/selinux/libsepol/src/
Dsymtab.c18 static unsigned int symhash(hashtab_t h, const_hashtab_key_t key) in symhash()
34 __attribute__ ((unused)), const_hashtab_key_t key1, in symcmp()
35 const_hashtab_key_t key2) in symcmp()
Dhashtab.c36 const_hashtab_key_t key), in hashtab_create()
38 const_hashtab_key_t key1, in hashtab_create()
39 const_hashtab_key_t key2), in hashtab_create()
177 hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t key) in hashtab_search()
Dpolicydb.c799 static unsigned int filenametr_hash(hashtab_t h, const_hashtab_key_t k) in filenametr_hash()
815 const_hashtab_key_t k1, const_hashtab_key_t k2) in filenametr_cmp()
833 static unsigned int rangetr_hash(hashtab_t h, const_hashtab_key_t k) in rangetr_hash()
841 const_hashtab_key_t k1, const_hashtab_key_t k2) in rangetr_cmp()
/third_party/selinux/checkpolicy/
Dmodule_compiler.h68 int is_id_in_scope(uint32_t symbol_type, const_hashtab_key_t id);
73 int is_perm_in_scope(const_hashtab_key_t perm_id, const_hashtab_key_t class_id);
Dmodule_compiler.c1129 int is_id_in_scope(uint32_t symbol_type, const_hashtab_key_t id) in is_id_in_scope()
1176 int is_perm_in_scope(const_hashtab_key_t perm_id, const_hashtab_key_t class_id) in is_perm_in_scope()
/third_party/selinux/libsepol/cil/src/
Dcil_strpool.c48 static unsigned int cil_strpool_hash(hashtab_t h, const_hashtab_key_t key) in cil_strpool_hash()
62 …strpool_compare(hashtab_t h __attribute__ ((unused)), const_hashtab_key_t key1, const_hashtab_key_… in cil_strpool_compare()
Dcil_binary.c4244 static unsigned int role_trans_hash(hashtab_t h, const_hashtab_key_t key) in role_trans_hash()
4252 __attribute__ ((unused)), const_hashtab_key_t key1, in role_trans_compare()
4253 const_hashtab_key_t key2) in role_trans_compare()
4264 static unsigned int avrulex_hash(__attribute__((unused)) hashtab_t h, const_hashtab_key_t key) in avrulex_hash()
4304 __attribute__ ((unused)), const_hashtab_key_t key1, in avrulex_compare()
4305 const_hashtab_key_t key2) in avrulex_compare()