Searched refs:hashtab_t (Results 1 – 10 of 10) sorted by relevance
/external/libsepol/include/sepol/policydb/ |
D | 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, 126 extern void hashtab_map_remove_on_error(hashtab_t h, [all …]
|
D | symtab.h | 30 hashtab_t table; /* hash table (keyed on a string) */
|
D | conditional.h | 129 extern int cond_read_bool(policydb_t * p, hashtab_t h, struct policy_file *fp);
|
/external/libsepol/src/ |
D | hashtab.c | 35 hashtab_t hashtab_create(unsigned int (*hash_value) (hashtab_t h, in hashtab_create() 37 int (*keycmp) (hashtab_t h, in hashtab_create() 43 hashtab_t p; in hashtab_create() 46 p = (hashtab_t) malloc(sizeof(hashtab_val_t)); in hashtab_create() 66 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() 103 int hashtab_remove(hashtab_t h, hashtab_key_t key, in hashtab_remove() 136 int hashtab_replace(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum, in hashtab_replace() 178 hashtab_datum_t hashtab_search(hashtab_t h, const hashtab_key_t key) in hashtab_search() 198 void hashtab_destroy(hashtab_t h) in hashtab_destroy() 222 int hashtab_map(hashtab_t h, in hashtab_map() [all …]
|
D | symtab.c | 14 static unsigned int symhash(hashtab_t h, hashtab_key_t key) in symhash() 29 static int symcmp(hashtab_t h in symcmp()
|
D | policydb.c | 1880 __attribute__ ((unused)), hashtab_t h, in perm_read() 1918 static int common_read(policydb_t * p, hashtab_t h, struct policy_file *fp) in common_read() 2061 static int class_read(policydb_t * p, hashtab_t h, struct policy_file *fp) in class_read() 2167 __attribute__ ((unused)), hashtab_t h, in role_read() 2245 __attribute__ ((unused)), hashtab_t h, in type_read() 2821 static int user_read(policydb_t * p, hashtab_t h, struct policy_file *fp) in user_read() 2906 __attribute__ ((unused)), hashtab_t h, in sens_read() 2949 __attribute__ ((unused)), hashtab_t h, in cat_read() 2988 static int (*read_f[SYM_NUM]) (policydb_t * p, hashtab_t h, 3537 hashtab_t h = p->scope[symnum].table; in scope_read()
|
D | conditional.c | 568 hashtab_t h, in cond_read_bool()
|
D | services.c | 1387 hashtab_t h; in validate_perm() 1390 h = (hashtab_t) p; in validate_perm()
|
D | link.c | 1101 hashtab_t role_tab; in role_fix_callback()
|
/external/checkpolicy/ |
D | module_compiler.c | 166 static int role_implicit_bounds(hashtab_t roles_tab, in role_implicit_bounds() 238 hashtab_t roles_tab; in declare_role() 370 static int user_implicit_bounds(hashtab_t users_tab, in user_implicit_bounds() 443 hashtab_t users_tab; in declare_user() 517 hashtab_t types_tab; in get_local_type() 563 hashtab_t roles_tab; in get_local_role()
|