Home
last modified time | relevance | path

Searched refs:ch_pos (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Dmatrixsearch.cpp265 bool MatrixSearch::reset_search(size_t ch_pos, bool clear_fixed_this_step, in reset_search() argument
268 if (!inited_ || ch_pos > pys_decoded_len_ || ch_pos >= kMaxRowNum) in reset_search()
271 if (0 == ch_pos) { in reset_search()
276 if (clear_dmi_this_step && matrix_[ch_pos].dmi_num > 0) { in reset_search()
277 dict_handles_to_clear = dmi_pool_[matrix_[ch_pos].dmi_pos].dict_handles; in reset_search()
282 if (pys_decoded_len_ > ch_pos && !clear_dmi_this_step) { in reset_search()
284 if (matrix_[ch_pos + 1].dmi_num > 0) { in reset_search()
286 dmi_pool_[matrix_[ch_pos + 1].dmi_pos].dict_handles; in reset_search()
291 dict_trie_->reset_milestones(ch_pos, dict_handles_to_clear[0]); in reset_search()
293 user_dict_->reset_milestones(ch_pos, dict_handles_to_clear[1]); in reset_search()
[all …]
H A Ddicttrie.cpp812 size_t ch_pos = lma_num + homo_pos; in get_lpis() local
813 lma_buf[ch_pos].id = in get_lpis()
815 lma_buf[ch_pos].lma_len = 1; in get_lpis()
816 lma_buf[ch_pos].psb = in get_lpis()
817 static_cast<LmaScoreType>(ngram.get_uni_psb(lma_buf[ch_pos].id)); in get_lpis()
826 size_t ch_pos = lma_num + homo_pos; in get_lpis() local
828 lma_buf[ch_pos].id = get_lemma_id(node_homo_off + homo_pos); in get_lpis()
829 lma_buf[ch_pos].lma_len = splid_str_len; in get_lpis()
830 lma_buf[ch_pos].psb = in get_lpis()
831 static_cast<LmaScoreType>(ngram.get_uni_psb(lma_buf[ch_pos].id)); in get_lpis()
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/
H A Dmatrixsearch.h265 bool reset_search(size_t ch_pos, bool clear_fixed_this_step,
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/
H A Dmatrixsearch.h265 bool reset_search(size_t ch_pos, bool clear_fixed_this_step,