Home
last modified time | relevance | path

Searched refs:numInvalid (Results 1 – 6 of 6) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_UTF8.java25 int numInvalid = 0; in match() local
51 numInvalid++; in match()
63 numInvalid++; in match()
76 if (hasBOM && numInvalid==0) { in match()
78 } else if (hasBOM && numValid > numInvalid*10) { in match()
80 } else if (numValid > 3 && numInvalid == 0) { in match()
82 } else if (numValid > 0 && numInvalid == 0) { in match()
84 } else if (numValid == 0 && numInvalid == 0) { in match()
89 } else if (numValid > numInvalid*10) { in match()
DCharsetRecog_Unicode.java130 int numInvalid = 0; in match() local
145 numInvalid += 1; in match()
154 if (hasBOM && numInvalid==0) { in match()
156 } else if (hasBOM && numValid > numInvalid*10) { in match()
158 } else if (numValid > 3 && numInvalid == 0) { in match()
160 } else if (numValid > 0 && numInvalid == 0) { in match()
162 } else if (numValid > numInvalid*10) { in match()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_UTF8.java24 int numInvalid = 0; in match() local
50 numInvalid++; in match()
62 numInvalid++; in match()
75 if (hasBOM && numInvalid==0) { in match()
77 } else if (hasBOM && numValid > numInvalid*10) { in match()
79 } else if (numValid > 3 && numInvalid == 0) { in match()
81 } else if (numValid > 0 && numInvalid == 0) { in match()
83 } else if (numValid == 0 && numInvalid == 0) { in match()
88 } else if (numValid > numInvalid*10) { in match()
DCharsetRecog_Unicode.java129 int numInvalid = 0; in match() local
144 numInvalid += 1; in match()
153 if (hasBOM && numInvalid==0) { in match()
155 } else if (hasBOM && numValid > numInvalid*10) { in match()
157 } else if (numValid > 3 && numInvalid == 0) { in match()
159 } else if (numValid > 0 && numInvalid == 0) { in match()
161 } else if (numValid > numInvalid*10) { in match()
/external/icu/icu4c/source/i18n/
Dcsrutf8.cpp30 int32_t numInvalid = 0; in match() local
57 numInvalid += 1; in match()
72 numInvalid += 1; in match()
87 if (hasBOM && numInvalid == 0) { in match()
89 } else if (hasBOM && numValid > numInvalid*10) { in match()
91 } else if (numValid > 3 && numInvalid == 0) { in match()
93 } else if (numValid > 0 && numInvalid == 0) { in match()
95 } else if (numValid == 0 && numInvalid == 0) { in match()
99 } else if (numValid > numInvalid*10) { in match()
Dcsrucode.cpp126 int32_t numInvalid = 0; in match() local
138 numInvalid += 1; in match()
147 if (hasBOM && numInvalid==0) { in match()
149 } else if (hasBOM && numValid > numInvalid*10) { in match()
151 } else if (numValid > 3 && numInvalid == 0) { in match()
153 } else if (numValid > 0 && numInvalid == 0) { in match()
155 } else if (numValid > numInvalid*10) { in match()