Home
last modified time | relevance | path

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

/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Dspellingtrie.cpp37 const char SpellingTrie::kHalfId2Sc_[kFullSplIdStart + 1] =
122 if (*splid >= kFullSplIdStart) in if_valid_id_update()
124 if (*splid < kFullSplIdStart) { in if_valid_id_update()
142 if (0 == splid || splid >= kFullSplIdStart) in is_half_id()
149 if (splid < kFullSplIdStart || splid >= kFullSplIdStart + spelling_num_) in is_full_id()
171 if (0 == splid || splid >= kFullSplIdStart) in is_half_id_yunmu()
243 if (NULL == root_ || half_id >= kFullSplIdStart) in half2full_num()
249 if (NULL == spl_id_start || NULL == root_ || half_id >= kFullSplIdStart) in half_to_full()
257 if (NULL == root_ || full_id < kFullSplIdStart || in full_to_half()
258 full_id > spelling_num_ + kFullSplIdStart) in full_to_half()
[all …]
H A Dlpicache.cpp25 lpi_cache_ = new LmaPsbItem[kFullSplIdStart * kMaxLpiCachePerId]; in LpiCache()
26 lpi_cache_len_ = new uint16[kFullSplIdStart]; in LpiCache()
29 for (uint16 id = 0; id < kFullSplIdStart; id++) in LpiCache()
50 if (splid >= kFullSplIdStart) in is_cached()
H A Ddicttrie.cpp222 uint16 last_splid = kFullSplIdStart; in load_dict()
226 splid_le0_index_[splid - kFullSplIdStart] = last_pos; in load_dict()
228 splid_le0_index_[root_[i].spl_idx - kFullSplIdStart] = in load_dict()
235 splid < buf_size + kFullSplIdStart; splid++) { in load_dict()
236 assert(static_cast<size_t>(splid - kFullSplIdStart) < buf_size); in load_dict()
237 splid_le0_index_[splid - kFullSplIdStart] = last_pos + 1; in load_dict()
403 size_t son_start = splid_le0_index_[id_start - kFullSplIdStart]; in extend_dict0()
404 size_t son_end = splid_le0_index_[id_start + id_num - kFullSplIdStart]; in extend_dict0()
602 void *node = root_ + splid_le0_index_[splids[0] - kFullSplIdStart]; in try_extend()
699 size_t son_start = splid_le0_index_[id_start - kFullSplIdStart]; in get_lpis()
[all …]
H A Dsplparser.cpp334 if (splidx[0] >= kFullSplIdStart) in get_splids_parallel()
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/
H A Dspellingtrie.h26 static const unsigned short kFullSplIdStart = kHalfSpellingIdNum + 1; variable
53 static const char kHalfId2Sc_[kFullSplIdStart + 1];
111 uint16 h2f_start_[kFullSplIdStart];
112 uint16 h2f_num_[kFullSplIdStart];
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/
H A Dspellingtrie.h26 static const unsigned short kFullSplIdStart = kHalfSpellingIdNum + 1; variable
53 static const char kHalfId2Sc_[kFullSplIdStart + 1];
111 uint16 h2f_start_[kFullSplIdStart];
112 uint16 h2f_num_[kFullSplIdStart];