Home
last modified time | relevance | path

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

/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Dspellingtable.cpp82 for (size_t pos = 0; pos < spelling_size_; pos++) { in get_hash_pos()
117 spelling_size_ = pure_spl_size + 1; in init_table()
119 spelling_size_ += 1; in init_table()
124 spelling_buf_ = new char[spelling_max_num_ * (spelling_size_)]; in init_table()
131 memset(spelling_buf_, 0, spelling_max_num_ * (spelling_size_)); in init_table()
151 raw_spellings_[hash_pos].str[spelling_size_ - 1] = '\0'; in put_spelling()
154 spelling_size_ - 1) == 0) { in put_spelling()
163 spelling_str, spelling_size_ - 1) == 0) { in put_spelling()
170 strncpy(raw_spellings_[hash_pos].str, spelling_str, spelling_size_ - 1); in put_spelling()
171 raw_spellings_[hash_pos].str[spelling_size_ - 1] = '\0'; in put_spelling()
[all …]
H A Dspellingtrie.cpp60 spelling_size_ = 0; in SpellingTrie()
297 spelling_size_ = item_size; in construct()
305 splstr_queried_ = new char[spelling_size_]; in construct()
311 splstr16_queried_ = new char16[spelling_size_]; in construct()
316 qsort(spelling_buf_, spelling_num_, spelling_size_, compare_spl); in construct()
379 const char *spl_str = spelling_buf_ + spelling_size_ * pos; in build_ym_info()
433 if (level >= spelling_size_ || item_end <= item_start || NULL == parent) in construct_spellings_subset()
440 const char *spelling_last_start = spelling_buf_ + spelling_size_ * item_start; in construct_spellings_subset()
447 const char *spelling_current = spelling_buf_ + spelling_size_ * i; in construct_spellings_subset()
466 spelling_last_start = spelling_buf_ + spelling_size_ * item_start; in construct_spellings_subset()
[all …]
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/
H A Dspellingtable.h53 size_t spelling_size_; variable
H A Dspellingtrie.h66 uint32 spelling_size_; variable
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/
H A Dspellingtable.h53 size_t spelling_size_; variable
H A Dspellingtrie.h66 uint32 spelling_size_; variable