Lines Matching full:uint16
44 void reset_milestones(uint16 from_step, MileStoneHandle from_handle);
50 size_t get_lpis(const uint16 *splid_str, uint16 splid_str_len,
53 uint16 get_lemma_str(LemmaIdType id_lemma, char16* str_buf,
54 uint16 str_max);
56 uint16 get_lemma_splids(LemmaIdType id_lemma, uint16 *splids,
57 uint16 splids_max, bool arg_valid);
59 size_t predict(const char16 last_hzs[], uint16 hzs_len,
64 LemmaIdType put_lemma(char16 lemma_str[], uint16 splids[],
65 uint16 lemma_len, uint16 count);
70 LemmaIdType get_lemma_id(char16 lemma_str[], uint16 splids[],
71 uint16 lemma_len);
75 LmaScoreType get_lemma_score(char16 lemma_str[], uint16 splids[],
76 uint16 lemma_len);
97 LemmaIdType put_lemma_no_sync(char16 lemma_str[], uint16 splids[],
98 uint16 lemma_len, uint16 count, uint64 lmt);
163 static const uint16 kUserDictMaxFrequency = 0xFFFF;
239 uint16 splids_len;
240 uint16 splid_start[kMaxLemmaSize];
241 uint16 splid_count[kMaxLemmaSize];
257 uint16 head, tail;
265 uint16 head, tail;
300 inline int64 utf16le_atoll(uint16 *s, int len);
302 inline int utf16le_lltoa(int64 v, uint16 *s, int size);
304 LemmaIdType _put_lemma(char16 lemma_str[], uint16 splids[],
305 uint16 lemma_len, uint16 count, uint64 lmt);
307 size_t _get_lpis(const uint16 *splid_str, uint16 splid_str_len,
310 int _get_lemma_score(char16 lemma_str[], uint16 splids[], uint16 lemma_len);
314 int is_fuzzy_prefix_spell_id(const uint16 * id1, uint16 len1,
317 bool is_prefix_spell_id(const uint16 * fullids,
318 uint16 fulllen, const UserDictSearchable *searchable);
340 uint16 * get_lemma_spell_ids(uint32 offset);
342 uint16 * get_lemma_word(uint32 offset);
346 const uint16 * splids, uint16 len);
349 int32 fuzzy_compare_spell_id(const uint16 * id1, uint16 len1,
354 bool equal_spell_id(const uint16 * fullids,
355 uint16 fulllen, const UserDictSearchable *searchable);
360 LemmaIdType append_a_lemma(char16 lemma_str[], uint16 splids[],
361 uint16 lemma_len, uint16 count, uint64 lmt);
365 uint16 splid_str[], uint16 lemma_len);
369 uint32 locate_where_to_insert_in_predicts(const uint16 * words,
372 int32 locate_first_in_predicts(const uint16 * words, int lemma_len);