Lines Matching refs:node
109 int cil_add_decl_to_symtab(struct cil_db *db, symtab_t *symtab, hashtab_key_t key, struct cil_symtab_datum *datum, struct cil_tree_node *node)
113 if (symtab == NULL || datum == NULL || node == NULL) {
117 rc = cil_symtab_insert(symtab, key, datum, node);
122 cil_log(CIL_ERR, "Re-declaration of %s %s, but previous declaration could not be found\n",cil_node_to_string(node), key);
125 if (!cil_allow_multiple_decls(db, node->flavor, FLAVOR(prev))) {
129 cil_node_to_string(node), key);
130 cil_tree_log(node, CIL_ERR, "Previous declaration of %s",
134 /* multiple_decls is enabled and works for this datum type, add node */
135 cil_list_append(prev->nodes, CIL_NODE, node);
136 node->data = prev;
313 struct cil_tree_node *node;
317 node = item->data;
318 if (node->data == inherit) {
319 cil_list_remove(inherit->block->bi_nodes, CIL_NODE, node, CIL_FALSE);
5355 node containing the macro name is updated to point to the start of the macro content */
5360 /* No statements in macro and macro parameter list was last node */
5463 struct cil_tree_node *node = args->arg->nodes->head->data;
5469 free(node);
5473 free(node);
5477 free(node);
5481 free(node);
5485 free(node);
6489 * the parent is the root node */
6587 // siblings; they have all been converted to the appropriate AST node. The