Searched refs:MAX_CHI_SYMBOL_LEN (Results 1 – 5 of 5) sorted by relevance
26 static const int MAX_CHI_SYMBOL_LEN = 39; variable56 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 …]
47 #define MAX_CHI_SYMBOL_LEN (MAX_PHONE_SEQ_LEN - MAX_PHRASE_LEN) macro
1480 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()
153 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()
1074 shall between @code{MIN_CHI_SYMBOL_LEN} and @code{MAX_CHI_SYMBOL_LEN}.1081 @deftypevr Macro int MAX_CHI_SYMBOL_LEN