Searched refs:typeperm (Results 1 – 7 of 7) sorted by relevance
403 struct cil_typepermissive *typeperm = (struct cil_typepermissive *)node->data; in cil_attrib_typepermissive() local405 if (typeperm->type != NULL) { in cil_attrib_typepermissive()
1091 struct cil_typepermissive *typeperm = node->data; in cil_tree_print_node() local1093 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()
2269 void cil_typepermissive_init(struct cil_typepermissive **typeperm) in cil_typepermissive_init() argument2271 *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()
145 void cil_destroy_typepermissive(struct cil_typepermissive *typeperm);
1017 void cil_typepermissive_init(struct cil_typepermissive **typeperm);
3290 struct cil_typepermissive *typeperm = NULL; in cil_gen_typepermissive() local3302 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() argument3319 if (typeperm == NULL) { in cil_destroy_typepermissive()3323 free(typeperm); in cil_destroy_typepermissive()
588 struct cil_typepermissive *typeperm = current->data; in cil_resolve_typepermissive() local593 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()