Home | History | Annotate | Download | only in share

Lines Matching refs:NPredictItem

137   if ((static_cast<const NPredictItem*>(p1))->psb >
138 (static_cast<const NPredictItem*>(p2))->psb)
141 if ((static_cast<const NPredictItem*>(p1))->psb <
142 (static_cast<const NPredictItem*>(p2))->psb)
149 if ((static_cast<const NPredictItem*>(p1))->his_len <
150 (static_cast<const NPredictItem*>(p2))->his_len)
153 if ((static_cast<const NPredictItem*>(p1))->his_len >
154 (static_cast<const NPredictItem*>(p2))->his_len)
157 if ((static_cast<const NPredictItem*>(p1))->psb >
158 (static_cast<const NPredictItem*>(p2))->psb)
161 if ((static_cast<const NPredictItem*>(p1))->psb <
162 (static_cast<const NPredictItem*>(p2))->psb)
169 int ret_v = (utf16_strncmp((static_cast<const NPredictItem*>(p1))->pre_hzs,
170 (static_cast<const NPredictItem*>(p2))->pre_hzs, kMaxPredictSize));
174 if ((static_cast<const NPredictItem*>(p1))->psb >
175 (static_cast<const NPredictItem*>(p2))->psb)
178 if ((static_cast<const NPredictItem*>(p1))->psb <
179 (static_cast<const NPredictItem*>(p2))->psb)
185 size_t remove_duplicate_npre(NPredictItem *npre_items, size_t npre_num) {
189 myqsort(npre_items, npre_num, sizeof(NPredictItem), cmp_npre_by_hanzi_score);