Home | History | Annotate | Download | only in utils

Lines Matching refs:index1

33     AK_FORCE_INLINE float getSubstitutionCost(const int index0, const int index1) const {
35 const int c1 = toBaseLowerCase(mString1[index1]);
39 AK_FORCE_INLINE float getDeletionCost(const int index0, const int index1) const {
43 AK_FORCE_INLINE float getInsertionCost(const int index0, const int index1) const {
47 AK_FORCE_INLINE bool allowTransposition(const int index0, const int index1) const {
49 const int c1 = toBaseLowerCase(mString1[index1]);
50 if (index0 > 0 && index1 > 0 && c0 == toBaseLowerCase(mString1[index1 - 1])
57 AK_FORCE_INLINE float getTranspositionCost(const int index0, const int index1) const {
58 return getSubstitutionCost(index0, index1);