/external/selinux/libsepol/include/sepol/policydb/ |
hashtab.h | 27 typedef void *hashtab_datum_t; /* generic datum type */ typedef 33 hashtab_datum_t datum; 67 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d); 79 hashtab_datum_t d, 91 extern int hashtab_replace(hashtab_t h, hashtab_key_t k, hashtab_datum_t d, 93 hashtab_datum_t d, 102 extern hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t k); 122 hashtab_datum_t d, 132 hashtab_datum_t d, 135 hashtab_datum_t d [all...] |
conditional.h | 128 extern int cond_destroy_bool(hashtab_key_t key, hashtab_datum_t datum, void *p); 130 extern int cond_index_bool(hashtab_key_t key, hashtab_datum_t datum,
|
policydb.h | 630 hashtab_datum_t datum, 634 hashtab_datum_t datum, 650 extern int scope_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p); 688 hashtab_key_t key, hashtab_datum_t datum,
|
/external/selinux/policycoreutils/newrole/ |
hashtab.h | 23 typedef void *hashtab_datum_t; /* generic datum type */ typedef 29 hashtab_datum_t datum; 69 extern int hashtab_insert(hashtab_t h, hashtab_key_t k, hashtab_datum_t d); 81 hashtab_datum_t d, 93 extern int hashtab_replace(hashtab_t h, hashtab_key_t k, hashtab_datum_t d, 95 hashtab_datum_t d, 104 extern hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t k); 124 hashtab_datum_t d, 134 hashtab_datum_t d, 137 hashtab_datum_t d [all...] |
hashtab.c | 45 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) 84 hashtab_datum_t d, void *args), void *args) 115 int hashtab_replace(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum, 117 hashtab_datum_t d, void *args), void *args) 157 hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t key) 203 hashtab_datum_t d, void *args), void *args) 225 hashtab_datum_t d, 228 hashtab_datum_t d,
|
/external/selinux/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 | 154 static int create_symbol(uint32_t symbol_type, hashtab_key_t key, hashtab_datum_t datum, 197 hashtab_key_t key, hashtab_datum_t datum, 716 hashtab_key_t key, hashtab_datum_t datum, 763 static int perm_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p 1002 require_symbol(SYM_BOOLS, id, (hashtab_datum_t *) booldatum, 1054 retval = require_symbol(SYM_LEVELS, id, (hashtab_datum_t *) level, 1092 retval = require_symbol(SYM_CATS, id, (hashtab_datum_t *) cat, [all...] |
/external/selinux/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/selinux/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,
|
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 | 76 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 129 (hashtab_datum_t) new_type); 146 static int attr_convert_callback(hashtab_key_t key, hashtab_datum_t datum, 189 static int perm_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 216 ret = hashtab_insert(s->table, new_id, (hashtab_datum_t *) new_perm); 226 static int common_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 267 (hashtab_datum_t *) new_common); 412 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, 462 (hashtab_datum_t *) new_class); 499 static int constraint_copy_callback(hashtab_key_t key, hashtab_datum_t datum [all...] |
policydb.c | 902 __attribute__ ((unused)), hashtab_datum_t datum, 920 __attribute__ ((unused)), hashtab_datum_t datum, 965 static int common_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 981 static int class_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 998 static int role_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 1015 static int type_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 1035 static int user_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 1053 static int sens_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 1073 static int cat_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) 1092 static int (*index_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum [all...] |
write.c | 446 static int sens_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 474 static int cat_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 653 static int cond_write_bool(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 856 static int perm_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 881 static int common_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 962 static int class_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 1056 static int role_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 1135 static int type_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) 1213 static int user_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) [all...] |
genusers.c | 116 id, (hashtab_datum_t) usrdatum)) {
|
hierarchy.c | 471 hashtab_datum_t d, void *args) 517 hashtab_datum_t d, void *args) 560 hashtab_datum_t d, void *args) 601 hashtab_datum_t d, void *args) \
|
util.c | 66 static int perm_name(hashtab_key_t key, hashtab_datum_t datum, void *data)
|
users.c | 258 (hashtab_datum_t) usrdatum) < 0)
|
/external/selinux/libsepol/cil/src/ |
cil_fqn.c | 45 static int __cil_fqn_qualify_decls(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, void *args) 71 static int __cil_fqn_qualify_blocks(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, void *args)
|
cil_symtab.h | 81 int (*apply) (hashtab_key_t k, hashtab_datum_t d, void *args),
|
cil_strpool.c | 92 static int cil_strpool_entry_destroy(hashtab_key_t k __attribute__ ((unused)), hashtab_datum_t d, void *args __attribute__ ((unused)))
|
cil_symtab.c | 90 int rc = hashtab_insert(symtab->table, key, (hashtab_datum_t)datum); 128 int (*apply) (hashtab_key_t k, hashtab_datum_t d, void *args), 134 static int __cil_symtab_destroy_helper(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, __attribute__((unused)) void *args)
|
android.c | 62 hashtab_datum_t d, __attribute__ ((unused))void *args) 105 rc = hashtab_insert(args->vers_map, (hashtab_key_t) key, (hashtab_datum_t) datum); 779 static int cil_build_mappings_tree(hashtab_key_t k, hashtab_datum_t d, void *args)
|
cil_find.c | 245 static int __add_classes_from_map_perms(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, void *args)
|
cil_reset_ast.c | 13 static int __class_reset_perm_values(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, void *args)
|
/external/selinux/python/audit2allow/ |
sepolgen-ifgen-attr-helper.c | 41 static int perm_name(hashtab_key_t key, hashtab_datum_t datum, void *data) 128 static int attribute_callback(hashtab_key_t key, hashtab_datum_t datum, void *datap)
|