• Home
  • Raw
  • Download

Lines Matching refs:newValue

136 DecimalFormat::setAttribute(UNumberFormatAttribute attr, int32_t newValue, UErrorCode& status) {  in setAttribute()  argument
147 setLenient(newValue != 0); in setAttribute()
151 setParseIntegerOnly(newValue != 0); in setAttribute()
155 setGroupingUsed(newValue != 0); in setAttribute()
159 setDecimalSeparatorAlwaysShown(newValue != 0); in setAttribute()
163 setMaximumIntegerDigits(newValue); in setAttribute()
167 setMinimumIntegerDigits(newValue); in setAttribute()
171 setMinimumIntegerDigits(newValue); in setAttribute()
172 setMaximumIntegerDigits(newValue); in setAttribute()
176 setMaximumFractionDigits(newValue); in setAttribute()
180 setMinimumFractionDigits(newValue); in setAttribute()
184 setMinimumFractionDigits(newValue); in setAttribute()
185 setMaximumFractionDigits(newValue); in setAttribute()
189 setSignificantDigitsUsed(newValue != 0); in setAttribute()
193 setMaximumSignificantDigits(newValue); in setAttribute()
197 setMinimumSignificantDigits(newValue); in setAttribute()
201 setMultiplier(newValue); in setAttribute()
205 setMultiplierScale(newValue); in setAttribute()
209 setGroupingSize(newValue); in setAttribute()
213 setRoundingMode((DecimalFormat::ERoundingMode) newValue); in setAttribute()
217 setFormatWidth(newValue); in setAttribute()
222 setPadPosition((DecimalFormat::EPadPosition) newValue); in setAttribute()
226 setSecondaryGroupingSize(newValue); in setAttribute()
231 setParseAllInput((UNumberFormatAttributeValue) newValue); in setAttribute()
236 setParseNoExponent((UBool) newValue); in setAttribute()
240 setDecimalPatternMatchRequired((UBool) newValue); in setAttribute()
244 setCurrencyUsage((UCurrencyUsage) newValue, &status); in setAttribute()
248 setMinimumGroupingDigits(newValue); in setAttribute()
252 setParseCaseSensitive(static_cast<UBool>(newValue)); in setAttribute()
256 setSignAlwaysShown(static_cast<UBool>(newValue)); in setAttribute()
260 setFormatFailIfMoreThanMaxDigits(static_cast<UBool>(newValue)); in setAttribute()
876 void DecimalFormat::setPositivePrefix(const UnicodeString& newValue) { in setPositivePrefix() argument
880 if (newValue == fields->properties.positivePrefix) { return; } in setPositivePrefix()
881 fields->properties.positivePrefix = newValue; in setPositivePrefix()
896 void DecimalFormat::setNegativePrefix(const UnicodeString& newValue) { in setNegativePrefix() argument
900 if (newValue == fields->properties.negativePrefix) { return; } in setNegativePrefix()
901 fields->properties.negativePrefix = newValue; in setNegativePrefix()
916 void DecimalFormat::setPositiveSuffix(const UnicodeString& newValue) { in setPositiveSuffix() argument
920 if (newValue == fields->properties.positiveSuffix) { return; } in setPositiveSuffix()
921 fields->properties.positiveSuffix = newValue; in setPositiveSuffix()
936 void DecimalFormat::setNegativeSuffix(const UnicodeString& newValue) { in setNegativeSuffix() argument
940 if (newValue == fields->properties.negativeSuffix) { return; } in setNegativeSuffix()
941 fields->properties.negativeSuffix = newValue; in setNegativeSuffix()
1017 void DecimalFormat::setMultiplierScale(int32_t newValue) { in setMultiplierScale() argument
1019 if (newValue == fields->properties.multiplierScale) { return; } in setMultiplierScale()
1020 fields->properties.multiplierScale = newValue; in setMultiplierScale()
1033 void DecimalFormat::setRoundingIncrement(double newValue) { in setRoundingIncrement() argument
1035 if (newValue == fields->properties.roundingIncrement) { return; } in setRoundingIncrement()
1036 fields->properties.roundingIncrement = newValue; in setRoundingIncrement()
1184 void DecimalFormat::setGroupingSize(int32_t newValue) { in setGroupingSize() argument
1186 if (newValue == fields->properties.groupingSize) { return; } in setGroupingSize()
1187 fields->properties.groupingSize = newValue; in setGroupingSize()
1206 void DecimalFormat::setSecondaryGroupingSize(int32_t newValue) { in setSecondaryGroupingSize() argument
1208 if (newValue == fields->properties.secondaryGroupingSize) { return; } in setSecondaryGroupingSize()
1209 fields->properties.secondaryGroupingSize = newValue; in setSecondaryGroupingSize()
1222 void DecimalFormat::setMinimumGroupingDigits(int32_t newValue) { in setMinimumGroupingDigits() argument
1224 if (newValue == fields->properties.minimumGroupingDigits) { return; } in setMinimumGroupingDigits()
1225 fields->properties.minimumGroupingDigits = newValue; in setMinimumGroupingDigits()
1238 void DecimalFormat::setDecimalSeparatorAlwaysShown(UBool newValue) { in setDecimalSeparatorAlwaysShown() argument
1240 if (UBOOL_TO_BOOL(newValue) == fields->properties.decimalSeparatorAlwaysShown) { return; } in setDecimalSeparatorAlwaysShown()
1241 fields->properties.decimalSeparatorAlwaysShown = newValue; in setDecimalSeparatorAlwaysShown()
1254 void DecimalFormat::setDecimalPatternMatchRequired(UBool newValue) { in setDecimalPatternMatchRequired() argument
1256 if (UBOOL_TO_BOOL(newValue) == fields->properties.decimalPatternMatchRequired) { return; } in setDecimalPatternMatchRequired()
1257 fields->properties.decimalPatternMatchRequired = newValue; in setDecimalPatternMatchRequired()
1387 void DecimalFormat::setMaximumIntegerDigits(int32_t newValue) { in setMaximumIntegerDigits() argument
1389 if (newValue == fields->properties.maximumIntegerDigits) { return; } in setMaximumIntegerDigits()
1392 if (min >= 0 && min > newValue) { in setMaximumIntegerDigits()
1393 fields->properties.minimumIntegerDigits = newValue; in setMaximumIntegerDigits()
1395 fields->properties.maximumIntegerDigits = newValue; in setMaximumIntegerDigits()
1399 void DecimalFormat::setMinimumIntegerDigits(int32_t newValue) { in setMinimumIntegerDigits() argument
1401 if (newValue == fields->properties.minimumIntegerDigits) { return; } in setMinimumIntegerDigits()
1404 if (max >= 0 && max < newValue) { in setMinimumIntegerDigits()
1405 fields->properties.maximumIntegerDigits = newValue; in setMinimumIntegerDigits()
1407 fields->properties.minimumIntegerDigits = newValue; in setMinimumIntegerDigits()
1411 void DecimalFormat::setMaximumFractionDigits(int32_t newValue) { in setMaximumFractionDigits() argument
1413 if (newValue == fields->properties.maximumFractionDigits) { return; } in setMaximumFractionDigits()
1415 if (newValue > kMaxIntFracSig) { in setMaximumFractionDigits()
1416 newValue = kMaxIntFracSig; in setMaximumFractionDigits()
1420 if (min >= 0 && min > newValue) { in setMaximumFractionDigits()
1421 fields->properties.minimumFractionDigits = newValue; in setMaximumFractionDigits()
1423 fields->properties.maximumFractionDigits = newValue; in setMaximumFractionDigits()
1427 void DecimalFormat::setMinimumFractionDigits(int32_t newValue) { in setMinimumFractionDigits() argument
1429 if (newValue == fields->properties.minimumFractionDigits) { return; } in setMinimumFractionDigits()
1432 if (max >= 0 && max < newValue) { in setMinimumFractionDigits()
1433 fields->properties.maximumFractionDigits = newValue; in setMinimumFractionDigits()
1435 fields->properties.minimumFractionDigits = newValue; in setMinimumFractionDigits()