Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dnumparse_decimal.cpp115 number::impl::DecimalQuantity digitsConsumed; in match() local
116 digitsConsumed.bogus = true; in match()
181 if (digitsConsumed.bogus) { in match()
182 digitsConsumed.bogus = false; in match()
183 digitsConsumed.clear(); in match()
185 digitsConsumed.appendDigit(digit, 0, true); in match()
271 digitsConsumed.clear(); in match()
272 digitsConsumed.bogus = true; in match()
336 digitsConsumed.adjustMagnitude(-digitsToRemove); in match()
337 digitsConsumed.truncate(); in match()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DDecimalMatcher.java135 DecimalQuantity_DualStorageBCD digitsConsumed = null; in match() local
198 if (digitsConsumed == null) { in match()
199 digitsConsumed = new DecimalQuantity_DualStorageBCD(); in match()
201 digitsConsumed.appendDigit(digit, 0, true); in match()
289 digitsConsumed = null; in match()
353 digitsConsumed.adjustMagnitude(-digitsToRemove); in match()
354 digitsConsumed.truncate(); in match()
361 digitsConsumed = null; in match()
366 if (digitsConsumed == null) { in match()
375 digitsConsumed.adjustMagnitude(-digitsAfterDecimalPlace); in match()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DDecimalMatcher.java137 DecimalQuantity_DualStorageBCD digitsConsumed = null; in match() local
200 if (digitsConsumed == null) { in match()
201 digitsConsumed = new DecimalQuantity_DualStorageBCD(); in match()
203 digitsConsumed.appendDigit(digit, 0, true); in match()
291 digitsConsumed = null; in match()
355 digitsConsumed.adjustMagnitude(-digitsToRemove); in match()
356 digitsConsumed.truncate(); in match()
363 digitsConsumed = null; in match()
368 if (digitsConsumed == null) { in match()
377 digitsConsumed.adjustMagnitude(-digitsAfterDecimalPlace); in match()
[all …]