Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dnumparse_decimal.cpp144 int32_t currGroupSepType = 0; in match() local
257 } else if (currGroupSepType == 2 && isGrouping) { in match()
264 bool currValidPrimary = validateGroup(currGroupSepType, currGroupCount, true); in match()
269 U_ASSERT(currGroupSepType == 1); in match()
276 } else if (requireGroupingMatch && currGroupCount == 0 && currGroupSepType == 1) { in match()
286 prevGroupSepType = currGroupSepType; in match()
296 currGroupSepType = isGrouping ? 1 : 2; in match()
308 if (currGroupSepType != 2 && currGroupCount == 0) { in match()
312 currGroupSepType = prevGroupSepType; in match()
321 bool 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 …]
/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 …]