Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_binary.h115 int cil_type_to_policydb(policydb_t *pdb, struct cil_type *cil_type);
Dcil_internal.h263 struct cil_type *selftype;
285 struct cil_type **val_to_type;
477 struct cil_type { struct
479 struct cil_type *bounds; argument
960 void cil_type_init(struct cil_type **type);
Dcil_post.c343 struct cil_type *type = node->data; in __cil_post_db_count_helper()
420 struct cil_type *type = node->data; in __cil_post_db_array_helper()
606 struct cil_type *type = alias->actual; in __cil_type_to_bitmap()
613 struct cil_type *type = (struct cil_type *)datum; in __cil_type_to_bitmap()
1048 struct cil_type *type = (struct cil_type *)datum; in __cil_role_assign_types()
1055 struct cil_type *type = alias->actual; in __cil_role_assign_types()
Dcil_binary.c207 struct cil_type *type = (struct cil_type *)datum; in __cil_expand_type()
493 int cil_type_to_policydb(policydb_t *pdb, struct cil_type *cil_type) in cil_type_to_policydb() argument
503 key = cil_strdup(cil_type->datum.fqn); in cil_type_to_policydb()
520 int cil_type_bounds_to_policydb(policydb_t *pdb, struct cil_type *cil_type) in cil_type_bounds_to_policydb() argument
526 if (cil_type->bounds) { in cil_type_bounds_to_policydb()
527 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_type), &sepol_type); in cil_type_bounds_to_policydb()
530 rc = __cil_get_sepol_type_datum(pdb, DATUM(cil_type->bounds), &sepol_parent); in cil_type_bounds_to_policydb()
539 cil_log(CIL_ERR, "Failed to insert type bounds for type %s\n", cil_type->datum.fqn); in cil_type_bounds_to_policydb()
1348 struct cil_type *t = (struct cil_type *)t2; in __cil_is_type_match()
1354 struct cil_type *t = (struct cil_type *)t1; in __cil_is_type_match()
Dcil_verify.c686 struct cil_type *type = node->data; in __cil_verify_type()
689 struct cil_type *t1 = type; in __cil_verify_type()
690 struct cil_type *t2 = type->bounds; in __cil_verify_type()
719 struct cil_type *type = ctx->type; in __cil_verify_context()
Dcil_reset_ast.c141 static void cil_reset_type(struct cil_type *type) in cil_reset_type()
Dcil_build_ast.h113 void cil_destroy_type(struct cil_type *type);
Dcil.c1456 struct cil_type *type = ctx->type; in cil_filecons_to_string()
1519 struct cil_type *type = ctx->type; in cil_filecons_to_string()
2358 void cil_type_init(struct cil_type **type) in cil_type_init()
Dcil_resolve_ast.c923 roletype->type = (struct cil_type*)type_datum; in cil_resolve_roletype()
2302 struct cil_type *type = (struct cil_type *)child_datum; in cil_resolve_bounds()
2327 type->bounds = (struct cil_type *)parent_datum; in cil_resolve_bounds()
Dcil_copy_ast.c547 struct cil_type *orig = data; in cil_copy_type()
553 struct cil_type *new; in cil_copy_type()
Dcil_tree.c616 struct cil_type *type = node->data; in cil_tree_print_node()
Dcil_build_ast.c1967 struct cil_type *type = NULL; in cil_gen_type()
2003 void cil_destroy_type(struct cil_type *type) in cil_destroy_type()