/external/selinux/libsepol/include/sepol/policydb/ |
D | 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,
|
D | 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,
|
D | policydb.h | 617 hashtab_datum_t datum, 621 hashtab_datum_t datum, 635 extern int scope_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p); 636 typedef void (*hashtab_destroy_func_t) (hashtab_key_t k, hashtab_datum_t d, 676 hashtab_key_t key, hashtab_datum_t datum,
|
/external/selinux/policycoreutils/newrole/ |
D | 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,
|
D | hashtab.c | 45 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() 84 hashtab_datum_t d, void *args), void *args) in hashtab_remove() 115 int hashtab_replace(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum, in hashtab_replace() 117 hashtab_datum_t d, void *args), void *args) in hashtab_replace() 157 hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t key) in hashtab_search() 203 hashtab_datum_t d, void *args), void *args) in hashtab_map() 225 hashtab_datum_t d, in hashtab_map_remove_on_error() 228 hashtab_datum_t d, in hashtab_map_remove_on_error()
|
/external/selinux/libsepol/tests/ |
D | test-common.c | 57 static int common_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in common_test_index() 66 static int class_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in class_test_index() 76 static int role_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in role_test_index() 86 static int type_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in type_test_index() 100 static int user_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in user_test_index() 110 static int cond_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in cond_test_index() 120 static int level_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in level_test_index() 129 static int cat_test_index(hashtab_key_t key, hashtab_datum_t datum, void *data) in cat_test_index() 138 static int (*test_index_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum, void *p) = {
|
/external/selinux/libsepol/src/ |
D | hashtab.c | 66 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert() 105 hashtab_datum_t d, void *args), void *args) in hashtab_remove() 136 int hashtab_replace(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum, in hashtab_replace() 138 hashtab_datum_t d, void *args), void *args) in hashtab_replace() 178 hashtab_datum_t hashtab_search(hashtab_t h, const_hashtab_key_t key) in hashtab_search() 224 hashtab_datum_t d, void *args), void *args) in hashtab_map() 246 hashtab_datum_t d, in hashtab_map_remove_on_error() 249 hashtab_datum_t d, in hashtab_map_remove_on_error()
|
D | link.c | 123 static int permission_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in permission_copy_callback() 164 (hashtab_datum_t) new_perm); in permission_copy_callback() 243 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in class_copy_callback() 308 (hashtab_datum_t) new_class); in class_copy_callback() 346 static int role_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in role_copy_callback() 396 (hashtab_datum_t) new_role); in role_copy_callback() 436 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in type_copy_callback() 494 (hashtab_datum_t) new_type); in type_copy_callback() 531 static int user_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in user_copy_callback() 562 (hashtab_datum_t) new_user); in user_copy_callback() [all …]
|
D | expand.c | 75 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in type_copy_callback() 128 (hashtab_datum_t) new_type); in type_copy_callback() 145 static int attr_convert_callback(hashtab_key_t key, hashtab_datum_t datum, in attr_convert_callback() 188 static int perm_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in perm_copy_callback() 215 ret = hashtab_insert(s->table, new_id, (hashtab_datum_t *) new_perm); in perm_copy_callback() 225 static int common_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in common_copy_callback() 266 (hashtab_datum_t *) new_common); in common_copy_callback() 411 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in class_copy_callback() 461 (hashtab_datum_t *) new_class); in class_copy_callback() 498 static int constraint_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in constraint_copy_callback() [all …]
|
D | policydb.c | 863 __attribute__ ((unused)), hashtab_datum_t datum, in policydb_role_cache() 881 __attribute__ ((unused)), hashtab_datum_t datum, in policydb_user_cache() 926 static int common_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in common_index() 942 static int class_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in class_index() 959 static int role_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in role_index() 976 static int type_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in type_index() 996 static int user_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in user_index() 1014 static int sens_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in sens_index() 1034 static int cat_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in cat_index() 1053 static int (*index_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum, [all …]
|
D | write.c | 444 static int sens_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in sens_write() 472 static int cat_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in cat_write() 651 static int cond_write_bool(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in cond_write_bool() 854 static int perm_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in perm_write() 879 static int common_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in common_write() 960 static int class_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in class_write() 1054 static int role_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in role_write() 1133 static int type_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in type_write() 1211 static int user_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in user_write() 1269 static int (*write_f[SYM_NUM]) (hashtab_key_t key, hashtab_datum_t datum, [all …]
|
D | hierarchy.c | 471 hashtab_datum_t d, void *args) in bounds_check_type_callback() 517 hashtab_datum_t d, void *args) in bounds_check_role_callback() 560 hashtab_datum_t d, void *args) in bounds_check_user_callback() 601 hashtab_datum_t d, void *args) \
|
D | util.c | 66 static int perm_name(hashtab_key_t key, hashtab_datum_t datum, void *data) in perm_name()
|
D | genusers.c | 116 id, (hashtab_datum_t) usrdatum)) {
|
D | conditional.c | 534 int cond_destroy_bool(hashtab_key_t key, hashtab_datum_t datum, void *p in cond_destroy_bool() 543 int cond_index_bool(hashtab_key_t key, hashtab_datum_t datum, void *datap) in cond_index_bool()
|
D | users.c | 258 (hashtab_datum_t) usrdatum) < 0) in sepol_user_modify()
|
/external/selinux/checkpolicy/ |
D | module_compiler.h | 30 hashtab_key_t key, hashtab_datum_t datum, 44 hashtab_key_t key, hashtab_datum_t datum,
|
D | module_compiler.c | 154 static int create_symbol(uint32_t symbol_type, hashtab_key_t key, hashtab_datum_t datum, in create_symbol() 197 hashtab_key_t key, hashtab_datum_t datum, in declare_symbol() 716 hashtab_key_t key, hashtab_datum_t datum, in require_symbol() 763 static int perm_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p in perm_destroy() 1001 require_symbol(SYM_BOOLS, id, (hashtab_datum_t *) booldatum, in require_bool_tunable() 1053 retval = require_symbol(SYM_LEVELS, id, (hashtab_datum_t *) level, in require_sens() 1091 retval = require_symbol(SYM_CATS, id, (hashtab_datum_t *) cat, in require_cat()
|
/external/selinux/libsepol/cil/src/ |
D | cil_fqn.c | 45 static int __cil_fqn_qualify_decls(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, void… in __cil_fqn_qualify_decls() 71 static int __cil_fqn_qualify_blocks(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, voi… in __cil_fqn_qualify_blocks()
|
D | cil_symtab.c | 90 int rc = hashtab_insert(symtab->table, key, (hashtab_datum_t)datum); in cil_symtab_insert() 128 int (*apply) (hashtab_key_t k, hashtab_datum_t d, void *args), in cil_symtab_map() 134 static int __cil_symtab_destroy_helper(__attribute__((unused)) hashtab_key_t k, hashtab_datum_t d, … in __cil_symtab_destroy_helper()
|
D | cil_symtab.h | 81 int (*apply) (hashtab_key_t k, hashtab_datum_t d, void *args),
|
D | cil_strpool.c | 92 static int cil_strpool_entry_destroy(hashtab_key_t k __attribute__ ((unused)), hashtab_datum_t d, v… in cil_strpool_entry_destroy()
|
D | android.c | 62 hashtab_datum_t d, __attribute__ ((unused))void *args) in ver_map_entry_destroy() 105 rc = hashtab_insert(args->vers_map, (hashtab_key_t) key, (hashtab_datum_t) datum); in __extract_attributees_helper() 780 static int cil_build_mappings_tree(hashtab_key_t k, hashtab_datum_t d, void *args) in cil_build_mappings_tree()
|
/external/selinux/python/audit2allow/ |
D | sepolgen-ifgen-attr-helper.c | 41 static int perm_name(hashtab_key_t key, hashtab_datum_t datum, void *data) in perm_name() 128 static int attribute_callback(hashtab_key_t key, hashtab_datum_t datum, void *datap) in attribute_callback()
|
/external/selinux/checkpolicy/test/ |
D | dismod.c | 292 int display_type_callback(hashtab_key_t key, hashtab_datum_t datum, void *data) in display_type_callback() 497 hashtab_datum_t datum, void *data) in role_display_callback()
|