Home | History | Annotate | Download | only in share

Lines Matching full:uint16

119   uint16 lmt16 = (uint16)lmt;
126 inline int64 UserDict::utf16le_atoll(uint16 *s, int len) {
132 const uint16 * endp = s + len;
147 inline int UserDict::utf16le_lltoa(int64 v, uint16 *s, int size) {
150 uint16 *endp = s + size;
158 uint16 *b = s;
193 inline uint16 * UserDict::get_lemma_spell_ids(uint32 offset) {
195 return (uint16 *)(lemmas_ + offset + 2);
198 inline uint16 * UserDict::get_lemma_word(uint32 offset) {
201 return (uint16 *)(lemmas_ + offset + 2 + (nchar << 1));
342 void UserDict::reset_milestones(uint16 from_step, MileStoneHandle from_handle) {
368 const uint16 * id1, uint16 len1, const UserDictSearchable *searchable) {
376 uint16 off = 8 * (i % 4);
386 const uint16 * id1, uint16 len1, const UserDictSearchable *searchable) {
396 uint16 off = 8 * (i % 4);
408 const uint16 * fullids, uint16 fulllen,
415 uint16 start_id = searchable->splid_start[i];
416 uint16 count = searchable->splid_count[i];
426 const uint16 * fullids, uint16 fulllen,
433 uint16 start_id = searchable->splid_start[i];
434 uint16 count = searchable->splid_count[i];
455 const uint16 * splids = get_lemma_spell_ids(offset);
476 const uint16 *splid_str,
477 uint16 splid_str_len) {
497 size_t UserDict::get_lpis(const uint16 *splid_str, uint16 splid_str_len,
502 size_t UserDict::_get_lpis(const uint16 *splid_str,
503 uint16 splid_str_len, LmaPsbItem *lpi_items,
570 uint16 * splids = get_lemma_spell_ids(offset);
609 uint16 UserDict::get_lemma_str(LemmaIdType id_lemma, char16* str_buf,
610 uint16 str_max) {
618 uint16 m = nchar < str_max -1 ? nchar : str_max - 1;
627 uint16 UserDict::get_lemma_splids(LemmaIdType id_lemma, uint16 *splids,
628 uint16
633 const uint16 * ids = get_lemma_spell_ids(offset);
640 size_t UserDict::predict(const char16 last_hzs[], uint16 hzs_len,
646 int j = locate_first_in_predicts((const uint16*)last_hzs, hzs_len);
658 uint16 * words = get_lemma_word(offset);
659 uint16 * splids = get_lemma_spell_ids(offset);
690 int32 UserDict::locate_in_offsets(char16 lemma_str[], uint16 splid_str[],
691 uint16 lemma_len) {
721 uint16 * splids = get_lemma_spell_ids(offset);
730 uint16 * str = get_lemma_word(offset);
760 const uint16 * words, int lemma_len) {
771 const uint16 * ws = get_lemma_word(offset);
807 int32 UserDict::locate_first_in_predicts(const uint16 * words, int lemma_len) {
818 const uint16 * ws = get_lemma_word(offset);
856 LemmaIdType UserDict::get_lemma_id(char16 lemma_str[], uint16 splids[],
857 uint16 lemma_len) {
875 LmaScoreType UserDict::get_lemma_score(char16 lemma_str[], uint16 splids[],
876 uint16 lemma_len) {
891 uint16 * spl = get_lemma_spell_ids(offset);
892 uint16 * wrd = get_lemma_word(offset);
902 int UserDict::_get_lemma_score(char16 lemma_str[], uint16 splids[],
903 uint16 lemma_len) {
983 uint16 * spl = get_lemma_spell_ids(offset);
984 uint16 * wrd = get_lemma_word(offset);
1368 uint16 j, sig_len = kMaxLemmaSize / 4;
1369 uint16 i = cache->head;
1394 uint16 next = cache->tail;
1398 uint16 sig_len = kMaxLemmaSize / 4;
1399 uint16 j = 0;
1425 uint16 j, sig_len = kMaxLemmaSize / 4;
1426 uint16 i = cache->head;
1448 uint16 next = cache->tail;
1450 uint16 sig_len = kMaxLemmaSize / 4;
1451 uint16 j = 0;
1699 LemmaIdType UserDict::put_lemma_no_sync(char16 lemma_str[], uint16 splids[],
1700 uint16 lemma_len, uint16 count, uint64 lmt) {
1742 uint16 splid[kMaxLemmaSize];
1826 uint16 *spl = get_lemma_spell_ids(offset);
1827 uint16 *wrd = get_lemma_word(offset);
2048 LemmaIdType UserDict::put_lemma(char16 lemma_str[], uint16 splids[],
2049 uint16 lemma_len, uint16 count) {
2053 LemmaIdType UserDict::_put_lemma(char16 lemma_str[], uint16 splids[],
2054 uint16 lemma_len, uint16 count, uint64 lmt) {
2136 uint16 * splids = get_lemma_spell_ids(offset);
2175 LemmaIdType UserDict::append_a_lemma(char16 lemma_str[], uint16 splids[],
2176 uint16 lemma_len, uint16 count, uint64 lmt) {
2185 *((uint16*)&lemmas_[offset + 2 + (i << 1)]) = splids[i];
2213 uint16 * spl = get_lemma_spell_ids(offset);
2235 uint16 * words_new = get_lemma_word(predicts_[off]);