Searched refs:token_less_than (Results 1 – 2 of 2) sorted by relevance
/dports/chinese/libpinyin/libpinyin-2.3.0/src/storage/ |
H A D | flexible_single_gram.h | 63 static bool token_less_than(const ArrayItemWithToken & lhs, in token_less_than() function 128 (begin, end, compare_item, token_less_than); in search() 161 (begin, end, compare_item, token_less_than); in insert_array_item() 207 (begin, end, compare_item, token_less_than); in remove_array_item() 246 (begin, end, compare_item, token_less_than); in get_array_item() 278 (begin, end, compare_item, token_less_than); in set_array_item()
|
H A D | ngram.cpp | 131 static bool token_less_than(const SingleGramItem & lhs,const SingleGramItem & rhs){ in token_less_than() function 163 …const SingleGramItem * cur_item = std_lite::lower_bound(begin, end, compare_item, token_less_than); in search() 187 SingleGramItem * cur_item = std_lite::lower_bound(begin, end, compare_item, token_less_than); in insert_freq() 217 …const SingleGramItem * cur_item = std_lite::lower_bound(begin, end, compare_item, token_less_than); in remove_freq() 241 …const SingleGramItem * cur_item = std_lite::lower_bound(begin, end, compare_item, token_less_than); in get_freq() 261 SingleGramItem * cur_item = std_lite::lower_bound(begin, end, compare_item, token_less_than); in set_freq()
|