Searched refs:lma_len (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/ |
| H A D | dicttrie.cpp | 321 lpi_items[lpi_num].lma_len = 1; in fill_lpi_buffer() 334 uint16 lma_len) { in fill_lpi_buffer() argument 339 lpi_items[lpi_num].lma_len = lma_len; in fill_lpi_buffer() 815 lma_buf[ch_pos].lma_len = 1; in get_lpis() 829 lma_buf[ch_pos].lma_len = splid_str_len; in get_lpis() 855 uint16 lma_len = get_lemma_str(id_lemma, lma_str, kMaxLemmaSize + 1); in get_lemma_splids() local 856 assert((!arg_valid && splids_max >= lma_len) || lma_len == splids_max); in get_lemma_splids() 863 for (uint16 pos = 0; pos < lma_len; pos++) { in get_lemma_splids() 880 for (uint16 pos = 0; pos < lma_len; pos++) { in get_lemma_splids() 886 if (try_extend(splids, lma_len, id_lemma)) in get_lemma_splids() [all …]
|
| H A D | matrixsearch.cpp | 648 uint16 s_len = lpi_items_[cand_id].lma_len; in get_candidate() 690 uint16 lma_len = lma_start_[pos + 1] - lma_start_[pos]; in add_lma_to_userdict() local 691 utf16_strncpy(spl_ids + spl_id_fr, spl_id_ + lma_start_[pos], lma_len); in add_lma_to_userdict() 695 assert(tmp == lma_len); in add_lma_to_userdict() 697 tmp = get_lemma_splids(lma_id, spl_ids + spl_id_fr, lma_len, true); in add_lma_to_userdict() 698 if (tmp != lma_len) { in add_lma_to_userdict() 702 spl_id_fr += lma_len; in add_lma_to_userdict() 840 size_t cand_len = lpi_items_[cand_id].lma_len; in choose() 1263 uint16 lma_len; in merge_fixed_lmas() local 1267 lma_len = get_lemma_str(lma_id_[pos], lma_str, kMaxRowNum - phrase_len); in merge_fixed_lmas() [all …]
|
| H A D | searchutility.cpp | 52 size_t up1 = item1->psb * (item2->lma_len); in cmp_lpi_with_unified_psb() 53 size_t up2 = item2->psb * (item1->lma_len); in cmp_lpi_with_unified_psb()
|
| H A D | userdict.cpp | 625 lpi_items[lpi_current].lma_len = nchar; in _get_lpis()
|
| /OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/ |
| H A D | searchutility.h | 34 size_t lma_len:4; member
|
| H A D | dicttrie.h | 122 uint16 lma_len);
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/ |
| H A D | searchutility.h | 34 size_t lma_len:4; member
|
| H A D | dicttrie.h | 122 uint16 lma_len);
|