Searched refs:lma_num (Results 1 - 5 of 5) sorted by relevance

/packages/inputmethods/PinyinIME/jni/include/
H A Ddictbuilder.h162 // lma_num is the number of items to be loaded
163 bool alloc_resource(size_t lma_num);
H A Dmatrixsearch.h363 // candidate 0. lma_from is from which lemma in lma_ids_, lma_num is the
367 bool add_lma_to_userdict(uint16 lma_from, uint16 lma_num, float score);
/packages/inputmethods/PinyinIME/jni/share/
H A Ddicttrie.cpp800 size_t lma_num = 0; local
813 size_t ch_pos = lma_num + homo_pos;
820 if (lma_num + homo_pos >= max_lma_buf - 1)
827 size_t ch_pos = lma_num + homo_pos;
834 if (lma_num + homo_pos >= max_lma_buf - 1)
839 lma_num += num_of_homo;
840 if (lma_num >= max_lma_buf) {
841 lma_num = max_lma_buf;
845 return lma_num;
H A Ddictbuilder.cpp175 bool DictBuilder::alloc_resource(size_t lma_num) { argument
176 if (0 == lma_num)
181 lemma_num_ = lma_num;
H A Dmatrixsearch.cpp1155 size_t lma_num; local
1156 lma_num = get_lpis(spl_id_ + fixed_hzs_, lma_size,
1161 if (lma_num > 0) {
1162 lpi_total_ += lma_num;

Completed in 58 milliseconds