Home
last modified time | relevance | path

Searched refs:cil_type (Results 1 – 13 of 13) 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()
84 struct cil_type *t1 = (struct cil_type *)d1; in cil_type_matches()
85 struct cil_type *t2 = (struct cil_type *)d2; in cil_type_matches()
91 struct cil_type *t = (struct cil_type *)d2; in cil_type_matches()
96 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.h273 struct cil_type *selftype;
298 struct cil_type **val_to_type;
504 struct cil_type { struct
506 struct cil_type *bounds; argument
1005 void cil_type_init(struct cil_type **type);
Dcil_post.c351 struct cil_type *type = node->data; in __cil_post_db_count_helper()
445 struct cil_type *type = node->data; in __cil_post_db_array_helper()
639 struct cil_type *type = alias->actual; in __cil_type_to_bitmap()
646 struct cil_type *type = (struct cil_type *)datum; in __cil_type_to_bitmap()
1266 struct cil_type *type = (struct cil_type *)datum; in __cil_role_assign_types()
1273 struct cil_type *type = alias->actual; in __cil_role_assign_types()
Dcil_verify.c698 struct cil_type *type = node->data; in __cil_verify_type()
701 struct cil_type *t1 = type; in __cil_verify_type()
702 struct cil_type *t2 = type->bounds; in __cil_verify_type()
731 struct cil_type *type = ctx->type; in __cil_verify_context()
Dcil_binary.c212 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()
4561 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.c1503 struct cil_type *type = ctx->type; in cil_filecons_to_string()
1566 struct cil_type *type = ctx->type; in cil_filecons_to_string()
2438 void cil_type_init(struct cil_type **type) in cil_type_init()
Dcil_resolve_ast.c991 roletype->type = (struct cil_type*)type_datum; in cil_resolve_roletype()
2510 struct cil_type *type = (struct cil_type *)child_datum; in cil_resolve_bounds()
2535 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.c616 struct cil_type *type = node->data; in cil_tree_print_node()
Dcil_build_ast.c2280 struct cil_type *type = NULL; in cil_gen_type()
2316 void cil_destroy_type(struct cil_type *type) in cil_destroy_type()