Searched refs:S_INT_MAX (Results 1 - 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/src/
H A Dcorrection.cpp554 static const int TWO_31ST_DIV_255 = S_INT_MAX / 255;
556 return (num < TWO_31ST_DIV_255 ? 255 * num : S_INT_MAX);
559 static const int TWO_31ST_DIV_2 = S_INT_MAX / 2;
562 if (temp != S_INT_MAX) {
565 *base = TWO_31ST_DIV_2 >= temp ? temp << 1 : S_INT_MAX;
571 *base = tempRetval >= temp ? tempRetval : S_INT_MAX;
579 return n < 31 ? 1 << n : S_INT_MAX;
588 if (*freq != S_INT_MAX) {
830 const int divider = diff < 31 ? 1 << diff : S_INT_MAX;
H A Ddefines.h136 #ifndef S_INT_MAX
137 #define S_INT_MAX 2147483647 // ((1 << 31) - 1) macro
H A Dunigram_dictionary.cpp294 LOGI("Added word = %s, freq = %d, %d", s, frequency, S_INT_MAX);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DUtils.java399 private static final int S_INT_MAX = 2147483647; field in class:Utils
414 final double maximumScore = score == S_INT_MAX ? S_INT_MAX : MAX_INITIAL_SCORE

Completed in 109 milliseconds