Searched refs:cand_id (Results 1 - 4 of 4) sorted by relevance

/packages/inputmethods/PinyinIME/jni/include/
H A Dpinyinime.h132 * @param cand_id The id to get a candidate. Started from 0. Usually, id 0
138 char16* im_get_candidate(size_t cand_id, char16* cand_str,
159 * @param cand_id The id of candidate to select and make it fixed.
163 size_t im_choose(size_t cand_id);
H A Dmatrixsearch.h433 char16* get_candidate(size_t cand_id, char16 *cand_str, size_t max_len);
442 size_t choose(size_t cand_id);
/packages/inputmethods/PinyinIME/jni/share/
H A Dpinyinime.cpp116 char16* im_get_candidate(size_t cand_id, char16* cand_str, argument
121 return matrix_search->get_candidate(cand_id, cand_str, max_len);
H A Dmatrixsearch.cpp604 char16* MatrixSearch::get_candidate(size_t cand_id, char16 *cand_str, argument
609 if (0 == cand_id) {
612 cand_id--;
622 LemmaIdType id = lpi_items_[cand_id].id;
625 uint16 s_len = lpi_items_[cand_id].lma_len;
630 s[0] = lpi_items_[cand_id].hanzi;
774 size_t MatrixSearch::choose(size_t cand_id) { argument
778 if (0 == cand_id) {
810 cand_id--;
815 LemmaIdType id_chosen = lpi_items_[cand_id]
[all...]

Completed in 56 milliseconds