OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:str_len
(Results
1 - 25
of
52
) sorted by null
1
2
3
/packages/inputmethods/PinyinIME/jni/include/
splparser.h
42
uint16 splstr_to_idxs(const char *splstr, uint16
str_len
, uint16 splidx[],
48
uint16 splstr_to_idxs_f(const char *splstr, uint16
str_len
, uint16 splidx[],
53
uint16 splstr16_to_idxs(const char16 *splstr, uint16
str_len
, uint16 splidx[],
58
uint16 splstr16_to_idxs_f(const char16 *splstr16, uint16
str_len
,
67
uint16 get_splid_by_str(const char *splstr, uint16
str_len
, bool *is_pre);
75
uint16 get_splid_by_str_f(const char *splstr, uint16
str_len
, bool *is_pre);
89
// The caller should guarantee NULL != splstr &&
str_len
> 0 && NULL != splidx
90
uint16 get_splids_parallel(const char *splstr, uint16
str_len
,
dictlist.h
96
void convert_to_hanzis(char16 *str, uint16
str_len
);
98
void convert_to_scis_ids(char16 *str, uint16
str_len
);
116
LemmaIdType get_lemma_id(const char16 *str, uint16
str_len
);
dicttrie.h
171
void convert_to_hanzis(char16 *str, uint16
str_len
);
173
void convert_to_scis_ids(char16 *str, uint16
str_len
);
dictbuilder.h
156
const char16 *str, size_t
str_len
);
/packages/inputmethods/PinyinIME/jni/share/
splparser.cpp
30
uint16 SpellingParser::splstr_to_idxs(const char *splstr, uint16
str_len
,
33
if (NULL == splstr || 0 == max_size || 0 ==
str_len
)
49
while (str_pos <
str_len
) {
143
uint16 SpellingParser::splstr_to_idxs_f(const char *splstr, uint16
str_len
,
146
uint16 idx_num = splstr_to_idxs(splstr,
str_len
, spl_idx, start_pos,
159
uint16 SpellingParser::splstr16_to_idxs(const char16 *splstr, uint16
str_len
,
162
if (NULL == splstr || 0 == max_size || 0 ==
str_len
)
178
while (str_pos <
str_len
) {
272
uint16 SpellingParser::splstr16_to_idxs_f(const char16 *splstr, uint16
str_len
,
275
uint16 idx_num = splstr16_to_idxs(splstr,
str_len
, spl_idx, start_pos
[
all
...]
dictlist.cpp
348
LemmaIdType DictList::get_lemma_id(const char16 *str, uint16
str_len
) {
349
if (NULL == str ||
str_len
> kMaxLemmaSize)
352
char16 *found = find_pos_startedbyhzs(str,
str_len
, cmp_func_[
str_len
- 1]);
357
assert(static_cast<size_t>(found - buf_) >= start_pos_[
str_len
- 1]);
359
(start_id_[
str_len
- 1] +
360
(found - buf_ - start_pos_[
str_len
- 1]) /
str_len
);
363
void DictList::convert_to_hanzis(char16 *str, uint16
str_len
) {
366
for (uint16 str_pos = 0; str_pos <
str_len
; str_pos++)
[
all
...]