Searched refs:top_lmas_num_ (Results 1 - 4 of 4) sorted by relevance

/packages/inputmethods/PinyinIME/jni/share/
H A Ddictbuilder.cpp165 top_lmas_num_ = 0;
184 top_lmas_num_ = 0;
290 top_lmas_num_ = 0;
295 if (0 == top_lmas_num_) {
297 top_lmas_num_ = 1;
301 if (lemma_arr_[pos].freq > top_lmas_[top_lmas_num_ - 1].freq) {
302 if (kTopScoreLemmaNum > top_lmas_num_)
303 top_lmas_num_ += 1;
306 for (move_pos = top_lmas_num_ - 1; move_pos > 0; move_pos--) {
316 } else if (kTopScoreLemmaNum > top_lmas_num_) {
[all...]
H A Ddicttrie.cpp39 top_lmas_num_ = 0;
125 if (fwrite(&top_lmas_num_, sizeof(size_t), 1, fp) != 1)
181 if (fread(&top_lmas_num_, sizeof(size_t), 1, fp) != 1 ||
182 top_lmas_num_ >= lma_idx_buf_len_)
919 size_t top_lmas_id_offset = lma_idx_buf_len_ / kLemmaIdSize - top_lmas_num_;
921 while (item_num < npre_max && top_lmas_pos < top_lmas_num_) {
/packages/inputmethods/PinyinIME/jni/include/
H A Ddictbuilder.h67 size_t top_lmas_num_; member in class:ime_pinyin::DictBuilder
H A Ddicttrie.h84 size_t top_lmas_num_; // Number of lemma with highest scores. member in class:ime_pinyin::DictTrie

Completed in 59 milliseconds