Lines Matching defs:node
18 static int xbc_show_value(struct xbc_node *node, bool semicolon)
25 xbc_array_for_each_value(node, val) {
30 printf("%c%s%c%s", q, val, q, node->next ? ", " : eol);
38 struct xbc_node *node, *cnode;
41 node = xbc_root_node();
42 while (node && xbc_node_is_key(node)) {
45 cnode = xbc_node_get_child(node);
47 printf("%s.", xbc_node_get_data(node));
48 node = cnode;
49 cnode = xbc_node_get_child(node);
52 printf("%s {\n", xbc_node_get_data(node));
54 node = cnode;
57 printf("%s = ", xbc_node_get_data(node));
60 printf("%s;\n", xbc_node_get_data(node));
63 if (node->next) {
64 node = xbc_node_get_next(node);
67 while (!node->next) {
68 node = xbc_node_get_parent(node);
69 if (!node)
71 if (!xbc_node_get_child(node)->next)
78 node = xbc_node_get_next(node);