Searched refs:lma_idx_buf_ (Results 1 - 3 of 3) sorted by relevance

/packages/inputmethods/PinyinIME/jni/share/
H A Ddicttrie.cpp36 lma_idx_buf_ = NULL;
98 id = (id << 8) + lma_idx_buf_[id_offset * kLemmaIdSize + pos];
99 id = (id << 8) + lma_idx_buf_[id_offset * kLemmaIdSize];
136 if (fwrite(lma_idx_buf_, sizeof(unsigned char), lma_idx_buf_len_, fp) !=
191 lma_idx_buf_ = (unsigned char*)malloc(lma_idx_buf_len_);
203 if (NULL == root_ || NULL == nodes_ge1_ || NULL == lma_idx_buf_ ||
218 if (fread(lma_idx_buf_, sizeof(unsigned char), lma_idx_buf_len_, fp) !=
H A Ddictbuilder.cpp601 dict_trie->lma_idx_buf_ = new unsigned char[lma_idx_num * kLemmaIdSize];
603 assert(NULL != dict_trie->lma_idx_buf_);
615 id_to_charbuf(dict_trie->lma_idx_buf_ + pos * kLemmaIdSize,
623 id_to_charbuf(dict_trie->lma_idx_buf_ + pos * kLemmaIdSize, idx);
/packages/inputmethods/PinyinIME/jni/include/
H A Ddicttrie.h81 unsigned char *lma_idx_buf_; member in class:ime_pinyin::DictTrie
82 size_t lma_idx_buf_len_; // The total size of lma_idx_buf_ in byte.

Completed in 77 milliseconds