Home
last modified time | relevance | path

Searched refs:typeperm (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_tree.c1087 struct cil_typepermissive *typeperm = node->data; in cil_tree_print_node() local
1089 if (typeperm->type != NULL) { in cil_tree_print_node()
1090 cil_log(CIL_INFO, "TYPEPERMISSIVE: %s\n", ((struct cil_symtab_datum *)typeperm->type)->name); in cil_tree_print_node()
1092 cil_log(CIL_INFO, "TYPEPERMISSIVE: %s\n", typeperm->type_str); in cil_tree_print_node()
Dandroid.c399 struct cil_typepermissive *typeperm = (struct cil_typepermissive *)node->data; in cil_attrib_typepermissive() local
401 if (typeperm->type != NULL) { in cil_attrib_typepermissive()
Dcil.c2073 void cil_typepermissive_init(struct cil_typepermissive **typeperm) in cil_typepermissive_init() argument
2075 *typeperm = cil_malloc(sizeof(**typeperm)); in cil_typepermissive_init()
2077 (*typeperm)->type_str = NULL; in cil_typepermissive_init()
2078 (*typeperm)->type = NULL; in cil_typepermissive_init()
Dcil_build_ast.h145 void cil_destroy_typepermissive(struct cil_typepermissive *typeperm);
Dcil_build_ast.c3256 struct cil_typepermissive *typeperm = NULL; in cil_gen_typepermissive() local
3268 cil_typepermissive_init(&typeperm); in cil_gen_typepermissive()
3270 typeperm->type_str = parse_current->next->data; in cil_gen_typepermissive()
3272 ast_node->data = typeperm; in cil_gen_typepermissive()
3279 cil_destroy_typepermissive(typeperm); in cil_gen_typepermissive()
3283 void cil_destroy_typepermissive(struct cil_typepermissive *typeperm) in cil_destroy_typepermissive() argument
3285 if (typeperm == NULL) { in cil_destroy_typepermissive()
3289 free(typeperm); in cil_destroy_typepermissive()
Dcil_internal.h992 void cil_typepermissive_init(struct cil_typepermissive **typeperm);
Dcil_resolve_ast.c594 struct cil_typepermissive *typeperm = current->data; in cil_resolve_typepermissive() local
599 rc = cil_resolve_name(current, typeperm->type_str, CIL_SYM_TYPES, extra_args, &type_datum); in cil_resolve_typepermissive()
612 typeperm->type = type_datum; in cil_resolve_typepermissive()