Home
last modified time | relevance | path

Searched refs:cil_type (Results 1 – 16 of 16) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_find.c51 struct cil_type *t1 = (struct cil_type *)d1; in cil_type_match_any()
52 struct cil_type *t2 = (struct cil_type *)d2; in cil_type_match_any()
58 struct cil_type *t = (struct cil_type *)d2; in cil_type_match_any()
63 struct cil_type *t = (struct cil_type *)d1; in cil_type_match_any()
88 struct cil_type *t1 = (struct cil_type *)d1; in cil_type_matches()
89 struct cil_type *t2 = (struct cil_type *)d2; in cil_type_matches()
95 struct cil_type *t = (struct cil_type *)d2; in cil_type_matches()
100 struct cil_type *t = (struct cil_type *)d1; in cil_type_matches()
Dcil_binary.h115 int cil_type_to_policydb(policydb_t *pdb, struct cil_type *cil_type, void *type_value_to_cil[]);
Dcil_internal.h284 struct cil_type *selftype;
311 struct cil_type **val_to_type;
520 struct cil_type { struct
522 struct cil_type *bounds; argument
1058 void cil_type_init(struct cil_type **type);
Dandroid.c208 struct cil_type *type = (struct cil_type *)node->data; in __cil_attrib_convert_type()
381 struct cil_type *type = (struct cil_type *)node->data; in cil_attrib_type()
Dcil_post.c575 struct cil_type *type = node->data; in __cil_post_db_count_helper()
675 struct cil_type *type = node->data; in __cil_post_db_array_helper()
891 struct cil_type *type = alias->actual; in __cil_type_to_bitmap()
898 struct cil_type *type = (struct cil_type *)datum; in __cil_type_to_bitmap()
1606 struct cil_type *type = (struct cil_type *)datum; in __cil_role_assign_types()
1613 struct cil_type *type = alias->actual; in __cil_role_assign_types()
Dcil_verify.c706 struct cil_type *type = node->data; in __cil_verify_type()
709 struct cil_type *t1 = type; in __cil_verify_type()
710 struct cil_type *t2 = type->bounds; in __cil_verify_type()
739 struct cil_type *type = ctx->type; in __cil_verify_context()
Dcil_policy.c1023 struct cil_type *type; in cil_typealiases_to_policy()
1026 struct cil_type *actual; in cil_typealiases_to_policy()
1064 struct cil_type *child; in cil_typebounds_to_policy()
1065 struct cil_type *parent; in cil_typebounds_to_policy()
1079 struct cil_type *type; in cil_typeattributes_to_policy()
1496 struct cil_type *type; in cil_role_types_to_policy()
Dcil_binary.c214 struct cil_type *type = (struct cil_type *)datum; in __cil_expand_type()
457 int cil_type_to_policydb(policydb_t *pdb, struct cil_type *cil_type, void *type_value_to_cil[]) in cil_type_to_policydb() argument
467 key = cil_strdup(cil_type->datum.fqn); in cil_type_to_policydb()
475 type_value_to_cil[value] = cil_type; in cil_type_to_policydb()
486 int cil_type_bounds_to_policydb(policydb_t *pdb, struct cil_type *cil_type) in cil_type_bounds_to_policydb() argument
492 if (cil_type->bounds) { in cil_type_bounds_to_policydb()
493 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_type), &sepol_type); in cil_type_bounds_to_policydb()
496 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_type->bounds), &sepol_parent); in cil_type_bounds_to_policydb()
505 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn); in cil_type_bounds_to_policydb()
4727 struct cil_type *t = db->val_to_type[i]; in cil_check_type_bounds()
Dcil_reset_ast.c166 static void cil_reset_type(struct cil_type *type) in cil_reset_type()
Dcil_build_ast.h120 void cil_destroy_type(struct cil_type *type);
Dcil_write_ast.c620 struct cil_type *type = (struct cil_type *)node->data; in cil_write_type()
Dcil.c1708 struct cil_type *type = ctx->type; in cil_filecons_to_string()
1771 struct cil_type *type = ctx->type; in cil_filecons_to_string()
2688 void cil_type_init(struct cil_type **type) in cil_type_init()
Dcil_resolve_ast.c1043 roletype->type = (struct cil_type*)type_datum; in cil_resolve_roletype()
2620 struct cil_type *type = (struct cil_type *)child_datum; in cil_resolve_bounds()
2628 type->bounds = (struct cil_type *)parent_datum; in cil_resolve_bounds()
Dcil_copy_ast.c586 struct cil_type *orig = data; in cil_copy_type()
592 struct cil_type *new; in cil_copy_type()
Dcil_tree.c706 struct cil_type *type = node->data; in cil_tree_print_node()
Dcil_build_ast.c2294 struct cil_type *type = NULL; in cil_gen_type()
2329 void cil_destroy_type(struct cil_type *type) in cil_destroy_type()