/external/libsepol/include/sepol/policydb/ |
hashtab.h | 41 typedef hashtab_val_t *hashtab_t; typedef 49 extern hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h, 52 int (*keycmp) (hashtab_t h, 63 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d); 73 extern int hashtab_remove(hashtab_t h, hashtab_key_t k, 87 extern int hashtab_replace(hashtab_t h, hashtab_key_t k, hashtab_datum_t d, 98 extern hashtab_datum_t hashtab_search(hashtab_t h, const hashtab_key_t k); 103 extern void hashtab_destroy(hashtab_t h); 116 extern int hashtab_map(hashtab_t h [all...] |
symtab.h | 30 hashtab_t table; /* hash table (keyed on a string) */
|
conditional.h | 129 extern int cond_read_bool(policydb_t * p, hashtab_t h, struct policy_file *fp);
|
/external/libsepol/src/ |
symtab.c | 14 static unsigned int symhash(hashtab_t h, hashtab_key_t key) 29 static int symcmp(hashtab_t h
|
hashtab.c | 35 hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h, 37 int (*keycmp) (hashtab_t h, 43 hashtab_t p; 46 p = (hashtab_t) malloc(sizeof(hashtab_val_t)); 66 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) 103 int hashtab_remove(hashtab_t h, hashtab_key_t key, 136 int hashtab_replace(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum, 178 hashtab_datum_t hashtab_search(hashtab_t h, const hashtab_key_t key) 198 void hashtab_destroy(hashtab_t h [all...] |
policydb.c | [all...] |
services.c | [all...] |
conditional.c | 568 hashtab_t h,
|
link.c | 1101 hashtab_t role_tab; [all...] |
/external/checkpolicy/ |
module_compiler.c | 166 static int role_implicit_bounds(hashtab_t roles_tab, 238 hashtab_t roles_tab; 370 static int user_implicit_bounds(hashtab_t users_tab, 443 hashtab_t users_tab; 517 hashtab_t types_tab; 563 hashtab_t roles_tab; [all...] |