Home
last modified time | relevance | path

Searched refs:doubleByteCharCount (Results 1 – 5 of 5) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCharsetRecog_mbcs.java52 int doubleByteCharCount = 0; in match() local
70 doubleByteCharCount++; in match()
79 if (badCharCount >= 2 && badCharCount*5 >= doubleByteCharCount) { in match()
85 if (doubleByteCharCount <= 10 && badCharCount== 0) { in match()
87 if (doubleByteCharCount == 0 && totalCharCount < 10) { in match()
106 if (doubleByteCharCount < 20*badCharCount) { in match()
115 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match()
123 double maxVal = Math.log((float)doubleByteCharCount / 4); in match()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_mbcs.java51 int doubleByteCharCount = 0; in match() local
69 doubleByteCharCount++; in match()
78 if (badCharCount >= 2 && badCharCount*5 >= doubleByteCharCount) { in match()
84 if (doubleByteCharCount <= 10 && badCharCount== 0) { in match()
86 if (doubleByteCharCount == 0 && totalCharCount < 10) { in match()
105 if (doubleByteCharCount < 20*badCharCount) { in match()
114 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match()
122 double maxVal = Math.log((float)doubleByteCharCount / 4); in match()
/third_party/node/deps/icu-small/source/i18n/
Dcsrmbcs.cpp149 int32_t doubleByteCharCount = 0; in match_mbcs() local
163 doubleByteCharCount++; in match_mbcs()
174 if (badCharCount >= 2 && badCharCount*5 >= doubleByteCharCount) { in match_mbcs()
181 if (doubleByteCharCount <= 10 && badCharCount == 0) { in match_mbcs()
183 if (doubleByteCharCount == 0 && totalCharCount < 10) { in match_mbcs()
202 if (doubleByteCharCount < 20*badCharCount) { in match_mbcs()
212 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match_mbcs()
222 double maxVal = log((double)doubleByteCharCount / 4); /*(float)?*/ in match_mbcs()
/third_party/icu/icu4c/source/i18n/
Dcsrmbcs.cpp149 int32_t doubleByteCharCount = 0; in match_mbcs() local
163 doubleByteCharCount++; in match_mbcs()
174 if (badCharCount >= 2 && badCharCount*5 >= doubleByteCharCount) { in match_mbcs()
181 if (doubleByteCharCount <= 10 && badCharCount == 0) { in match_mbcs()
183 if (doubleByteCharCount == 0 && totalCharCount < 10) { in match_mbcs()
202 if (doubleByteCharCount < 20*badCharCount) { in match_mbcs()
212 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match_mbcs()
222 double maxVal = log((double)doubleByteCharCount / 4); /*(float)?*/ in match_mbcs()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcsrmbcs.cpp150 int32_t doubleByteCharCount = 0; in match_mbcs() local
166 doubleByteCharCount++; in match_mbcs()
177 if (badCharCount >= 2 && badCharCount*5 >= doubleByteCharCount) { in match_mbcs()
184 if (doubleByteCharCount <= 10 && badCharCount == 0) { in match_mbcs()
186 if (doubleByteCharCount == 0 && totalCharCount < 10) { in match_mbcs()
205 if (doubleByteCharCount < 20*badCharCount) { in match_mbcs()
215 confidence = 30 + doubleByteCharCount - 20*badCharCount; in match_mbcs()
225 double maxVal = log((double)doubleByteCharCount / 4); /*(float)?*/ in match_mbcs()