• Home
  • Raw
  • Download

Lines Matching refs:count

416     uint16 count = searchable->splid_count[i];  in is_prefix_spell_id()  local
417 if (fullids[i] >= start_id && fullids[i] < start_id + count) in is_prefix_spell_id()
434 uint16 count = searchable->splid_count[i]; in equal_spell_id() local
435 if (fullids[i] >= start_id && fullids[i] < start_id + count) in equal_spell_id()
535 uint32 start, count; in _get_lpis() local
536 bool cached = cache_hit(&searchable, &start, &count); in _get_lpis()
539 max_off = start + count; in _get_lpis()
601 count = middle - start; in _get_lpis()
602 cache_push(USER_DICT_CACHE, &searchable, start, count); in _get_lpis()
698 uint32 start, count; in _get_lpis() local
699 bool cached = load_cache(&searchable, &start, &count); in _get_lpis()
702 max_off = start + count; in _get_lpis()
1700 uint16 lemma_len, uint16 count, uint64 lmt) { in _get_lpis() argument
1706 id = _put_lemma(lemma_str, splids, lemma_len, count, lmt); in _get_lpis()
1808 char16 * str, int size, int * count) { in _get_lpis() argument
1810 *count = 0; in _get_lpis()
1907 (*count)++; in _get_lpis()
1971 uint32 count = dict_info_.lemma_count; in _get_lpis() local
1972 int rc = count * dict_info_.reclaim_ratio / 100; in _get_lpis()
2049 uint16 lemma_len, uint16 count) { in _get_lpis() argument
2050 return _put_lemma(lemma_str, splids, lemma_len, count, time(NULL)); in _get_lpis()
2054 uint16 lemma_len, uint16 count, uint64 lmt) { in _get_lpis() argument
2062 int delta_score = count - scores_[off]; in _get_lpis()
2064 scores_[off] = build_score(lmt, count); in _get_lpis()
2097 LemmaIdType id = append_a_lemma(lemma_str, splids, lemma_len, count, lmt); in _get_lpis()
2141 int count = extract_score_freq(score); in _get_lpis() local
2143 if (count + delta_count > kUserDictMaxFrequency || in _get_lpis()
2144 count + delta_count < count) { in _get_lpis()
2145 delta_count = kUserDictMaxFrequency - count; in _get_lpis()
2147 count += delta_count; in _get_lpis()
2152 scores_[off] = build_score(lmt, count); in _get_lpis()
2171 void UserDict::set_total_lemma_count_of_others(size_t count) { in _get_lpis() argument
2172 total_other_nfreq_ = count; in _get_lpis()
2176 uint16 lemma_len, uint16 count, uint64 lmt) { in _get_lpis() argument
2191 scores_[off] = build_score(lmt, count); in _get_lpis()
2251 dict_info_.total_nfreq += count; in _get_lpis()