Home
last modified time | relevance | path

Searched defs:datum (Results 1 – 25 of 42) sorted by relevance

12

/external/selinux/libsepol/cil/src/
Dcil_symtab.c62 void cil_symtab_datum_init(struct cil_symtab_datum *datum) in cil_symtab_datum_init()
70 void cil_symtab_datum_destroy(struct cil_symtab_datum *datum) in cil_symtab_datum_destroy()
76 void cil_symtab_datum_remove_node(struct cil_symtab_datum *datum, struct cil_tree_node *node) in cil_symtab_datum_remove_node()
88 int cil_symtab_insert(symtab_t *symtab, hashtab_key_t key, struct cil_symtab_datum *datum, struct c… in cil_symtab_insert()
105 void cil_symtab_remove_datum(struct cil_symtab_datum *datum) in cil_symtab_remove_datum()
117 int cil_symtab_get_datum(symtab_t *symtab, char *key, struct cil_symtab_datum **datum) in cil_symtab_get_datum()
136 struct cil_symtab_datum *datum = d; in __cil_symtab_destroy_helper() local
167 struct cil_complex_symtab_datum *datum) in cil_complex_symtab_insert()
Dcil_copy_ast.c102 struct cil_symtab_datum *datum = NULL; in cil_copy_block() local
149 struct cil_symtab_datum *datum = NULL; in cil_copy_policycap() local
167 struct cil_symtab_datum *datum = NULL; in cil_copy_perm() local
238 struct cil_symtab_datum *datum = NULL; in cil_copy_class() local
275 struct cil_symtab_datum *datum = NULL; in cil_copy_classpermission() local
329 struct cil_symtab_datum *datum = NULL; in cil_copy_sid() local
381 struct cil_symtab_datum *datum = NULL; in cil_copy_user() local
400 struct cil_symtab_datum *datum = NULL; in cil_copy_userattribute() local
505 struct cil_symtab_datum *datum = NULL; in cil_copy_role() local
538 struct cil_symtab_datum *datum = NULL; in cil_copy_roleattribute() local
[all …]
Dcil_fqn.c48 struct cil_symtab_datum *datum = (struct cil_symtab_datum *)d; in __cil_fqn_qualify_decls() local
76 struct cil_symtab_datum *datum = (struct cil_symtab_datum *)block; in __cil_fqn_qualify_blocks() local
Dcil_internal.h322 struct cil_symtab_datum datum; member
343 struct cil_symtab_datum datum; member
348 struct cil_symtab_datum datum; member
354 struct cil_symtab_datum datum; member
378 struct cil_symtab_datum datum; member
399 struct cil_symtab_datum datum; member
409 struct cil_symtab_datum datum; member
425 struct cil_symtab_datum datum; member
434 struct cil_symtab_datum datum; member
479 struct cil_symtab_datum datum; member
[all …]
Dcil_resolve_ast.c77 struct cil_symtab_datum *datum = NULL; in __cil_insert_name() local
152 struct cil_symtab_datum *datum = NULL; in cil_resolve_classperms() local
183 struct cil_symtab_datum *datum = NULL; in cil_resolve_classperms_set() local
235 struct cil_symtab_datum *datum; in cil_resolve_classpermissionset() local
264 int cil_type_used(struct cil_symtab_datum *datum) in cil_type_used()
733 struct cil_symtab_datum *datum = NULL; in cil_resolve_classmapping() local
1417 struct cil_symtab_datum *datum = NULL; in cil_resolve_classorder() local
1460 struct cil_symtab_datum *datum = NULL; in cil_resolve_sidorder() local
1549 struct cil_symtab_datum *datum = NULL; in cil_resolve_sensitivityorder() local
2554 struct cil_symtab_datum *datum; in cil_resolve_default() local
[all …]
Dcil_binary.c81 static int __cil_get_sepol_user_datum(policydb_t *pdb, struct cil_symtab_datum *datum, user_datum_t… in __cil_get_sepol_user_datum()
92 static int __cil_get_sepol_role_datum(policydb_t *pdb, struct cil_symtab_datum *datum, role_datum_t… in __cil_get_sepol_role_datum()
103 static int __cil_get_sepol_type_datum(policydb_t *pdb, struct cil_symtab_datum *datum, type_datum_t… in __cil_get_sepol_type_datum()
114 static int __cil_get_sepol_class_datum(policydb_t *pdb, struct cil_symtab_datum *datum, class_datum… in __cil_get_sepol_class_datum()
125 static int __cil_get_sepol_cat_datum(policydb_t *pdb, struct cil_symtab_datum *datum, cat_datum_t *… in __cil_get_sepol_cat_datum()
136 static int __cil_get_sepol_level_datum(policydb_t *pdb, struct cil_symtab_datum *datum, level_datum… in __cil_get_sepol_level_datum()
147 static int __cil_expand_user(struct cil_symtab_datum *datum, ebitmap_t *new) in __cil_expand_user()
175 static int __cil_expand_role(struct cil_symtab_datum *datum, ebitmap_t *new) in __cil_expand_role()
201 static int __cil_expand_type(struct cil_symtab_datum *datum, ebitmap_t *new) in __cil_expand_type()
1221 int __perm_str_to_datum(char *perm_str, class_datum_t *sepol_class, uint32_t *datum) in __perm_str_to_datum()
[all …]
Dcil_tree.c139 struct cil_symtab_datum *datum; in cil_tree_node_destroy() local
643 struct cil_symtab_datum *datum = NULL; in cil_tree_print_node() local
707 struct cil_symtab_datum *datum = NULL; in cil_tree_print_node() local
1556 struct cil_symtab_datum *datum = ((struct cil_args*)item->data)->arg; in cil_tree_print_node() local
Dcil_post.c623 static int __cil_type_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *d… in __cil_type_to_bitmap()
675 static int __cil_user_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *d… in __cil_user_to_bitmap()
723 static int __cil_role_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *d… in __cil_role_to_bitmap()
792 static int __cil_permx_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, __attribute__((… in __cil_permx_to_bitmap()
816 static int __cil_perm_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, __attribute__((u… in __cil_perm_to_bitmap()
881 static int __cil_cat_to_bitmap(struct cil_symtab_datum *datum, ebitmap_t *bitmap, struct cil_db *db) in __cil_cat_to_bitmap()
1256 static int __cil_role_assign_types(struct cil_role *role, struct cil_symtab_datum *datum) in __cil_role_assign_types()
1351 static int __cil_user_assign_roles(struct cil_user *user, struct cil_symtab_datum *datum) in __cil_user_assign_roles()
/external/selinux/libsepol/tests/
Dtest-common.c57 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()
/external/selinux/libsepol/src/
Dlink.c123 static int permission_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in permission_copy_callback()
243 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in class_copy_callback()
346 static int role_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in role_copy_callback()
436 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in type_copy_callback()
531 static int user_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in user_copy_callback()
598 static int bool_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in bool_copy_callback()
667 static int sens_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in sens_copy_callback()
709 static int cat_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in cat_copy_callback()
761 hashtab_datum_t datum, void *data) in type_bounds_copy_callback()
790 hashtab_datum_t datum, void *data) in role_bounds_copy_callback()
[all …]
Dexpand.c74 static int type_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in type_copy_callback()
144 static int attr_convert_callback(hashtab_key_t key, hashtab_datum_t datum, in attr_convert_callback()
187 static int perm_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in perm_copy_callback()
224 static int common_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in common_copy_callback()
410 static int class_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in class_copy_callback()
497 static int constraint_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in constraint_copy_callback()
529 hashtab_datum_t datum, void *data) in type_bounds_copy_callback()
559 hashtab_datum_t datum, void *data) in role_bounds_copy_callback()
589 hashtab_datum_t datum, void *data) in user_bounds_copy_callback()
623 static int alias_copy_callback(hashtab_key_t key, hashtab_datum_t datum, in alias_copy_callback()
[all …]
Dpolicydb.c780 __attribute__ ((unused)), hashtab_datum_t datum, in policydb_role_cache()
798 __attribute__ ((unused)), hashtab_datum_t datum, in policydb_user_cache()
843 static int common_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in common_index()
857 static int class_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in class_index()
872 static int role_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in role_index()
887 static int type_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in type_index()
905 static int user_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in user_index()
922 static int sens_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in sens_index()
940 static int cat_index(hashtab_key_t key, hashtab_datum_t datum, void *datap) in cat_index()
1118 static int perm_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p in perm_destroy()
[all …]
Dwrite.c444 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()
636 static int cond_write_bool(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in cond_write_bool()
839 static int perm_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in perm_write()
864 static int common_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in common_write()
946 static int class_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in class_write()
1040 static int role_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in role_write()
1102 static int type_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in type_write()
1180 static int user_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in user_write()
1873 static int scope_write(hashtab_key_t key, hashtab_datum_t datum, void *ptr) in scope_write()
[all …]
Davtab.c93 avtab_datum_t * datum) in avtab_insert_node()
135 int avtab_insert(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert()
180 avtab_insert_nonunique(avtab_t * h, avtab_key_t * key, avtab_datum_t * datum) in avtab_insert_nonunique()
441 avtab_datum_t datum; in avtab_read_item() local
Dgenbools.c76 struct cond_bool_datum *datum; local
215 struct cond_bool_datum *datum; local
Dhierarchy.c43 avtab_key_t *avtab_key, avtab_datum_t *datum) in bounds_insert_helper()
58 avtab_key_t *avtab_key, avtab_datum_t *datum) in bounds_insert_rule()
104 avtab_datum_t datum; in bounds_expand_rule() local
264 avtab_datum_t *datum = avtab_search(cur_avtab, avtab_key); in bounds_not_covered() local
374 avtab_datum_t *datum = &ap->datum; in bounds_check_cond_rules() local
Dhashtab.c66 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert()
136 int hashtab_replace(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum, in hashtab_replace()
/external/selinux/policycoreutils/sepolgen-ifgen/
Dsepolgen-ifgen-attr-helper.c41 static int perm_name(hashtab_key_t key, hashtab_datum_t datum, void *data) in perm_name()
111 int output_avrule(avtab_key_t *key, avtab_datum_t *datum, void *args) in output_avrule()
128 static int attribute_callback(hashtab_key_t key, hashtab_datum_t datum, void *datap) in attribute_callback()
/external/bison/lib/
Dobstack.h316 # define obstack_1grow(OBSTACK,datum) \ argument
328 # define obstack_ptr_grow(OBSTACK,datum) \ argument
335 # define obstack_int_grow(OBSTACK,datum) \ argument
448 # define obstack_1grow(h,datum) \ argument
453 # define obstack_ptr_grow(h,datum) \ argument
458 # define obstack_int_grow(h,datum) \ argument
/external/selinux/policycoreutils/newrole/
Dhashtab.c45 int hashtab_insert(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum) in hashtab_insert()
115 int hashtab_replace(hashtab_t h, hashtab_key_t key, hashtab_datum_t datum, in hashtab_replace()
Dhashtab.h28 hashtab_datum_t datum; member
/external/jetty/src/java/org/eclipse/jetty/security/
DHashCrossContextPsuedoSession.java62 public void store(T datum, HttpServletResponse response) in store()
/external/selinux/checkpolicy/
Dpolicy_define.c149 class_datum_t *datum = 0; in define_class() local
702 level_datum_t *datum = 0, *aliasdatum = 0; in define_sens() local
832 level_datum_t *datum; in define_dominance() local
881 cat_datum_t *datum = 0, *aliasdatum = 0; in define_category() local
1000 static int clone_level(hashtab_key_t key __attribute__ ((unused)), hashtab_datum_t datum, void *arg) in clone_level()
1372 type_datum_t *datum, *attr; in define_type() local
1519 type_datum_t *datum; in define_compute_type_helper() local
1648 cond_bool_datum_t *datum; in define_bool_tunable() local
2793 hashtab_datum_t datum, void *arg) in dominate_role_recheck()
2941 static int role_val_to_name_helper(hashtab_key_t key, hashtab_datum_t datum, in role_val_to_name_helper()
Dmodule_compiler.c128 hashtab_key_t key, hashtab_datum_t datum, in declare_symbol()
623 hashtab_key_t key, hashtab_datum_t datum, in require_symbol()
723 static int perm_destroy(hashtab_key_t key, hashtab_datum_t datum, void *p in perm_destroy()
745 class_datum_t *datum = NULL; in require_class() local
/external/selinux/libsepol/include/sepol/policydb/
Dhashtab.h31 hashtab_datum_t datum; member

12