Searched refs:toBaseLowerCase (Results 1 – 8 of 8) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
D | char_utils_test.cpp | 65 EXPECT_EQ('a', CharUtils::toBaseLowerCase('A')); in TEST() 66 EXPECT_EQ('z', CharUtils::toBaseLowerCase('Z')); in TEST() 67 EXPECT_EQ('a', CharUtils::toBaseLowerCase('a')); in TEST() 68 EXPECT_EQ('z', CharUtils::toBaseLowerCase('z')); in TEST() 69 EXPECT_EQ('@', CharUtils::toBaseLowerCase('@')); in TEST() 70 EXPECT_EQ(' ', CharUtils::toBaseLowerCase(' ')); in TEST() 71 EXPECT_EQ('a', CharUtils::toBaseLowerCase(0x00C0 /* LATIN CAPITAL LETTER A WITH GRAVE */)); in TEST() 72 EXPECT_EQ('a', CharUtils::toBaseLowerCase(0x00E0 /* LATIN SMALL LETTER A WITH GRAVE */)); in TEST() 74 CharUtils::toBaseLowerCase(0x03C2 /* GREEK SMALL LETTER FINAL SIGMA */)); in TEST() 76 CharUtils::toBaseLowerCase(0x0410 /* CYRILLIC CAPITAL LETTER A */)); in TEST() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/ |
D | damerau_levenshtein_edit_distance_policy.h | 34 const int c0 = CharUtils::toBaseLowerCase(mString0[index0]); in getSubstitutionCost() 35 const int c1 = CharUtils::toBaseLowerCase(mString1[index1]); in getSubstitutionCost() 48 const int c0 = CharUtils::toBaseLowerCase(mString0[index0]); in allowTransposition() 49 const int c1 = CharUtils::toBaseLowerCase(mString1[index1]); in allowTransposition() 50 if (index0 > 0 && index1 > 0 && c0 == CharUtils::toBaseLowerCase(mString1[index1 - 1]) in allowTransposition() 51 && c1 == CharUtils::toBaseLowerCase(mString0[index0 - 1])) { in allowTransposition()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
D | typing_weighting.h | 80 CharUtils::toBaseLowerCase(dicNode->getNodeCodePoint())); in getMatchedCost() 108 const int primaryCodePoint = CharUtils::toBaseLowerCase( in isProximityDicNode() 110 const int dicNodeChar = CharUtils::toBaseLowerCase(dicNode->getNodeCodePoint()); in isProximityDicNode() 119 parentPointIndex + 1, CharUtils::toBaseLowerCase(prevCodePoint)); in getTranspositionCost() 122 parentPointIndex, CharUtils::toBaseLowerCase(codePoint)); in getTranspositionCost() 139 insertedPointIndex + 1, CharUtils::toBaseLowerCase(dicNode->getNodeCodePoint())); in getInsertionCost()
|
D | typing_traversal.h | 69 CharUtils::toBaseLowerCase(childDicNode->getNodeCodePoint()); in isOmission() 71 CharUtils::toBaseLowerCase(traverseSession->getProximityInfoState(0) in isOmission()
|
D | typing_weighting.cpp | 64 == CharUtils::toBaseLowerCase(nodeCodePoint)) { in getErrorType()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary_utils.cpp | 45 const int baseLowerCodePoint = CharUtils::toBaseLowerCase(codePoint); in getMaxProbabilityOfExactMatches() 80 const int codePoint = CharUtils::toBaseLowerCase(childDicNode->getNodeCodePoint()); in processChildDicNodes()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state.cpp | 204 const int baseLowerC = CharUtils::toBaseLowerCase(codePoint); in getProximityType() 216 if (CharUtils::toBaseLowerCase(firstCodePoint) == baseLowerC) { in getProximityType()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | char_utils.h | 48 static AK_FORCE_INLINE int toBaseLowerCase(const int c) { in toBaseLowerCase() function
|