OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kLemmaIdSize
(Results
1 - 4
of
4
) sorted by null
/packages/inputmethods/PinyinIME/jni/include/
dictdef.h
66
const size_t
kLemmaIdSize
= 3; // Actually, a Id occupies 3 bytes in storage.
searchutility.h
33
size_t id:(
kLemmaIdSize
* 8);
/packages/inputmethods/PinyinIME/jni/share/
dictbuilder.cpp
601
dict_trie->lma_idx_buf_ = new unsigned char[lma_idx_num *
kLemmaIdSize
];
606
dict_trie->lma_idx_buf_len_ = lma_idx_num *
kLemmaIdSize
;
615
id_to_charbuf(dict_trie->lma_idx_buf_ + pos *
kLemmaIdSize
,
623
id_to_charbuf(dict_trie->lma_idx_buf_ + pos *
kLemmaIdSize
, idx);
642
for (size_t pos = 0; pos <
kLemmaIdSize
; pos++) {
dicttrie.cpp
97
for (uint16 pos =
kLemmaIdSize
- 1; pos > 0; pos--)
98
id = (id << 8) + lma_idx_buf_[id_offset *
kLemmaIdSize
+ pos];
99
id = (id << 8) + lma_idx_buf_[id_offset *
kLemmaIdSize
];
192
total_lma_num_ = lma_idx_buf_len_ /
kLemmaIdSize
;
919
size_t top_lmas_id_offset = lma_idx_buf_len_ /
kLemmaIdSize
- top_lmas_num_;
Completed in 530 milliseconds