Lines Matching defs:num_nodes
229 for (i = 0; i < context->num_nodes; i++)
232 if (i != context->num_nodes)
912 nodeID from_node, last_from_node, into_node, num_nodes, max_node_number = 0;
996 fst->num_nodes = 0;
1087 num_nodes = (nodeID)(max_node_number + 1);
1088 if( max_num_FSMnodes > num_nodes) {
1089 fst->FSMnode_freelist = num_nodes;
1090 for (i = num_nodes; i < (max_num_FSMnodes - 1); i++)
1107 fst->num_base_nodes = fst->num_nodes = num_nodes;
1147 for (i = 0; i < fst->num_nodes; i++)
1268 if (i < 0 || start_node>=fst->num_nodes || end_node>=fst->num_nodes)
1311 if (fst->num_nodes + pron_len > fst->max_searchable_nodes)
1658 if( fst->num_nodes == fst->num_base_nodes )
1666 fst->num_nodes = fst->FSMnode_list_len = fst->num_base_nodes;
1702 fst->num_nodes = fst->num_base_nodes;*/
1992 /* ASSERT( (int)(ntok - fst->FSMnode_list) == fst->num_nodes); */
1993 fst->num_nodes++;
2004 /* fst->num_nodes--; not allowed unless we compress! */
2352 if(fst->num_nodes + add_tree_len >= fst->FSMnode_list_len)
3090 tmp[i++] = context->num_nodes;
3138 for (j = 0; j < context->num_nodes; j++) {
3303 fst->num_nodes = max_num_FSMnodes = tmp[i++];
3325 ASSERT(fst->num_nodes >= fst->num_base_nodes); // was ==
3404 ASSERT(tmp[0] < fst->num_nodes);
3405 ASSERT(tmp[1] < fst->num_nodes);
3423 if (fst->num_nodes < fst->FSMnode_list_len)
3425 fst->FSMnode_freelist = fst->num_nodes;
3426 for (i = fst->num_nodes; i < (unsigned)fst->FSMnode_list_len - 1; i++)
3443 for (i = 0; i < fst->num_nodes; i++)
3603 nodeID *nodes, num_nodes, num_alloc;
3654 optends->num_nodes = 1;
3660 for (i = 0; i < optends->num_nodes; i++)
3674 for (j = 0; j < optends->num_nodes; j++)
3677 if (j == optends->num_nodes)
3679 if (optends->num_nodes < optends->num_alloc)
3680 optends->nodes[ optends->num_nodes++] = arc->fr_node;
3693 for (i = 0; i < context->num_nodes; i++)
3702 for (i = 0, j = 0; i < optends->num_nodes; i++)
3716 optends->num_nodes = j;
3718 /* printf("get_oppend_nodes (%d)", optends->num_nodes);
3719 for(i=0; i<optends->num_nodes; i++) printf(" %d", optends->nodes[i]);