Lines Matching refs:role_node
289 struct role_list_node *role_node; in roles_gather_map() local
293 role_node = calloc(1, sizeof(*role_node)); in roles_gather_map()
294 if (role_node == NULL) { in roles_gather_map()
298 role_node->role_name = key; in roles_gather_map()
299 role_node->role = role; in roles_gather_map()
301 rc = list_prepend((struct list *)args, role_node); in roles_gather_map()
303 free(role_node); in roles_gather_map()
1099 struct role_list_node *role_node = NULL; in roletype_role_in_ancestor_to_cil() local
1110 role_node = curr->data; in roletype_role_in_ancestor_to_cil()
1111 if (!is_id_in_ancestor_scope(pdb, decl_stack, role_node->role_name, SYM_ROLES)) { in roletype_role_in_ancestor_to_cil()
1115 ts = &role_node->role->types; in roletype_role_in_ancestor_to_cil()
1122 cil_println(indent, "(roletype %s %s)", role_node->role_name, type_name); in roletype_role_in_ancestor_to_cil()