Searched refs:next_token_index (Results 1 – 13 of 13) sorted by relevance
/external/srec/srec/crec/ |
D | srec_tokens.c | 44 token_index = stoken->next_token_index; in count_fsmarc_token_list() 60 rec->fsmarc_token_array[i].next_token_index = i + 1; in initialize_free_fsmarc_tokens() 62 rec->fsmarc_token_array[rec->fsmarc_token_array_size-1].next_token_index = MAXstokenID; in initialize_free_fsmarc_tokens() 108 rec->fsmarc_token_freelist = token->next_token_index; in setup_free_fsmarc_token() 120 stoken->next_token_index = rec->fsmarc_token_freelist; in free_fsmarc_token() 144 wtoken->next_token_index = i + 1; in initialize_free_word_tokens() 147 wtoken->next_token_index = MAXwtokenID; in initialize_free_word_tokens() 176 rec->word_token_freelist = wtoken->next_token_index; in get_free_word_token() 198 token_index = ftoken->next_token_index; in count_fsmnode_token_list() 212 ftoken->next_token_index = i + 1; in initialize_free_fsmnode_tokens() [all …]
|
D | priority_q.c | 91 *ptoken_index = token->next_token_index; in remove_non_end_word_from_q() 102 ptoken_index = &(token->next_token_index); in remove_non_end_word_from_q() 170 token_index = token->next_token_index; in sanity_check_priority_q() 209 token_index = token->next_token_index; in add_word_token_to_priority_q() 249 token->next_token_index = (*ptoken_index); in add_word_token_to_priority_q() 263 ptoken_index = &(token->next_token_index); in add_word_token_to_priority_q() 271 token_to_add->next_token_index = token_index; in add_word_token_to_priority_q() 281 *pdelete_index = token_to_delete->next_token_index; in add_word_token_to_priority_q() 295 pq->word_token_list = token->next_token_index; in add_word_token_to_priority_q()
|
D | srec.c | 146 for (i = rec->active_fsmarc_tokens; i != MAXstokenID; i = stoken->next_token_index) in reprune_altword_tokens() 153 for (i = rec->active_fsmnode_tokens;i != MAXftokenID;i = ftoken->next_token_index) in reprune_altword_tokens() 160 for (i = rec->active_fsmarc_tokens; i != MAXstokenID; i = stoken->next_token_index) in reprune_altword_tokens() 169 for (i = rec->active_fsmnode_tokens;i != MAXftokenID;i = ftoken->next_token_index) in reprune_altword_tokens() 183 for (i = rec->active_fsmarc_tokens; i != MAXstokenID; i = stoken->next_token_index) in reprune_altword_tokens() 196 for (i = rec->active_fsmnode_tokens;i != MAXftokenID;i = ftoken->next_token_index) in reprune_altword_tokens() 398 current_token_index = current_token->next_token_index; in find_which_models_to_compute() 426 current_ftoken_index = current_ftoken->next_token_index; in find_which_models_to_compute() 447 stokenID next_token_index; in prune_new_tokens() local 455 token_index = next_token_index) in prune_new_tokens() [all …]
|
D | word_lattice.c | 93 wtoken_index = wtoken->next_token_index; in lattice_best_cost_to_frame() 346 ASSERT(wtoken_index != wtoken->next_token_index); in print_word_token_list() 347 wtoken_index = wtoken->next_token_index; in print_word_token_list() 556 pwi[npwi] = wtoken->next_token_index; 580 wtoken->next_token_index = pwi[i+1]; /* last points nowhwere */ 592 wtoken->next_token_index = rec->word_token_freelist; 615 for (; stoken_index != MAXstokenID; stoken_index = stoken->next_token_index) 630 for (; ftoken_index != MAXftokenID; ftoken_index = ftoken->next_token_index) 665 for (; (*rtoken_index) != MAXwtokenID; rtoken_index = &rtoken->next_token_index) 670 *rtoken_index = wtoken->next_token_index; [all …]
|
D | astar.c | 85 root_arc.next_token_index = ARC_TOKEN_NULL; in get_arc_for_word() 93 for (; atoken; atoken = ARC_TOKEN_PTR(arc_token_list, atoken->next_token_index)) in get_arc_for_word() 100 tmp = ARC_TOKEN_PTR(arc_token_list, tmp->next_token_index)) in get_arc_for_word() 125 tmp = ARC_TOKEN_PTR(arc_token_list, tmp->next_token_index)) in get_arc_for_word() 141 if (tmp->ilabel == WORD_EPSILON_LABEL && tmp->next_token_index == ARC_TOKEN_NULL) in get_arc_for_word() 143 for (; tmp; tmp = ARC_TOKEN_PTR(arc_token_list, tmp->next_token_index)) in get_arc_for_word() 187 root_arc.next_token_index = ARC_TOKEN_NULL; in get_arc_for_word_without_slot_annotation() 204 tmp = ARC_TOKEN_PTR(arc_token_list, tmp->next_token_index)) in get_arc_for_word_without_slot_annotation() 213 tmp = ARC_TOKEN_PTR(arc_token_list, tmp->next_token_index)) in get_arc_for_word_without_slot_annotation() 592 token_index = wtoken->next_token_index) in astar_stack_prepare() [all …]
|
D | srec_stats.c | 96 for (num = 0; st_index != MAXstokenID; st_index = stoken->next_token_index) in srec_stats_update() 106 for (num = 0 ; ft_index != MAXftokenID; ft_index = ftoken->next_token_index) in srec_stats_update() 118 for (; wt_index != MAXwtokenID; wt_index = wtoken->next_token_index) in srec_stats_update()
|
D | srec_debug.c | 57 ftoken->word_backtrace, ftoken->next_token_index); in print_fsmnode_token() 74 token_index = ftoken->next_token_index; in print_fsmnode_token_list() 127 token_index = stoken->next_token_index; in print_fsmarc_token_list()
|
D | srec_context.c | 1758 if ((nodeID)(int)arc_token_list[i].next_token_index == node) in get_first_arc_leaving_node() 1818 atoken->next_token_index = (arc_token_lnk)from_node; in FST_LoadReverseWordGraph() 1838 if (atoken->next_token_index != last_atoken->next_token_index) in FST_LoadReverseWordGraph() 1840 last_atoken->next_token_index = ARC_TOKEN_NULL; in FST_LoadReverseWordGraph() 1844 last_atoken->next_token_index = ARC_TOKEN_LNK(arc_token_list, i); in FST_LoadReverseWordGraph() 1848 last_atoken->next_token_index = ARC_TOKEN_NULL; in FST_LoadReverseWordGraph() 1859 tmp = ARC_TOKEN_PTR(arc_token_list, tmp->next_token_index)) in FST_LoadReverseWordGraph() 1894 atoken->next_token_index = ARC_TOKEN_LNK(arc_token_list, i + 1);/*atoken+1;*/ in FST_LoadReverseWordGraph() 1897 atoken->next_token_index = ARC_TOKEN_NULL; in FST_LoadReverseWordGraph() 1907 for (; atoken; atoken = ARC_TOKEN_PTR(arc_token_list, atoken->next_token_index)) in FST_LoadReverseWordGraph() [all …]
|
D | text_parser.c | 96 tmp = ARC_TOKEN_PTR(context->arc_token_list, tmp->next_token_index)) in check_word_path()
|
/external/srec/srec/Semproc/src/ |
D | SemanticGraphImpl.c | 253 if ((nodeID)(int)arc_token_list[i].next_token_index == node) in get_first_arc_leaving_node1() 485 atoken->next_token_index = (arc_token_lnk)from_node; in SR_SemanticGraph_LoadFromTextFiles() 516 if (atoken->next_token_index != last_atoken->next_token_index) in SR_SemanticGraph_LoadFromTextFiles() 517 last_atoken->next_token_index = ARC_TOKEN_NULL; in SR_SemanticGraph_LoadFromTextFiles() 519 last_atoken->next_token_index = ARC_TOKEN_LNK(arc_token_list, i); in SR_SemanticGraph_LoadFromTextFiles() 522 last_atoken->next_token_index = ARC_TOKEN_NULL; in SR_SemanticGraph_LoadFromTextFiles() 534 for (; tmp; tmp = ARC_TOKEN_PTR(arc_token_list, tmp->next_token_index)) in SR_SemanticGraph_LoadFromTextFiles() 563 … semgraph->arc_token_list[i].next_token_index = ARC_TOKEN_LNK(semgraph->arc_token_list, (i + 1)); in SR_SemanticGraph_LoadFromTextFiles() 566 semgraph->arc_token_list[i].next_token_index = ARC_TOKEN_NULL; in SR_SemanticGraph_LoadFromTextFiles() 655 for (; atoken; atoken = ARC_TOKEN_PTR(arc_token_list, atoken->next_token_index)) in sr_semanticgraph_get_type() [all …]
|
D | SemanticProcessorImpl.c | 264 …(atok = atoken_start; atok; atok = ARC_TOKEN_PTR(semgraph->arc_token_list, atok->next_token_index)) in checkpath_forwardByWordID() 282 …s_for_slot[atok->ilabel]; 0 && a; a = ARC_TOKEN_PTR(semgraph->arc_token_list, a->next_token_index)) in checkpath_forwardByWordID() 371 …(atok = atoken_start; atok; atok = ARC_TOKEN_PTR(semgraph->arc_token_list, atok->next_token_index)) in checkpath_forward() 391 …s_for_slot[atok->ilabel]; 0 && a; a = ARC_TOKEN_PTR(semgraph->arc_token_list, a->next_token_index)) in checkpath_forward()
|
/external/srec/srec/include/ |
D | srec.h | 75 stokenID next_token_index; /* for maintaining linked lists of these member 92 ftokenID next_token_index; member 109 wtokenID next_token_index; /* for maintaining linked lists of these tokens member
|
D | astar.h | 65 arc_token_lnk next_token_index; member
|