/external/selinux/libsepol/cil/test/unit/ |
test_cil_list.c | 69 test_new_item->flavor = CIL_CLASS; 97 test_new_item->flavor = CIL_CLASS; 104 test_new_item->flavor = CIL_CLASS; 133 test_new_item->flavor = CIL_CLASS; 139 test_new_item->flavor = CIL_CLASS; 145 test_new_item->flavor = CIL_CLASS; 174 test_new_item->flavor = CIL_CLASS; 226 test_new_item->flavor = CIL_CLASS; 254 test_new_item->flavor = CIL_CLASS; 283 test_new_item->flavor = CIL_CLASS; [all...] |
test_cil.c | 88 test_ast_node->parent->flavor = CIL_CLASS;
|
test_cil_copy_ast.c | 183 struct cil_class *new_node; 189 new_tree_node->flavor = CIL_CLASS; 279 struct cil_class *test_cls; 288 test_ast_node->flavor = CIL_CLASS; [all...] |
test_cil_build_ast.c | 494 struct cil_class *new_node; 500 new_tree_node->flavor = CIL_CLASS; 575 struct cil_class *new_node; 581 new_tree_node->flavor = CIL_CLASS; 787 struct cil_class *test_cls; 796 test_ast_node->flavor = CIL_CLASS; 815 struct cil_class *test_cls; 826 test_ast_node->flavor = CIL_CLASS; 845 struct cil_class *test_cls; 854 test_ast_node->flavor = CIL_CLASS; [all...] |
/external/selinux/libsepol/cil/src/ |
cil_find.c | 147 struct cil_class *c1 = cp1->class; 148 struct cil_class *c2 = cp2->class; 171 if (FLAVOR(cp->class) == CIL_CLASS) { 200 if (FLAVOR(cp->class) == CIL_CLASS) { 228 if (FLAVOR(cp->class) == CIL_CLASS) { 229 cil_list_append(class_list, CIL_CLASS, cp->class); 255 struct cil_list *cil_expand_class(struct cil_class *class) 259 cil_list_init(&class_list, CIL_CLASS); 261 if (FLAVOR(class) == CIL_CLASS) { 262 cil_list_append(class_list, CIL_CLASS, class) [all...] |
cil_internal.h | 367 struct cil_class { struct 371 struct cil_class *common; /* Only used for kernel class */ 386 struct cil_class *class; 565 struct cil_class *obj; 579 struct cil_class *obj; 620 struct cil_class *obj; 636 struct cil_class *obj; 647 struct cil_class *obj; 861 struct cil_class *class; 996 void cil_class_init(struct cil_class **class) [all...] |
cil_find.h | 38 struct cil_list *cil_expand_class(struct cil_class *class);
|
cil_flavor.h | 168 CIL_CLASS,
|
cil_reset_ast.c | 22 static void cil_reset_class(struct cil_class *class) 25 struct cil_class *common = class->common; 415 case CIL_CLASS:
|
cil_resolve_ast.c | 162 struct cil_class *class; 169 class = (struct cil_class *)datum; 298 permx->obj = (struct cil_class*)obj_datum; 394 rule->obj = (struct cil_class*)obj_datum; 646 nametypetrans->obj = (struct cil_class*)obj_datum; 702 rangetrans->obj = (struct cil_class*)obj_datum; 742 struct cil_class *class = NULL; 743 struct cil_class *common = NULL; 759 class = (struct cil_class *)class_datum; 760 common = (struct cil_class *)common_datum [all...] |
cil_verify.c | 389 } else if (node->flavor == CIL_CLASS) { 390 struct cil_class *class = node->data; 1275 struct cil_class *class; 1326 struct cil_class *class = node->data; 1329 struct cil_class *common = class->common; [all...] |
cil_binary.h | 74 int cil_common_to_policydb(policydb_t *pdb, struct cil_class *cil_common, common_datum_t **common_out); 80 * @param[in] datum The cil_class datum. 84 int cil_class_to_policydb(policydb_t *pdb, struct cil_class *cil_class);
|
cil_binary.c | 244 int cil_common_to_policydb(policydb_t *pdb, struct cil_class *cil_common, common_datum_t **common_out) 292 int cil_classorder_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_class *class_value_to_cil[], struct cil_perm **perm_value_to_cil[]) 298 struct cil_class *cil_class = curr_class->data; local 307 key = cil_strdup(cil_class->datum.fqn); 316 class_value_to_cil[class_index] = cil_class; 323 if (cil_class->common != NULL) { 325 struct cil_class *cil_common = cil_class->common; 327 key = cil_class->common->datum.fqn [all...] |
cil.c | 553 case CIL_CLASS: 830 case CIL_CLASS: 954 case CIL_CLASS: [all...] |
cil_tree.c | 908 case CIL_CLASS: { 909 struct cil_class *cls = node->data; 939 struct cil_class *common = node->data; 975 struct cil_class *cm = node->data; [all...] |
cil_post.c | 566 case CIL_CLASS: { 567 struct cil_class *class = node->data; [all...] |
cil_policy.c | 695 if (FLAVOR(cp->class) == CIL_CLASS) { 733 struct cil_class* common; 754 struct cil_class *class; 992 struct cil_class *class; [all...] |
cil_build_ast.c | 385 struct cil_class *class = NULL; 403 rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)class, (hashtab_key_t)key, CIL_SYM_CLASSES, CIL_CLASS); 430 void cil_destroy_class(struct cil_class *class) 867 struct cil_class *map = NULL; 963 struct cil_class *common = NULL; [all...] |
cil_copy_ast.c | 235 struct cil_class *orig = data; 236 struct cil_class *new = NULL; [all...] |
cil_build_ast.h | 52 void cil_destroy_class(struct cil_class *class);
|
cil_write_ast.c | 438 char *class_type = (node->flavor == CIL_CLASS) ? CIL_KEY_CLASS : CIL_KEY_COMMON; 1193 case CIL_CLASS: [all...] |