Lines Matching refs:newValue

127 DecimalFormat::setAttribute(UNumberFormatAttribute attr, int32_t newValue, UErrorCode& status) {  in setAttribute()  argument
132 setLenient(newValue != 0); in setAttribute()
136 setParseIntegerOnly(newValue != 0); in setAttribute()
140 setGroupingUsed(newValue != 0); in setAttribute()
144 setDecimalSeparatorAlwaysShown(newValue != 0); in setAttribute()
148 setMaximumIntegerDigits(newValue); in setAttribute()
152 setMinimumIntegerDigits(newValue); in setAttribute()
156 setMinimumIntegerDigits(newValue); in setAttribute()
157 setMaximumIntegerDigits(newValue); in setAttribute()
161 setMaximumFractionDigits(newValue); in setAttribute()
165 setMinimumFractionDigits(newValue); in setAttribute()
169 setMinimumFractionDigits(newValue); in setAttribute()
170 setMaximumFractionDigits(newValue); in setAttribute()
174 setSignificantDigitsUsed(newValue != 0); in setAttribute()
178 setMaximumSignificantDigits(newValue); in setAttribute()
182 setMinimumSignificantDigits(newValue); in setAttribute()
186 setMultiplier(newValue); in setAttribute()
190 setMultiplierScale(newValue); in setAttribute()
194 setGroupingSize(newValue); in setAttribute()
198 setRoundingMode((DecimalFormat::ERoundingMode) newValue); in setAttribute()
202 setFormatWidth(newValue); in setAttribute()
207 setPadPosition((DecimalFormat::EPadPosition) newValue); in setAttribute()
211 setSecondaryGroupingSize(newValue); in setAttribute()
216 setParseAllInput((UNumberFormatAttributeValue) newValue); in setAttribute()
221 setParseNoExponent((UBool) newValue); in setAttribute()
225 setDecimalPatternMatchRequired((UBool) newValue); in setAttribute()
229 setCurrencyUsage((UCurrencyUsage) newValue, &status); in setAttribute()
233 setMinimumGroupingDigits(newValue); in setAttribute()
237 setParseCaseSensitive(static_cast<UBool>(newValue)); in setAttribute()
241 setSignAlwaysShown(static_cast<UBool>(newValue)); in setAttribute()
245 setFormatFailIfMoreThanMaxDigits(static_cast<UBool>(newValue)); in setAttribute()
636 void DecimalFormat::setPositivePrefix(const UnicodeString& newValue) { in setPositivePrefix() argument
637 if (newValue == fields->properties->positivePrefix) { return; } in setPositivePrefix()
638 fields->properties->positivePrefix = newValue; in setPositivePrefix()
648 void DecimalFormat::setNegativePrefix(const UnicodeString& newValue) { in setNegativePrefix() argument
649 if (newValue == fields->properties->negativePrefix) { return; } in setNegativePrefix()
650 fields->properties->negativePrefix = newValue; in setNegativePrefix()
660 void DecimalFormat::setPositiveSuffix(const UnicodeString& newValue) { in setPositiveSuffix() argument
661 if (newValue == fields->properties->positiveSuffix) { return; } in setPositiveSuffix()
662 fields->properties->positiveSuffix = newValue; in setPositiveSuffix()
672 void DecimalFormat::setNegativeSuffix(const UnicodeString& newValue) { in setNegativeSuffix() argument
673 if (newValue == fields->properties->negativeSuffix) { return; } in setNegativeSuffix()
674 fields->properties->negativeSuffix = newValue; in setNegativeSuffix()
729 void DecimalFormat::setMultiplierScale(int32_t newValue) { in setMultiplierScale() argument
730 if (newValue == fields->properties->multiplierScale) { return; } in setMultiplierScale()
731 fields->properties->multiplierScale = newValue; in setMultiplierScale()
739 void DecimalFormat::setRoundingIncrement(double newValue) { in setRoundingIncrement() argument
740 if (newValue == fields->properties->roundingIncrement) { return; } in setRoundingIncrement()
741 fields->properties->roundingIncrement = newValue; in setRoundingIncrement()
849 void DecimalFormat::setGroupingSize(int32_t newValue) { in setGroupingSize() argument
850 if (newValue == fields->properties->groupingSize) { return; } in setGroupingSize()
851 fields->properties->groupingSize = newValue; in setGroupingSize()
863 void DecimalFormat::setSecondaryGroupingSize(int32_t newValue) { in setSecondaryGroupingSize() argument
864 if (newValue == fields->properties->secondaryGroupingSize) { return; } in setSecondaryGroupingSize()
865 fields->properties->secondaryGroupingSize = newValue; in setSecondaryGroupingSize()
873 void DecimalFormat::setMinimumGroupingDigits(int32_t newValue) { in setMinimumGroupingDigits() argument
874 if (newValue == fields->properties->minimumGroupingDigits) { return; } in setMinimumGroupingDigits()
875 fields->properties->minimumGroupingDigits = newValue; in setMinimumGroupingDigits()
883 void DecimalFormat::setDecimalSeparatorAlwaysShown(UBool newValue) { in setDecimalSeparatorAlwaysShown() argument
884 if (UBOOL_TO_BOOL(newValue) == fields->properties->decimalSeparatorAlwaysShown) { return; } in setDecimalSeparatorAlwaysShown()
885 fields->properties->decimalSeparatorAlwaysShown = newValue; in setDecimalSeparatorAlwaysShown()
893 void DecimalFormat::setDecimalPatternMatchRequired(UBool newValue) { in setDecimalPatternMatchRequired() argument
894 if (UBOOL_TO_BOOL(newValue) == fields->properties->decimalPatternMatchRequired) { return; } in setDecimalPatternMatchRequired()
895 fields->properties->decimalPatternMatchRequired = newValue; in setDecimalPatternMatchRequired()
982 void DecimalFormat::setMaximumIntegerDigits(int32_t newValue) { in setMaximumIntegerDigits() argument
983 if (newValue == fields->properties->maximumIntegerDigits) { return; } in setMaximumIntegerDigits()
986 if (min >= 0 && min > newValue) { in setMaximumIntegerDigits()
987 fields->properties->minimumIntegerDigits = newValue; in setMaximumIntegerDigits()
989 fields->properties->maximumIntegerDigits = newValue; in setMaximumIntegerDigits()
993 void DecimalFormat::setMinimumIntegerDigits(int32_t newValue) { in setMinimumIntegerDigits() argument
994 if (newValue == fields->properties->minimumIntegerDigits) { return; } in setMinimumIntegerDigits()
997 if (max >= 0 && max < newValue) { in setMinimumIntegerDigits()
998 fields->properties->maximumIntegerDigits = newValue; in setMinimumIntegerDigits()
1000 fields->properties->minimumIntegerDigits = newValue; in setMinimumIntegerDigits()
1004 void DecimalFormat::setMaximumFractionDigits(int32_t newValue) { in setMaximumFractionDigits() argument
1005 if (newValue == fields->properties->maximumFractionDigits) { return; } in setMaximumFractionDigits()
1008 if (min >= 0 && min > newValue) { in setMaximumFractionDigits()
1009 fields->properties->minimumFractionDigits = newValue; in setMaximumFractionDigits()
1011 fields->properties->maximumFractionDigits = newValue; in setMaximumFractionDigits()
1015 void DecimalFormat::setMinimumFractionDigits(int32_t newValue) { in setMinimumFractionDigits() argument
1016 if (newValue == fields->properties->minimumFractionDigits) { return; } in setMinimumFractionDigits()
1019 if (max >= 0 && max < newValue) { in setMinimumFractionDigits()
1020 fields->properties->maximumFractionDigits = newValue; in setMinimumFractionDigits()
1022 fields->properties->minimumFractionDigits = newValue; in setMinimumFractionDigits()