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