Home
last modified time | relevance | path

Searched refs:fGrouping (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4c/source/i18n/
Ddigitgrouping.cpp19 if (!isGroupingEnabled(digitsLeftOfDecimal) || digitPos < fGrouping) { in isSeparatorAt()
22 return ((digitPos - fGrouping) % getGrouping2() == 0); in isSeparatorAt()
29 return (digitsLeftOfDecimal - 1 - fGrouping) / getGrouping2() + 1; in getSeparatorCount()
34 && digitsLeftOfDecimal >= fGrouping + getMinGrouping()); in isGroupingEnabled()
44 return (fGrouping2 > 0 ? fGrouping2 : fGrouping); in getGrouping2()
54 fGrouping = 0; in clear()
Ddigitgrouping.h32 DigitGrouping() : fGrouping(0), fGrouping2(0), fMinGrouping(0) { } in DigitGrouping()
38 return ((fGrouping == rhs.fGrouping) && in equals()
65 UBool isGroupingUsed() const { return fGrouping > 0; } in isGroupingUsed()
88 int32_t fGrouping;
Dvalueformatter.cpp94 …astFormattable() && fFixedOptions->isFastFormattable() && isNoGrouping(*fGrouping, value, *fFixedP… in isFastFormattable()
157 *fGrouping, in format()
182 *fGrouping, in countChar32()
205 fGrouping = &grouping; in prepareFixedDecimalFormatting()
Ddecimfmtimpl.cpp100 fGrouping(other.fGrouping), in DecimalFormatImpl()
142 fGrouping = other.fGrouping; in assign()
185 && fGrouping.equals(other.fGrouping) in operator ==()
663 fGrouping.fGrouping = newValue; in setGroupingSize()
669 fGrouping.fGrouping2 = newValue; in setSecondaryGroupingSize()
675 fGrouping.fMinGrouping = newValue; in setMinimumGroupingDigits()
852 fGrouping.fGrouping = out.fGroupingSize; in applyPattern()
853 fGrouping.fGrouping2 = out.fGroupingSize2; in applyPattern()
1014 fEffGrouping = fGrouping; in updateGrouping()
1317 if (grouping.fGrouping <= 0) { in getMinimumLengthToDescribeGrouping()
[all …]
Ddecimfmtimpl.h270 int32_t getGroupingSize() const { return fGrouping.fGrouping; } in getGroupingSize()
271 int32_t getSecondaryGroupingSize() const { return fGrouping.fGrouping2; } in getSecondaryGroupingSize()
272 int32_t getMinimumGroupingDigits() const { return fGrouping.fMinGrouping; } in getMinimumGroupingDigits()
380 DigitGrouping fGrouping; variable
Dvalueformatter.h150 const DigitGrouping *fGrouping; variable
Ddecimfmt.cpp1427 …int32_t gs2 = fImpl->fEffGrouping.fGrouping2 == 0 ? fImpl->fEffGrouping.fGrouping : fImpl->fEffGro… in subparse()
1573 … (lastGroup != -1 && position - lastGroup != fImpl->fEffGrouping.fGrouping + 1)) { in subparse()
1675 if (lastGroup != -1 && position - lastGroup != fImpl->fEffGrouping.fGrouping + 1) { in subparse()
/external/icu/icu4c/source/test/intltest/
Dnumberformat2test.cpp315 grouping.fGrouping = 2; in TestGroupingUsed()
842 grouping.fGrouping = 3; in TestDigitFormatterMonetary()
900 grouping.fGrouping = 3; in TestDigitFormatter()
952 grouping.fGrouping = 2; in TestDigitFormatter()
1150 grouping.fGrouping = 3; in TestValueFormatterIsFastFormattable()
1173 grouping.fGrouping = 4; in TestValueFormatterIsFastFormattable()
1194 grouping.fGrouping = 3; in TestValueFormatterIsFastFormattable()
2173 grouping.fGrouping = 3; in TestDigitAffixesAndPadding()