/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 | 581 extern int scope_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p); 582 typedef void (*hashtab_destroy_func_t) (hashtab_key_t k, hashtab_datum_t d, 622 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 | 384 (hashtab_key_t) id, (hashtab_datum_t) comdatum); 416 (hashtab_datum_t) perdatum); 539 (hashtab_datum_t) perdatum); 867 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); 208 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 272 (hashtab_datum_t) new_class); 304 static int role_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 354 (hashtab_datum_t) new_role); 394 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 452 (hashtab_datum_t) new_type); 489 static int user_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 520 (hashtab_datum_t) new_user) [all...] |
expand.c | 74 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 127 (hashtab_datum_t) new_type); 144 static int attr_convert_callback(hashtab_key_t key, hashtab_datum_t datum, 187 static int perm_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 214 ret = hashtab_insert(s->table, new_id, (hashtab_datum_t *) new_perm); 224 static int common_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 263 (hashtab_datum_t *) new_common); 361 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 405 (hashtab_datum_t *) new_class); 442 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, 403 hashtab_datum_t d, void *args) 429 hashtab_datum_t d, void *args)
|
policydb.c | 701 __attribute__ ((unused)), hashtab_datum_t datum, 719 __attribute__ ((unused)), hashtab_datum_t datum, 764 static int common_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 778 static int class_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 793 static int role_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 808 static int type_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 826 static int user_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 843 static int sens_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 861 static int cat_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 878 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) 910 static int class_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 982 static int role_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 1044 static int type_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 1122 static int user_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 1180 static int (*write_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum [all...] |
genusers.c | 108 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 | 760 static int validate_perm(hashtab_key_t key, hashtab_datum_t datum, void *p) 785 static int validate_class(hashtab_key_t key, hashtab_datum_t datum, void *p) [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)
|