Lines Matching refs:fixed_len
1844 size_t MatrixSearch::inner_predict(const char16 *fixed_buf, uint16 fixed_len,
1854 for (size_t len = fixed_len; len >0; len--) {
1861 if (fixed_len > 1 && 1 == len && 0 == res_total) {
1865 for (size_t nlen = 2; nlen <= fixed_len; nlen++) {
1866 if (dict_trie_->get_lemma_id(fixed_buf + fixed_len - nlen, nlen) > 0) {
1882 dict_trie_->predict(fixed_buf + fixed_len - len, len,
1889 user_dict_->predict(fixed_buf + fixed_len - len, len,
1951 size_t fixed_len = utf16_strlen(fixed_buf);
1952 if (0 ==fixed_len || fixed_len > kMaxPredictSize || 0 == buf_len)
1955 return inner_predict(fixed_buf, fixed_len, predict_buf, buf_len);