Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddigitgrouping.cpp18 int32_t digitsLeftOfDecimal, int32_t digitPos) const { in isSeparatorAt() argument
19 if (!isGroupingEnabled(digitsLeftOfDecimal) || digitPos < fGrouping) { in isSeparatorAt()
25 int32_t DigitGrouping::getSeparatorCount(int32_t digitsLeftOfDecimal) const { in getSeparatorCount()
26 if (!isGroupingEnabled(digitsLeftOfDecimal)) { in getSeparatorCount()
29 return (digitsLeftOfDecimal - 1 - fGrouping) / getGrouping2() + 1; in getSeparatorCount()
32 UBool DigitGrouping::isGroupingEnabled(int32_t digitsLeftOfDecimal) const { in isGroupingEnabled()
34 && digitsLeftOfDecimal >= fGrouping + getMinGrouping()); in isGroupingEnabled()
Ddigitgrouping.h50 UBool isSeparatorAt(int32_t digitsLeftOfDecimal, int32_t digitPos) const;
58 int32_t getSeparatorCount(int32_t digitsLeftOfDecimal) const;
105 UBool isGroupingEnabled(int32_t digitsLeftOfDecimal) const;
Ddigitformatter.cpp177 int32_t digitsLeftOfDecimal = interval.getMostSignificantExclusive(); in format() local
183 if (digitsLeftOfDecimal == 0 && lastDigitPos == 0) { in format()
209 if (grouping.isSeparatorAt(digitsLeftOfDecimal, i)) { in format()
219 if (digitsLeftOfDecimal > 0) { in format()