Searched refs:badCharCount (Results 1 – 3 of 3) sorted by relevance
54 int badCharCount = 0; in match() local63 badCharCount++; in match()79 if (badCharCount >= 2 && badCharCount*5 >= doubleByteCharCount) { in match()85 if (doubleByteCharCount <= 10 && badCharCount== 0) { in match()106 if (doubleByteCharCount < 20*badCharCount) { in match()115 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match()
53 int badCharCount = 0; in match() local62 badCharCount++; in match()78 if (badCharCount >= 2 && badCharCount*5 >= doubleByteCharCount) { in match()84 if (doubleByteCharCount <= 10 && badCharCount== 0) { in match()105 if (doubleByteCharCount < 20*badCharCount) { in match()114 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match()
152 int32_t badCharCount = 0; in match_mbcs() local161 badCharCount++; in match_mbcs()177 if (badCharCount >= 2 && badCharCount*5 >= doubleByteCharCount) { in match_mbcs()184 if (doubleByteCharCount <= 10 && badCharCount == 0) { in match_mbcs()205 if (doubleByteCharCount < 20*badCharCount) { in match_mbcs()215 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match_mbcs()