/packages/inputmethods/PinyinIME/jni/include/ |
searchutility.h | 63 // 1. splids = {w, m}; splids_extended = 1; ext_len = 1; step_no = 1; 66 // 2. splids = {m}; splids_extended = 0; ext_len = 1; step_no = 1; 71 // splids = {wo, men}, splids_extended = 1, ext_len = 3 (length of "men"), 79 uint16 splids[kMaxSearchSteps]; member in struct:ime_pinyin::__anon35221 81 // Number of ids that have been used before. splids[splids_extended] is the 90 // in the input Pinyin string for the substring of spelling ids in splids[].
|
/packages/inputmethods/PinyinIME/jni/share/ |
userdict.cpp | 358 *lpi_num = _get_lpis(dep->splids, dep->splids_extended + 1, 455 const uint16 * splids = get_lemma_spell_ids(offset); local 456 int cmp = fuzzy_compare_spell_id(splids, nchar, searchable); 457 int pre = is_fuzzy_prefix_spell_id(splids, nchar, searchable); 570 uint16 * splids = get_lemma_spell_ids(offset); local 572 if (!cached && 0 != fuzzy_compare_spell_id(splids, nchar, &searchable)) { 574 if (0 != fuzzy_compare_spell_id(splids, nchar, &searchable)) { 580 if (is_fuzzy_prefix_spell_id(splids, nchar, &searchable)) { 582 is_prefix_spell_id(splids, nchar, &searchable)) { 590 if (equal_spell_id(splids, nchar, &searchable) == true) [all...] |