/external/libsepol/include/sepol/policydb/ |
hashtab.h | 23 typedef void *hashtab_datum_t; /* generic datum type */ typedef 29 hashtab_datum_t datum; 63 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d); 75 hashtab_datum_t d, 87 extern int hashtab_replace(hashtab_t h, hashtab_key_t k, hashtab_datum_t d, 89 hashtab_datum_t d, 98 extern hashtab_datum_t hashtab_search(hashtab_t h, const hashtab_key_t k); 118 hashtab_datum_t d, 128 hashtab_datum_t d, 131 hashtab_datum_t d [all...] |
conditional.h | 124 extern int cond_destroy_bool(hashtab_key_t key, hashtab_datum_t datum, void *p); 126 extern int cond_index_bool(hashtab_key_t key, hashtab_datum_t datum,
|
policydb.h | 595 extern int scope_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p); 596 typedef void (*hashtab_destroy_func_t) (hashtab_key_t k, hashtab_datum_t d, 636 hashtab_key_t key, hashtab_datum_t datum,
|
/external/checkpolicy/ |
module_compiler.h | 30 hashtab_key_t key, hashtab_datum_t datum, 44 hashtab_key_t key, hashtab_datum_t datum,
|
module_compiler.c | 127 hashtab_key_t key, hashtab_datum_t datum, 222 declare_symbol(SYM_ROLES, id, (hashtab_datum_t *) role, &value, 426 declare_symbol(SYM_USERS, id, (hashtab_datum_t *) user, &value, 622 hashtab_key_t key, hashtab_datum_t datum, 722 static int perm_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p 886 require_symbol(SYM_ROLES, id, (hashtab_datum_t *) role, 956 require_symbol(SYM_TYPES, id, (hashtab_datum_t *) type, 1017 require_symbol(SYM_USERS, id, (hashtab_datum_t *) user, 1069 require_symbol(SYM_BOOLS, id, (hashtab_datum_t *) booldatum, 1138 retval = require_symbol(SYM_LEVELS, id, (hashtab_datum_t *) level [all...] |
checkpolicy.c | 144 static int find_perm(hashtab_key_t key, hashtab_datum_t datum, void *p) 364 static int check_level(hashtab_key_t key, hashtab_datum_t datum, void *arg)
|
policy_define.c | 480 (hashtab_key_t) id, (hashtab_datum_t) comdatum); 512 (hashtab_datum_t) perdatum); 635 (hashtab_datum_t) perdatum); 963 static int clone_level(hashtab_key_t key, hashtab_datum_t datum, void *arg) [all...] |
/external/libsepol/tests/ |
test-common.c | 57 static int common_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) 66 static int class_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) 76 static int role_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) 86 static int type_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) 100 static int user_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) 110 static int cond_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) 120 static int level_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) 129 static int cat_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) 138 static int (*test_index_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum, void *p) = {
|
/external/libsepol/src/ |
hashtab.c | 66 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) 105 hashtab_datum_t d, void *args), void *args) 136 int hashtab_replace(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum, 138 hashtab_datum_t d, void *args), void *args) 178 hashtab_datum_t hashtab_search(hashtab_t h, const hashtab_key_t key) 224 hashtab_datum_t d, void *args), void *args) 246 hashtab_datum_t d, 249 hashtab_datum_t d,
|
util.c | 62 static int perm_name(hashtab_key_t key, hashtab_datum_t datum, void *data)
|
link.c | 123 static int permission_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 164 (hashtab_datum_t) new_perm); 243 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 308 (hashtab_datum_t) new_class); 346 static int role_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 396 (hashtab_datum_t) new_role); 436 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 494 (hashtab_datum_t) new_type); 531 static int user_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 562 (hashtab_datum_t) new_user) [all...] |
expand.c | 150 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 203 (hashtab_datum_t) new_type); 220 static int attr_convert_callback(hashtab_key_t key, hashtab_datum_t datum, 263 static int perm_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 290 ret = hashtab_insert(s->table, new_id, (hashtab_datum_t *) new_perm); 300 static int common_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 341 (hashtab_datum_t *) new_common); 486 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 536 (hashtab_datum_t *) new_class); 573 static int constraint_copy_callback(hashtab_key_t key, hashtab_datum_t datum [all...] |
hierarchy.c | 125 static int check_type_hierarchy_callback(hashtab_key_t k, hashtab_datum_t d, 404 hashtab_datum_t d, void *args) 430 hashtab_datum_t d, void *args)
|
policydb.c | 764 __attribute__ ((unused)), hashtab_datum_t datum, 782 __attribute__ ((unused)), hashtab_datum_t datum, 827 static int common_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 841 static int class_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 856 static int role_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 871 static int type_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 889 static int user_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 906 static int sens_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 924 static int cat_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 941 static int (*index_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum [all...] |
write.c | 411 static int sens_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 439 static int cat_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 603 static int cond_write_bool(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 806 static int perm_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 831 static int common_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 913 static int class_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 1007 static int role_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 1069 static int type_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 1147 static int user_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 1205 static int (*write_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum [all...] |
genusers.c | 115 id, (hashtab_datum_t) usrdatum)) {
|
users.c | 253 (hashtab_datum_t) usrdatum) < 0)
|
conditional.c | 534 int cond_destroy_bool(hashtab_key_t key, hashtab_datum_t datum, void *p 543 int cond_index_bool(hashtab_key_t key, hashtab_datum_t datum, void *datap)
|
services.c | [all...] |
/external/checkpolicy/test/ |
dismod.c | 292 int display_type_callback(hashtab_key_t key, hashtab_datum_t datum, void *data) 497 hashtab_datum_t datum, void *data)
|
/external/sepolicy/tools/ |
check_seapp.c | 223 hashtab_datum_t dat;
|