Searched refs:lpi_num (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/PinyinIME/jni/share/ |
D | dicttrie.cpp | 317 size_t lpi_num = 0; in fill_lpi_buffer() local 320 lpi_items[lpi_num].id = get_lemma_id(node->homo_idx_buf_off + in fill_lpi_buffer() 322 lpi_items[lpi_num].lma_len = 1; in fill_lpi_buffer() 323 lpi_items[lpi_num].psb = in fill_lpi_buffer() 324 static_cast<LmaScoreType>(ngram.get_uni_psb(lpi_items[lpi_num].id)); in fill_lpi_buffer() 325 lpi_num++; in fill_lpi_buffer() 326 if (lpi_num >= lpi_max) in fill_lpi_buffer() 330 return lpi_num; in fill_lpi_buffer() 336 size_t lpi_num = 0; in fill_lpi_buffer() local 339 lpi_items[lpi_num].id = get_lemma_id(homo_buf_off + homo); in fill_lpi_buffer() [all …]
|
D | lpicache.cpp | 56 size_t lpi_num) { in put_cache() argument 58 if (num > lpi_num) in put_cache() 59 num = static_cast<uint16>(lpi_num); in put_cache()
|
D | matrixsearch.cpp | 1430 size_t lpi_num = 0; in extend_dmi() local 1435 kMaxLmaPsbItems, &lpi_num); in extend_dmi() 1438 lpi_total_ = lpi_num; in extend_dmi() 1450 &lpi_num); in extend_dmi() 1453 for (size_t t = 0; t < lpi_num; t++) { in extend_dmi() 1458 lpi_total_ += lpi_num; in extend_dmi() 1536 size_t lpi_num, PoolPosType dmi_fr, in extend_mtrx_nd() argument 1547 if (lpi_num > kMaxNodeARow) in extend_mtrx_nd() 1548 lpi_num = kMaxNodeARow; in extend_mtrx_nd() 1552 for (size_t pos = 0; pos < lpi_num; pos++) { in extend_mtrx_nd()
|
D | userdict.cpp | 349 size_t lpi_max, size_t *lpi_num) { in extend_dict() argument 358 *lpi_num = _get_lpis(dep->splids, dep->splids_extended + 1, in extend_dict() 364 return ((*lpi_num > 0 || need_extend) ? 1 : 0); in extend_dict()
|
/packages/inputmethods/PinyinIME/jni/include/ |
D | dicttrie.h | 127 size_t lpi_max, size_t *lpi_num); 132 size_t lpi_max, size_t *lpi_num); 137 size_t lpi_max, size_t *lpi_num); 189 size_t lpi_max, size_t *lpi_num);
|
D | lpicache.h | 51 size_t put_cache(uint16 splid, LmaPsbItem lpi_items[], size_t lpi_num);
|
D | atomdictbase.h | 127 size_t lpi_max, size_t *lpi_num) = 0;
|
D | matrixsearch.h | 329 size_t lpi_num, PoolPosType dmi_fr, size_t res_row);
|
D | userdict.h | 48 size_t lpi_max, size_t *lpi_num);
|