Lines Matching defs:length
148 bool MatrixSearch::init_fd(int sys_fd, long start_offset, long length,
156 if (!dict_trie_->load_dict_fd(sys_fd, start_offset, length, 1, kSysDictIdEnd))
296 spl_start_[c_phrase_.length] <= ch_pos))) {
378 c_phrase_.length = splpos;
391 while (c_py_pos < spl_start_[c_phrase_.length]) {
401 fixed_hzs_ = c_phrase_.length;
511 size_t c_py_len = 0; // The length of composing phrase's Pinyin
529 c_phrase_.length = c_phrase_.sublma_start[c_phrase_.sublma_num];
530 reset_pos = spl_start_[c_phrase_.length];
551 assert(c_phrase_.length > 0 && c_py_len ==
572 fixed_hzs_ = c_phrase_.length;
814 // Find the length of the candidate.
834 // 3.2 Save the length of the original string.
977 // extending length.
1249 c_phrase_.length = phrase_len; // will be deleted by 1
1257 phrase_len = c_phrase_.length;
1276 c_phrase_.length -= 1;
1506 if (pos >= c_phrase_.length)
1525 if (pos == c_phrase_.length - 1) {
1831 if (c_phrase_.length > splids_max) {
1834 for (uint16 pos = 0; pos < c_phrase_.length; pos++) {