Home
last modified time | relevance | path

Searched refs:stringMatch (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormat.java149 int stringMatch = 0; in tryDate() local
176 if (stringMatch == 0 && string[i] == string[i-1]) stringMatch = i; in tryDate()
177 else if (stringMatch > 0 && string[i] != string[i-1]) { in tryDate()
184 if (dateMatch > 0 && stringMatch > 0) break; in tryDate()
188 if (stringMatch > fLimit || dateMatch > fLimit) { in tryDate()
DIntlTestNumberFormat.java161 int stringMatch = 0; in tryIt() local
189 if (stringMatch == 0 && string[i] == string[i-1]) in tryIt()
190 stringMatch = i; in tryIt()
191 else if (stringMatch > 0 && string[i] != string[i-1]) in tryIt()
198 if (numberMatch > 0 && stringMatch > 0) in tryIt()
204 if (stringMatch > 2 || numberMatch > 2) in tryIt()
/external/icu/icu4c/source/test/intltest/
Dtsdate.cpp154 int32_t stringMatch = 0; in tryDate() local
185 if (stringMatch == 0 && string[i] == string[i-1]) in tryDate()
186 stringMatch = i; in tryDate()
187 else if (stringMatch > 0 && string[i] != string[i-1]) in tryDate()
194 if (dateMatch > 0 && stringMatch > 0) in tryDate()
200 if (stringMatch > fLimit || dateMatch > fLimit) in tryDate()
Dtsnmfmt.cpp289 int32_t stringMatch = 0; in tryIt() local
332 if (stringMatch == 0 && string[i] == string[i-1]) in tryIt()
333 stringMatch = i; in tryIt()
334 else if (stringMatch > 0 && string[i] != string[i-1]) in tryIt()
340 if (numberMatch > 0 && stringMatch > 0) in tryIt()
346 if (stringMatch > 2 || numberMatch > 2) in tryIt()