Home
last modified time | relevance | path

Searched refs:kLemmaIdSize (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Ddicttrie.cpp97 for (uint16 pos = kLemmaIdSize - 1; pos > 0; pos--) in get_lemma_id()
98 id = (id << 8) + lma_idx_buf_[id_offset * kLemmaIdSize + pos]; in get_lemma_id()
99 id = (id << 8) + lma_idx_buf_[id_offset * kLemmaIdSize]; in get_lemma_id()
191 total_lma_num_ = lma_idx_buf_len_ / kLemmaIdSize; in load_dict()
918 size_t top_lmas_id_offset = lma_idx_buf_len_ / kLemmaIdSize - top_lmas_num_; in predict_top_lmas()
H A Ddictbuilder.cpp601 dict_trie->lma_idx_buf_ = new unsigned char[lma_idx_num * kLemmaIdSize]; in build_dict()
606 dict_trie->lma_idx_buf_len_ = lma_idx_num * kLemmaIdSize; in build_dict()
615 id_to_charbuf(dict_trie->lma_idx_buf_ + pos * kLemmaIdSize, in build_dict()
623 id_to_charbuf(dict_trie->lma_idx_buf_ + pos * kLemmaIdSize, idx); in build_dict()
642 for (size_t pos = 0; pos < kLemmaIdSize; pos++) { in id_to_charbuf()
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/
H A Ddictdef.h66 const size_t kLemmaIdSize = 3; // Actually, a Id occupies 3 bytes in storage. variable
H A Dsearchutility.h33 size_t id:(kLemmaIdSize * 8);
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/
H A Ddictdef.h66 const size_t kLemmaIdSize = 3; // Actually, a Id occupies 3 bytes in storage. variable
H A Dsearchutility.h33 size_t id:(kLemmaIdSize * 8);