Home
last modified time | relevance | path

Searched refs:MAX_CHI_SYMBOL_LEN (Results 1 – 5 of 5) sorted by relevance

/dports/chinese/libchewing/libchewing-0.5.1/test/
H A Dtest-config.c26 static const int MAX_CHI_SYMBOL_LEN = 39; variable
56 ok(chewing_get_maxChiSymbolLen(ctx) == MAX_CHI_SYMBOL_LEN, in test_default_value()
57 "default maxChiSymbolLen shall be %d", MAX_CHI_SYMBOL_LEN); in test_default_value()
130 chewing_set_maxChiSymbolLen(ctx, MAX_CHI_SYMBOL_LEN + 1); in test_set_maxChiSymbolLen()
132 "maxChiSymbolLen shall not change when set to %d", MAX_CHI_SYMBOL_LEN + 1); in test_set_maxChiSymbolLen()
136 chewing_set_maxChiSymbolLen(ctx, MAX_CHI_SYMBOL_LEN); in test_set_maxChiSymbolLen()
139 for (i = 0; i < MAX_CHI_SYMBOL_LEN; ++i) in test_set_maxChiSymbolLen()
142 "auto commit shall not be triggered when entering %d symbols", MAX_CHI_SYMBOL_LEN); in test_set_maxChiSymbolLen()
147 "auto commit shall be triggered when entering %d symbols", MAX_CHI_SYMBOL_LEN + 1); in test_set_maxChiSymbolLen()
160 chewing_set_maxChiSymbolLen(ctx, MAX_CHI_SYMBOL_LEN); in test_maxChiSymbolLen()
[all …]
/dports/chinese/libchewing/libchewing-0.5.1/include/internal/
H A Dchewing-private.h47 #define MAX_CHI_SYMBOL_LEN (MAX_PHONE_SEQ_LEN - MAX_PHRASE_LEN) macro
/dports/chinese/libchewing/libchewing-0.5.1/src/
H A Dchewingutil.c1480 assert(0 <= pos && pos <= MAX_CHI_SYMBOL_LEN); in toPreeditBufIndex()
1482 for (i = 0, word_count = 0; i < MAX_CHI_SYMBOL_LEN; ++i) { in toPreeditBufIndex()
H A Dchewingio.c153 data->config.maxChiSymbolLen = MAX_CHI_SYMBOL_LEN; in allocate_ChewingData()
452 if (MIN_CHI_SYMBOL_LEN <= n && n <= MAX_CHI_SYMBOL_LEN) in chewing_set_maxChiSymbolLen()
/dports/chinese/libchewing/libchewing-0.5.1/doc/
H A Dlibchewing.texi1074 shall between @code{MIN_CHI_SYMBOL_LEN} and @code{MAX_CHI_SYMBOL_LEN}.
1081 @deftypevr Macro int MAX_CHI_SYMBOL_LEN