Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/cil/src/
Dcil_find.c52 struct cil_type *t1 = (struct cil_type *)d1; in cil_type_match_any()
53 struct cil_type *t2 = (struct cil_type *)d2; in cil_type_match_any()
59 struct cil_type *t = (struct cil_type *)d2; in cil_type_match_any()
64 struct cil_type *t = (struct cil_type *)d1; in cil_type_match_any()
89 struct cil_type *t1 = (struct cil_type *)d1; in cil_type_matches()
90 struct cil_type *t2 = (struct cil_type *)d2; in cil_type_matches()
96 struct cil_type *t = (struct cil_type *)d2; in cil_type_matches()
101 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.h291 struct cil_type *selftype;
318 struct cil_type **val_to_type;
528 struct cil_type { struct
530 struct cil_type *bounds; argument
1069 void cil_type_init(struct cil_type **type);
Dcil_post.c589 struct cil_type *type = node->data; in __cil_post_db_count_helper()
689 struct cil_type *type = node->data; in __cil_post_db_array_helper()
905 struct cil_type *type = alias->actual; in __cil_type_to_bitmap()
912 struct cil_type *type = (struct cil_type *)datum; in __cil_type_to_bitmap()
1624 struct cil_type *type = (struct cil_type *)datum; in __cil_role_assign_types()
1631 struct cil_type *type = alias->actual; in __cil_role_assign_types()
Dcil_policy.c1024 struct cil_type *type; in cil_typealiases_to_policy()
1027 struct cil_type *actual; in cil_typealiases_to_policy()
1065 struct cil_type *child; in cil_typebounds_to_policy()
1066 struct cil_type *parent; in cil_typebounds_to_policy()
1080 struct cil_type *type; in cil_typeattributes_to_policy()
1497 struct cil_type *type; in cil_role_types_to_policy()
Dcil_binary.c210 struct cil_type *type = (struct cil_type *)datum; in __cil_expand_type()
453 int cil_type_to_policydb(policydb_t *pdb, struct cil_type *cil_type, void *type_value_to_cil[]) in cil_type_to_policydb() argument
463 key = cil_strdup(cil_type->datum.fqn); in cil_type_to_policydb()
471 type_value_to_cil[value] = cil_type; in cil_type_to_policydb()
482 int cil_type_bounds_to_policydb(policydb_t *pdb, struct cil_type *cil_type) in cil_type_bounds_to_policydb() argument
488 if (cil_type->bounds) { in cil_type_bounds_to_policydb()
489 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_type), &sepol_type); in cil_type_bounds_to_policydb()
492 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_type->bounds), &sepol_parent); in cil_type_bounds_to_policydb()
501 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn); in cil_type_bounds_to_policydb()
4811 struct cil_type *t = db->val_to_type[i]; in cil_check_type_bounds()
Dcil_verify.c851 struct cil_type *type = node->data; in __cil_verify_type()
854 struct cil_type *t1 = type; in __cil_verify_type()
855 struct cil_type *t2 = type->bounds; in __cil_verify_type()
884 struct cil_type *type = ctx->type; in __cil_verify_context()
Dcil_reset_ast.c180 static void cil_reset_type(struct cil_type *type) in cil_reset_type()
Dcil_build_ast.h122 void cil_destroy_type(struct cil_type *type);
Dcil.c1736 struct cil_type *type = ctx->type; in cil_filecons_to_string()
1799 struct cil_type *type = ctx->type; in cil_filecons_to_string()
2772 void cil_type_init(struct cil_type **type) in cil_type_init()
Dcil_resolve_ast.c1052 roletype->type = (struct cil_type*)type_datum; in cil_resolve_roletype()
2566 struct cil_type *type = (struct cil_type *)child_datum; in cil_resolve_bounds()
2574 type->bounds = (struct cil_type *)parent_datum; in cil_resolve_bounds()
Dcil_copy_ast.c595 struct cil_type *new; in cil_copy_type()
Dcil_build_ast.c2352 struct cil_type *type = NULL; in cil_gen_type()
2386 void cil_destroy_type(struct cil_type *type) in cil_destroy_type()