Home
last modified time | relevance | path

Searched refs:currGroupCount (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumparse_decimal.cpp144 int32_t currGroupCount = 0; in match() local
186 currGroupCount++; in match()
263 bool currValidPrimary = validateGroup(currGroupSepType, currGroupCount, true); in match()
266 if (isGrouping && currGroupCount == 0) { in match()
275 } else if (requireGroupingMatch && currGroupCount == 0 && currGroupSepType == 1) { in match()
280 prevGroupCount = currGroupCount; in match()
292 if (currGroupCount != 0) { in match()
296 currGroupCount = 0; in match()
307 if (currGroupSepType != 2 && currGroupCount == 0) { in match()
312 currGroupCount = prevGroupCount; in match()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DDecimalMatcher.java161 int currGroupCount = 0; in match() local
202 currGroupCount++; in match()
281 boolean currValidPrimary = validateGroup(currGroupSepType, currGroupCount, true); in match()
284 if (isGrouping && currGroupCount == 0) { in match()
292 } else if (requireGroupingMatch && currGroupCount == 0 && currGroupSepType == 1) { in match()
297 prevGroupCount = currGroupCount; in match()
309 if (currGroupCount != 0) { in match()
313 currGroupCount = 0; in match()
324 if (currGroupSepType != 2 && currGroupCount == 0) { in match()
329 currGroupCount = prevGroupCount; in match()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DDecimalMatcher.java163 int currGroupCount = 0; in match() local
204 currGroupCount++; in match()
283 boolean currValidPrimary = validateGroup(currGroupSepType, currGroupCount, true); in match()
286 if (isGrouping && currGroupCount == 0) { in match()
294 } else if (requireGroupingMatch && currGroupCount == 0 && currGroupSepType == 1) { in match()
299 prevGroupCount = currGroupCount; in match()
311 if (currGroupCount != 0) { in match()
315 currGroupCount = 0; in match()
326 if (currGroupSepType != 2 && currGroupCount == 0) { in match()
331 currGroupCount = prevGroupCount; in match()
[all …]