Searched refs:ftoken (Results 1 – 7 of 7) sorted by relevance
/external/srec/srec/crec/ |
D | srec.c | 141 fsmnode_token* ftoken; in reprune_altword_tokens() local 153 for (i = rec->active_fsmnode_tokens;i != MAXftokenID;i = ftoken->next_token_index) in reprune_altword_tokens() 155 ftoken = &rec->fsmnode_token_array[i]; in reprune_altword_tokens() 156 if ((awtoken = ftoken->aword_backtrace) != AWTNULL) in reprune_altword_tokens() 169 for (i = rec->active_fsmnode_tokens;i != MAXftokenID;i = ftoken->next_token_index) in reprune_altword_tokens() 171 ftoken = &rec->fsmnode_token_array[i]; in reprune_altword_tokens() 172 if ((awtoken = ftoken->aword_backtrace) != AWTNULL) in reprune_altword_tokens() 173 if (awtoken->costbasis > ftoken->cost) in reprune_altword_tokens() 174 awtoken->costbasis = ftoken->cost; in reprune_altword_tokens() 196 for (i = rec->active_fsmnode_tokens;i != MAXftokenID;i = ftoken->next_token_index) in reprune_altword_tokens() [all …]
|
D | srec_debug.c | 45 fsmnode_token *ftoken; in print_fsmnode_token() local 54 ftoken = &rec->fsmnode_token_array[token_index]; in print_fsmnode_token() 55 … msg, token_index, rec->id, rec->current_search_frame, ftoken->FSMnode_index, ftoken->cost, ftoken… in print_fsmnode_token() 56 sprint_altwords(rec, ftoken->aword_backtrace, buf), in print_fsmnode_token() 57 ftoken->word_backtrace, ftoken->next_token_index); in print_fsmnode_token() 60 if (ftoken->word < rec->context->olabels->num_words) in print_fsmnode_token() 61 p = rec->context->olabels->words[ftoken->word]; in print_fsmnode_token() 62 …sprint_bword_token_backtrace(word_backtrace_trans, sizeof(word_backtrace_trans), rec, ftoken->word… in print_fsmnode_token() 72 fsmnode_token* ftoken = &rec->fsmnode_token_array[token_index]; in print_fsmnode_token_list() local 74 token_index = ftoken->next_token_index; in print_fsmnode_token_list()
|
D | srec_tokens.c | 197 fsmnode_token* ftoken = &rec->fsmnode_token_array[token_index]; in count_fsmnode_token_list() local 198 token_index = ftoken->next_token_index; in count_fsmnode_token_list() 207 fsmnode_token* ftoken = NULL; in initialize_free_fsmnode_tokens() local 211 ftoken = &rec->fsmnode_token_array[i]; in initialize_free_fsmnode_tokens() 212 ftoken->next_token_index = i + 1; in initialize_free_fsmnode_tokens() 215 ftoken->next_token_index = MAXftokenID; in initialize_free_fsmnode_tokens() 222 fsmnode_token* ftoken; in get_free_fsmnode_token() local 243 ftoken = &rec->fsmnode_token_array[token_to_return]; in get_free_fsmnode_token() 244 rec->fsmnode_token_freelist = ftoken->next_token_index; in get_free_fsmnode_token() 255 fsmnode_token* ftoken; in free_fsmnode_token() local [all …]
|
D | srec_eosd.c | 85 fsmnode_token *ftoken, *eftoken, *oeftoken, *xftoken; in srec_check_end_of_speech() local 132 ftoken = &rec->fsmnode_token_array[ ftoken_index]; in srec_check_end_of_speech() 133 if (eosd_state->internalnode_node_index != ftoken->FSMnode_index) in srec_check_end_of_speech() 135 eosd_state->internalnode_node_index = ftoken->FSMnode_index; in srec_check_end_of_speech() 140 if (ftoken->word != rec->context->beg_silence_word) in srec_check_end_of_speech() 240 ftoken = &rec->fsmnode_token_array [ ftoken_index]; in srec_check_end_of_speech()
|
D | srec_stats.c | 84 fsmnode_token* ftoken; in srec_stats_update() local 106 for (num = 0 ; ft_index != MAXftokenID; ft_index = ftoken->next_token_index) in srec_stats_update() 108 ftoken = &rec->fsmnode_token_array[ft_index]; in srec_stats_update()
|
D | word_lattice.c | 611 fsmnode_token* ftoken; local 630 for (; ftoken_index != MAXftokenID; ftoken_index = ftoken->next_token_index) 632 ftoken = &rec->fsmnode_token_array[ftoken_index]; 633 if (ftoken->word_backtrace == old_token_index) 636 old_token_index, ftoken_index, ftoken->cost);
|
D | astar.c | 1077 fsmnode_token* ftoken; in astar_stack_prepare_from_active_search() local 1097 for (; ftoken_index != MAXftokenID; ftoken_index = ftoken->next_token_index) in astar_stack_prepare_from_active_search() 1099 ftoken = &rec->fsmnode_token_array[ ftoken_index]; in astar_stack_prepare_from_active_search() 1100 wtoken_index = ftoken->word_backtrace; in astar_stack_prepare_from_active_search() 1105 parp_costsofar = ftoken->cost; in astar_stack_prepare_from_active_search()
|