Home
last modified time | relevance | path

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

/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Dspellingtrie.cpp359 const char* SpellingTrie::get_ym_str(const char *spl_str) { in get_ym_str() argument
361 if (is_shengmu_char(*spl_str)) { in get_ym_str()
362 if ('Z' == *spl_str || 'C' == *spl_str || 'S' == *spl_str) in get_ym_str()
364 spl_str += 1; in get_ym_str()
365 if (start_ZCS && 'h' == *spl_str) in get_ym_str()
366 spl_str += 1; in get_ym_str()
368 return spl_str; in get_ym_str()
379 const char *spl_str = spelling_buf_ + spelling_size_ * pos; in build_ym_info() local
380 spl_str = get_ym_str(spl_str); in build_ym_info()
381 if ('\0' != spl_str[0]) { in build_ym_info()
[all …]
H A Ddictbuilder.cpp661 void DictBuilder::format_spelling_str(char *spl_str) { in format_spelling_str() argument
662 if (NULL == spl_str) in format_spelling_str()
666 while ('\0' != spl_str[pos]) { in format_spelling_str()
667 if (spl_str[pos] >= 'a' && spl_str[pos] <= 'z') in format_spelling_str()
668 spl_str[pos] = spl_str[pos] - 'a' + 'A'; in format_spelling_str()
670 if (1 == pos && 'H' == spl_str[pos]) { in format_spelling_str()
671 if ('C' == spl_str[0] || 'S' == spl_str[0] || 'Z' == spl_str[0]) { in format_spelling_str()
672 spl_str[pos] = 'h'; in format_spelling_str()
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/
H A Ddictbuilder.h115 void format_spelling_str(char *spl_str);
H A Dspellingtrie.h143 const char* get_ym_str(const char *spl_str);
/OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/
H A Ddictbuilder.h115 void format_spelling_str(char *spl_str);
H A Dspellingtrie.h143 const char* get_ym_str(const char *spl_str);