Searched refs:tree_topo (Results 1 – 2 of 2) sorted by relevance
383 static int traverse_tree(tree_node* node, tree_head *tree_topo, int *num_terminal_nodes) in traverse_tree() argument386 if (!tree_topo) return 0; /* should not happen */ in traverse_tree()387 if (tree_topo->nnodes > 255) in traverse_tree()390 tree_topo->nnodes++; in traverse_tree()398 if (node->term.pelid < tree_topo->low_pel_no) in traverse_tree()400 tree_topo->low_pel_no = node->term.pelid; in traverse_tree()401 tree_topo->low_genone_no = node->term.pelid; in traverse_tree()403 if (node->term.pelid > tree_topo->high_pel_no) in traverse_tree()405 tree_topo->high_pel_no = node->term.pelid; in traverse_tree()406 tree_topo->high_genone_no = node->term.pelid; in traverse_tree()[all …]
346 int traverse_tree(tree_node* node, tree_head *tree_topo, int *num_terminal_nodes) in traverse_tree() argument349 tree_topo->nnodes++; in traverse_tree()354 if( node->term.pelid < tree_topo->low_pel_no) in traverse_tree()355 tree_topo->low_pel_no = tree_topo->low_genone_no = node->term.pelid; in traverse_tree()356 if( node->term.pelid > tree_topo->high_pel_no) in traverse_tree()357 tree_topo->high_pel_no = tree_topo->high_genone_no = node->term.pelid; in traverse_tree()359 traverse_tree( (tree_node*)node->node.fail, tree_topo, num_terminal_nodes); in traverse_tree()360 traverse_tree( (tree_node*)node->node.pass, tree_topo, num_terminal_nodes); in traverse_tree()