• Home
  • Raw
  • Download

Lines Matching refs:LemmaEntry

92   size_t size1 = utf16_strlen(((const LemmaEntry*)p1)->hanzi_str);  in cmp_lemma_entry_hzs()
93 size_t size2 = utf16_strlen(((const LemmaEntry*)p2)->hanzi_str); in cmp_lemma_entry_hzs()
99 return utf16_strcmp(((const LemmaEntry*)p1)->hanzi_str, in cmp_lemma_entry_hzs()
100 ((const LemmaEntry*)p2)->hanzi_str); in cmp_lemma_entry_hzs()
112 int ret = utf16_strcmp(((const LemmaEntry*)p1)->spl_idx_arr, in compare_py()
113 ((const LemmaEntry*)p2)->spl_idx_arr); in compare_py()
118 return static_cast<int>(((const LemmaEntry*)p2)->freq) - in compare_py()
119 static_cast<int>(((const LemmaEntry*)p1)->freq); in compare_py()
124 size_t size1 = utf16_strlen(((const LemmaEntry*)p1)->hanzi_str); in cmp_lemma_entry_hzspys()
125 size_t size2 = utf16_strlen(((const LemmaEntry*)p2)->hanzi_str); in cmp_lemma_entry_hzspys()
130 int ret = utf16_strcmp(((const LemmaEntry*)p1)->hanzi_str, in cmp_lemma_entry_hzspys()
131 ((const LemmaEntry*)p2)->hanzi_str); in cmp_lemma_entry_hzspys()
136 ret = utf16_strcmp(((const LemmaEntry*)p1)->spl_idx_arr, in cmp_lemma_entry_hzspys()
137 ((const LemmaEntry*)p2)->spl_idx_arr); in cmp_lemma_entry_hzspys()
142 int ret = utf16_strcmp(((const LemmaEntry*)p1)->spl_idx_arr, in compare_splid2()
143 ((const LemmaEntry*)p2)->spl_idx_arr); in compare_splid2()
182 lemma_arr_ = new LemmaEntry[lemma_num_]; in alloc_resource()
185 top_lmas_ = new LemmaEntry[kTopScoreLemmaNum]; in alloc_resource()
211 memset(lemma_arr_, 0, sizeof(LemmaEntry) * lemma_num_); in alloc_resource()
577 myqsort(lemma_arr_, lemma_num_, sizeof(LemmaEntry), compare_py); in build_dict()
683 myqsort(lemma_arr_, lemma_num_, sizeof(LemmaEntry), cmp_lemma_entry_hzs); in sort_lemmas_by_hz()
770 bool DictBuilder::construct_subset(void* parent, LemmaEntry* lemma_arr, in construct_subset()
781 LemmaEntry *lma_last_start = lemma_arr_ + item_start; in construct_subset()
786 LemmaEntry *lma_current = lemma_arr + i; in construct_subset()
859 LemmaEntry* lma_current = lemma_arr_ + i; in construct_subset()