Searched refs:num_terminal_nodes (Results 1 – 2 of 2) sorted by relevance
/external/srec/srec/clib/ |
D | srec_arb.c | 383 static int traverse_tree(tree_node* node, tree_head *tree_topo, int *num_terminal_nodes) in traverse_tree() argument 394 if (num_terminal_nodes) in traverse_tree() 396 (*num_terminal_nodes)++; in traverse_tree() 411 traverse_tree((tree_node*)node->node.fail, tree_topo, num_terminal_nodes); in traverse_tree() 412 traverse_tree((tree_node*)node->node.pass, tree_topo, num_terminal_nodes); in traverse_tree() 419 static int num_nodes_in_tree(tree_node* node, int *num_terminal_nodes) 422 *num_terminal_nodes = 0; 424 traverse_tree(node, &topo, num_terminal_nodes);
|
/external/srec/tools/test_g2g/ |
D | test_g2g.c | 346 int traverse_tree(tree_node* node, tree_head *tree_topo, int *num_terminal_nodes) in traverse_tree() argument 352 if(num_terminal_nodes) in traverse_tree() 353 (*num_terminal_nodes)++; 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() 366 int num_nodes_in_tree(tree_node* node, int *num_terminal_nodes) in num_nodes_in_tree() argument 369 *num_terminal_nodes = 0; in num_nodes_in_tree() 371 traverse_tree(node, &topo, num_terminal_nodes); in num_nodes_in_tree()
|