Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDateFormat.java160 int stringMatch = 0; in tryDate() local
187 if (stringMatch == 0 && string[i] == string[i-1]) stringMatch = i; in tryDate()
188 else if (stringMatch > 0 && string[i] != string[i-1]) { in tryDate()
195 if (dateMatch > 0 && stringMatch > 0) break; in tryDate()
199 if (stringMatch > fLimit || dateMatch > fLimit) { in tryDate()
DIntlTestNumberFormat.java171 int stringMatch = 0; in tryIt() local
201 if (stringMatch == 0 && string[i] == string[i-1]) in tryIt()
202 stringMatch = i; in tryIt()
203 else if (stringMatch > 0 && string[i] != string[i-1]) in tryIt()
210 if (numberMatch > 0 && stringMatch > 0) in tryIt()
216 if (stringMatch > 2 || numberMatch > 2) in tryIt()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDateFormat.java157 int stringMatch = 0; in tryDate() local
184 if (stringMatch == 0 && string[i] == string[i-1]) stringMatch = i; in tryDate()
185 else if (stringMatch > 0 && string[i] != string[i-1]) { in tryDate()
192 if (dateMatch > 0 && stringMatch > 0) break; in tryDate()
196 if (stringMatch > fLimit || dateMatch > fLimit) { in tryDate()
DIntlTestNumberFormat.java168 int stringMatch = 0; in tryIt() local
198 if (stringMatch == 0 && string[i] == string[i-1]) in tryIt()
199 stringMatch = i; in tryIt()
200 else if (stringMatch > 0 && string[i] != string[i-1]) in tryIt()
207 if (numberMatch > 0 && stringMatch > 0) in tryIt()
213 if (stringMatch > 2 || numberMatch > 2) in tryIt()
/third_party/icu/icu4c/source/test/intltest/
Dtsdate.cpp155 int32_t stringMatch = 0; in tryDate() local
195 if (stringMatch == 0 && string[i] == string[i-1]) in tryDate()
196 stringMatch = i; in tryDate()
197 else if (stringMatch > 0 && string[i] != string[i-1]) in tryDate()
205 if (dateMatch > 0 && stringMatch > 0) in tryDate()
211 if (stringMatch > fLimit || dateMatch > fLimit) in tryDate()
Dtsnmfmt.cpp291 int32_t stringMatch = 0; in tryIt() local
334 if (stringMatch == 0 && string[i] == string[i-1]) in tryIt()
335 stringMatch = i; in tryIt()
336 else if (stringMatch > 0 && string[i] != string[i-1]) in tryIt()
342 if (numberMatch > 0 && stringMatch > 0) in tryIt()
348 if (stringMatch > 2 || numberMatch > 2) in tryIt()