Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dandroid.c403 struct cil_typepermissive *typeperm = (struct cil_typepermissive *)node->data; in cil_attrib_typepermissive() local
405 if (typeperm->type != NULL) { in cil_attrib_typepermissive()
Dcil_tree.c1091 struct cil_typepermissive *typeperm = node->data; in cil_tree_print_node() local
1093 if (typeperm->type != NULL) { in cil_tree_print_node()
1094 cil_log(CIL_INFO, "TYPEPERMISSIVE: %s\n", ((struct cil_symtab_datum *)typeperm->type)->name); in cil_tree_print_node()
1096 cil_log(CIL_INFO, "TYPEPERMISSIVE: %s\n", typeperm->type_str); in cil_tree_print_node()
Dcil.c2269 void cil_typepermissive_init(struct cil_typepermissive **typeperm) in cil_typepermissive_init() argument
2271 *typeperm = cil_malloc(sizeof(**typeperm)); in cil_typepermissive_init()
2273 (*typeperm)->type_str = NULL; in cil_typepermissive_init()
2274 (*typeperm)->type = NULL; in cil_typepermissive_init()
Dcil_build_ast.h145 void cil_destroy_typepermissive(struct cil_typepermissive *typeperm);
Dcil_internal.h1017 void cil_typepermissive_init(struct cil_typepermissive **typeperm);
Dcil_build_ast.c3290 struct cil_typepermissive *typeperm = NULL; in cil_gen_typepermissive() local
3302 cil_typepermissive_init(&typeperm); in cil_gen_typepermissive()
3304 typeperm->type_str = parse_current->next->data; in cil_gen_typepermissive()
3306 ast_node->data = typeperm; in cil_gen_typepermissive()
3313 cil_destroy_typepermissive(typeperm); in cil_gen_typepermissive()
3317 void cil_destroy_typepermissive(struct cil_typepermissive *typeperm) in cil_destroy_typepermissive() argument
3319 if (typeperm == NULL) { in cil_destroy_typepermissive()
3323 free(typeperm); in cil_destroy_typepermissive()
Dcil_resolve_ast.c588 struct cil_typepermissive *typeperm = current->data; in cil_resolve_typepermissive() local
593 rc = cil_resolve_name(current, typeperm->type_str, CIL_SYM_TYPES, extra_args, &type_datum); in cil_resolve_typepermissive()
606 typeperm->type = type_datum; in cil_resolve_typepermissive()