Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dnumparse_decimal.cpp143 int32_t currGroupSepType = 0; in match() local
256 } else if (currGroupSepType == 2 && isGrouping) { in match()
263 bool currValidPrimary = validateGroup(currGroupSepType, currGroupCount, true); in match()
268 U_ASSERT(currGroupSepType == 1); in match()
275 } else if (requireGroupingMatch && currGroupCount == 0 && currGroupSepType == 1) { in match()
285 prevGroupSepType = currGroupSepType; in match()
295 currGroupSepType = isGrouping ? 1 : 2; in match()
307 if (currGroupSepType != 2 && currGroupCount == 0) { in match()
311 currGroupSepType = prevGroupSepType; in match()
320 bool currValidPrimary = validateGroup(currGroupSepType, currGroupCount, true); in match()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DDecimalMatcher.java160 int currGroupSepType = 0; in match() local
274 } else if (currGroupSepType == 2 && isGrouping) { in match()
281 boolean currValidPrimary = validateGroup(currGroupSepType, currGroupCount, true); in match()
286 assert currGroupSepType == 1; in match() local
292 } else if (requireGroupingMatch && currGroupCount == 0 && currGroupSepType == 1) { in match()
302 prevGroupSepType = currGroupSepType; in match()
312 currGroupSepType = isGrouping ? 1 : 2; in match()
324 if (currGroupSepType != 2 && currGroupCount == 0) { in match()
328 currGroupSepType = prevGroupSepType; in match()
337 boolean currValidPrimary = validateGroup(currGroupSepType, currGroupCount, true); in match()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DDecimalMatcher.java162 int currGroupSepType = 0; in match() local
276 } else if (currGroupSepType == 2 && isGrouping) { in match()
283 boolean currValidPrimary = validateGroup(currGroupSepType, currGroupCount, true); in match()
288 assert currGroupSepType == 1; in match() local
294 } else if (requireGroupingMatch && currGroupCount == 0 && currGroupSepType == 1) { in match()
304 prevGroupSepType = currGroupSepType; in match()
314 currGroupSepType = isGrouping ? 1 : 2; in match()
326 if (currGroupSepType != 2 && currGroupCount == 0) { in match()
330 currGroupSepType = prevGroupSepType; in match()
339 boolean currValidPrimary = validateGroup(currGroupSepType, currGroupCount, true); in match()
[all …]