Home
last modified time | relevance | path

Searched refs:next_dict_c (Results 1 – 2 of 2) sorted by relevance

/dports/chinese/fcitx/fcitx-4.2.9.7/src/module/spell/
H A Dspell-custom.c115 unsigned int next_dict_c; in SpellCustomGetDistance() local
145 dict = fcitx_utf8_get_char(dict, &next_dict_c); in SpellCustomGetDistance()
150 cur_dict_c = next_dict_c; in SpellCustomGetDistance()
157 cur_dict_c = next_dict_c; in SpellCustomGetDistance()
163 if (cur_word_c == next_dict_c || in SpellCustomGetDistance()
164 (custom_dict->word_comp_func && next_dict_c && in SpellCustomGetDistance()
165 custom_dict->word_comp_func(cur_word_c, next_dict_c))) { in SpellCustomGetDistance()
173 if (next_word_c == next_dict_c || in SpellCustomGetDistance()
174 (custom_dict->word_comp_func && next_word_c && next_dict_c && in SpellCustomGetDistance()
175 custom_dict->word_comp_func(next_word_c, next_dict_c))) { in SpellCustomGetDistance()
/dports/textproc/fcitx5/fcitx5-5.0.11/src/modules/spell/
H A Dspell-custom-dict.cpp344 unsigned int next_dict_c; in getDistance() local
377 dict = fcitx_utf8_get_char(dict, &next_dict_c); in getDistance()
380 cur_dict_c = next_dict_c; in getDistance()
386 cur_dict_c = next_dict_c; in getDistance()
392 if (cur_word_c == next_dict_c || in getDistance()
393 (next_dict_c && wordCompare(cur_word_c, next_dict_c))) { in getDistance()
401 if (next_word_c == next_dict_c || in getDistance()
402 (next_word_c && next_dict_c && in getDistance()
403 wordCompare(next_word_c, next_dict_c))) { in getDistance()