Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddecimalformatpattern.cpp179 int32_t digitLeftCount = 0, zeroDigitCount = 0, digitRightCount = 0, sigDigitCount = 0; in applyPatternWithoutExpandAffix() local
211 if (zeroDigitCount > 0 || sigDigitCount > 0) { in applyPatternWithoutExpandAffix()
233 roundingPos = digitLeftCount + zeroDigitCount; in applyPatternWithoutExpandAffix()
238 ++zeroDigitCount; in applyPatternWithoutExpandAffix()
266 decimalPos = digitLeftCount + zeroDigitCount + digitRightCount; in applyPatternWithoutExpandAffix()
303 if (((digitLeftCount + zeroDigitCount) < 1 && in applyPatternWithoutExpandAffix()
491 if (zeroDigitCount == 0 && sigDigitCount == 0 && in applyPatternWithoutExpandAffix()
499 zeroDigitCount = 1; in applyPatternWithoutExpandAffix()
507 decimalPos > (digitLeftCount + zeroDigitCount))) || in applyPatternWithoutExpandAffix()
509 (sigDigitCount > 0 && zeroDigitCount > 0) || in applyPatternWithoutExpandAffix()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormat_ICU58_Android.java4739 int digitLeftCount = 0, zeroDigitCount = 0, digitRightCount = 0, sigDigitCount = 0; in applyPatternWithoutExpandAffix() local
4768 if (zeroDigitCount > 0 || sigDigitCount > 0) { in applyPatternWithoutExpandAffix()
4783 ++zeroDigitCount; in applyPatternWithoutExpandAffix()
4785 int p = digitLeftCount + zeroDigitCount + digitRightCount; in applyPatternWithoutExpandAffix()
4839 decimalPos = digitLeftCount + zeroDigitCount + digitRightCount; in applyPatternWithoutExpandAffix()
4865 if (((digitLeftCount + zeroDigitCount) < 1 && in applyPatternWithoutExpandAffix()
5024 if (zeroDigitCount == 0 && sigDigitCount == 0 && in applyPatternWithoutExpandAffix()
5032 zeroDigitCount = 1; in applyPatternWithoutExpandAffix()
5040 || decimalPos > (digitLeftCount + zeroDigitCount))) in applyPatternWithoutExpandAffix()
5043 || (sigDigitCount > 0 && zeroDigitCount > 0) in applyPatternWithoutExpandAffix()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormat_ICU58_Android.java4808 int digitLeftCount = 0, zeroDigitCount = 0, digitRightCount = 0, sigDigitCount = 0; in applyPatternWithoutExpandAffix() local
4837 if (zeroDigitCount > 0 || sigDigitCount > 0) { in applyPatternWithoutExpandAffix()
4852 ++zeroDigitCount; in applyPatternWithoutExpandAffix()
4854 int p = digitLeftCount + zeroDigitCount + digitRightCount; in applyPatternWithoutExpandAffix()
4908 decimalPos = digitLeftCount + zeroDigitCount + digitRightCount; in applyPatternWithoutExpandAffix()
4934 if (((digitLeftCount + zeroDigitCount) < 1 && in applyPatternWithoutExpandAffix()
5093 if (zeroDigitCount == 0 && sigDigitCount == 0 && in applyPatternWithoutExpandAffix()
5101 zeroDigitCount = 1; in applyPatternWithoutExpandAffix()
5109 || decimalPos > (digitLeftCount + zeroDigitCount))) in applyPatternWithoutExpandAffix()
5112 || (sigDigitCount > 0 && zeroDigitCount > 0) in applyPatternWithoutExpandAffix()
[all …]