Searched refs:typeperm (Results 1 – 7 of 7) sorted by relevance
1087 struct cil_typepermissive *typeperm = node->data; in cil_tree_print_node() local1089 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()
399 struct cil_typepermissive *typeperm = (struct cil_typepermissive *)node->data; in cil_attrib_typepermissive() local401 if (typeperm->type != NULL) { in cil_attrib_typepermissive()
2073 void cil_typepermissive_init(struct cil_typepermissive **typeperm) in cil_typepermissive_init() argument2075 *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()
145 void cil_destroy_typepermissive(struct cil_typepermissive *typeperm);
3256 struct cil_typepermissive *typeperm = NULL; in cil_gen_typepermissive() local3268 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() argument3285 if (typeperm == NULL) { in cil_destroy_typepermissive()3289 free(typeperm); in cil_destroy_typepermissive()
992 void cil_typepermissive_init(struct cil_typepermissive **typeperm);
594 struct cil_typepermissive *typeperm = current->data; in cil_resolve_typepermissive() local599 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()