Lines Matching full:properties
98 fields->properties.currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in DecimalFormat()
129 if (value == fields->properties.parseAllInput) { return; } in setParseAllInput()
130 fields->properties.parseAllInput = value; in setParseAllInput()
375 if (UBOOL_TO_BOOL(enabled) == fields->properties.groupingUsed) { return; } in setGroupingUsed()
377 fields->properties.groupingUsed = enabled; in setGroupingUsed()
385 if (UBOOL_TO_BOOL(value) == fields->properties.parseIntegerOnly) { return; } in setParseIntegerOnly()
387 fields->properties.parseIntegerOnly = value; in setParseIntegerOnly()
396 …if (!fields->properties.parseMode.isNull() && mode == fields->properties.parseMode.getNoError()) {… in setLenient()
398 fields->properties.parseMode = mode; in setLenient()
437 fields = new DecimalFormatFields(source.fields->properties); in DecimalFormat()
463 fields->properties = rhs.fields->properties; in operator =()
510 …return fields->properties == otherDF->fields->properties && *getDecimalFormatSymbols() == *otherDF… in operator ==()
746 …// TODO: Do we need to check for fImpl->properties->parseAllInput (UCONFIG_HAVE_PARSEALLINPUT) her… in parse()
776 …// TODO: Do we need to check for fImpl->properties->parseAllInput (UCONFIG_HAVE_PARSEALLINPUT) her… in parseCurrency()
838 return fields->properties.currencyPluralInfo.fPtr.getAlias(); in getCurrencyPluralInfo()
848 fields->properties.currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in adoptCurrencyPluralInfo()
856 if (fields->properties.currencyPluralInfo.fPtr.isNull()) { in setCurrencyPluralInfo()
858 fields->properties.currencyPluralInfo.fPtr.adoptInstead(info.clone()); in setCurrencyPluralInfo()
860 *fields->properties.currencyPluralInfo.fPtr = info; // copy-assignment operator in setCurrencyPluralInfo()
880 if (newValue == fields->properties.positivePrefix) { return; } in setPositivePrefix()
881 fields->properties.positivePrefix = newValue; in setPositivePrefix()
900 if (newValue == fields->properties.negativePrefix) { return; } in setNegativePrefix()
901 fields->properties.negativePrefix = newValue; in setNegativePrefix()
920 if (newValue == fields->properties.positiveSuffix) { return; } in setPositiveSuffix()
921 fields->properties.positiveSuffix = newValue; in setPositiveSuffix()
940 if (newValue == fields->properties.negativeSuffix) { return; } in setNegativeSuffix()
941 fields->properties.negativeSuffix = newValue; in setNegativeSuffix()
950 return fields->properties.signAlwaysShown; in isSignAlwaysShown()
955 if (UBOOL_TO_BOOL(value) == fields->properties.signAlwaysShown) { return; } in setSignAlwaysShown()
956 fields->properties.signAlwaysShown = value; in setSignAlwaysShown()
967 dfp = &fields->properties; in getMultiplier()
999 fields->properties.magnitudeMultiplier = delta; in setMultiplier()
1000 fields->properties.multiplier = 1; in setMultiplier()
1002 fields->properties.magnitudeMultiplier = 0; in setMultiplier()
1003 fields->properties.multiplier = multiplier; in setMultiplier()
1014 return fields->properties.multiplierScale; in getMultiplierScale()
1019 if (newValue == fields->properties.multiplierScale) { return; } in setMultiplierScale()
1020 fields->properties.multiplierScale = newValue; in setMultiplierScale()
1035 if (newValue == fields->properties.roundingIncrement) { return; } in setRoundingIncrement()
1036 fields->properties.roundingIncrement = newValue; in setRoundingIncrement()
1053 …if (!fields->properties.roundingMode.isNull() && uRoundingMode == fields->properties.roundingMode.… in setRoundingMode()
1057 fields->properties.roundingMode = uRoundingMode; in setRoundingMode()
1067 return fields->properties.formatWidth; in getFormatWidth()
1072 if (width == fields->properties.formatWidth) { return; } in setFormatWidth()
1073 fields->properties.formatWidth = width; in setFormatWidth()
1078 if (fields == nullptr || fields->properties.padString.isBogus()) { in getPadCharacterString()
1082 return fields->properties.padString; in getPadCharacterString()
1088 if (padChar == fields->properties.padString) { return; } in setPadCharacter()
1090 fields->properties.padString = UnicodeString(padChar.char32At(0)); in setPadCharacter()
1092 fields->properties.padString.setToBogus(); in setPadCharacter()
1098 if (fields == nullptr || fields->properties.padPosition.isNull()) { in getPadPosition()
1102 return static_cast<EPadPosition>(fields->properties.padPosition.getNoError()); in getPadPosition()
1109 …if (!fields->properties.padPosition.isNull() && uPadPos == fields->properties.padPosition.getNoErr… in setPadPosition()
1112 fields->properties.padPosition = uPadPos; in setPadPosition()
1122 return (fields->properties.minimumExponentDigits != -1); in isScientificNotation()
1128 if (fields->properties.minimumExponentDigits == minExp) { return; } in setScientificNotation()
1130 fields->properties.minimumExponentDigits = 1; in setScientificNotation()
1132 fields->properties.minimumExponentDigits = -1; in setScientificNotation()
1143 return static_cast<int8_t>(fields->properties.minimumExponentDigits); in getMinimumExponentDigits()
1148 if (minExpDig == fields->properties.minimumExponentDigits) { return; } in setMinimumExponentDigits()
1149 fields->properties.minimumExponentDigits = minExpDig; in setMinimumExponentDigits()
1159 return fields->properties.exponentSignAlwaysShown; in isExponentSignAlwaysShown()
1164 if (UBOOL_TO_BOOL(expSignAlways) == fields->properties.exponentSignAlwaysShown) { return; } in setExponentSignAlwaysShown()
1165 fields->properties.exponentSignAlwaysShown = expSignAlways; in setExponentSignAlwaysShown()
1176 groupingSize = fields->properties.groupingSize; in getGroupingSize()
1186 if (newValue == fields->properties.groupingSize) { return; } in setGroupingSize()
1187 fields->properties.groupingSize = newValue; in setGroupingSize()
1198 grouping2 = fields->properties.secondaryGroupingSize; in getSecondaryGroupingSize()
1208 if (newValue == fields->properties.secondaryGroupingSize) { return; } in setSecondaryGroupingSize()
1209 fields->properties.secondaryGroupingSize = newValue; in setSecondaryGroupingSize()
1219 return fields->properties.minimumGroupingDigits; in getMinimumGroupingDigits()
1224 if (newValue == fields->properties.minimumGroupingDigits) { return; } in setMinimumGroupingDigits()
1225 fields->properties.minimumGroupingDigits = newValue; in setMinimumGroupingDigits()
1235 return fields->properties.decimalSeparatorAlwaysShown; in isDecimalSeparatorAlwaysShown()
1240 if (UBOOL_TO_BOOL(newValue) == fields->properties.decimalSeparatorAlwaysShown) { return; } in setDecimalSeparatorAlwaysShown()
1241 fields->properties.decimalSeparatorAlwaysShown = newValue; in setDecimalSeparatorAlwaysShown()
1251 return fields->properties.decimalPatternMatchRequired; in isDecimalPatternMatchRequired()
1256 if (UBOOL_TO_BOOL(newValue) == fields->properties.decimalPatternMatchRequired) { return; } in setDecimalPatternMatchRequired()
1257 fields->properties.decimalPatternMatchRequired = newValue; in setDecimalPatternMatchRequired()
1267 return fields->properties.parseNoExponent; in isParseNoExponent()
1272 if (UBOOL_TO_BOOL(value) == fields->properties.parseNoExponent) { return; } in setParseNoExponent()
1273 fields->properties.parseNoExponent = value; in setParseNoExponent()
1283 return fields->properties.parseCaseSensitive; in isParseCaseSensitive()
1288 if (UBOOL_TO_BOOL(value) == fields->properties.parseCaseSensitive) { return; } in setParseCaseSensitive()
1289 fields->properties.parseCaseSensitive = value; in setParseCaseSensitive()
1299 return fields->properties.formatFailIfMoreThanMaxDigits; in isFormatFailIfMoreThanMaxDigits()
1304 if (UBOOL_TO_BOOL(value) == fields->properties.formatFailIfMoreThanMaxDigits) { return; } in setFormatFailIfMoreThanMaxDigits()
1305 fields->properties.formatFailIfMoreThanMaxDigits = value; in setFormatFailIfMoreThanMaxDigits()
1315 // Pull some properties from exportedProperties and others from properties in toPattern()
1316 // to keep affix patterns intact. In particular, pull rounding properties in toPattern()
1320 DecimalFormatProperties tprops(fields->properties); in toPattern()
1389 if (newValue == fields->properties.maximumIntegerDigits) { return; } in setMaximumIntegerDigits()
1391 int32_t min = fields->properties.minimumIntegerDigits; in setMaximumIntegerDigits()
1393 fields->properties.minimumIntegerDigits = newValue; in setMaximumIntegerDigits()
1395 fields->properties.maximumIntegerDigits = newValue; in setMaximumIntegerDigits()
1401 if (newValue == fields->properties.minimumIntegerDigits) { return; } in setMinimumIntegerDigits()
1403 int32_t max = fields->properties.maximumIntegerDigits; in setMinimumIntegerDigits()
1405 fields->properties.maximumIntegerDigits = newValue; in setMinimumIntegerDigits()
1407 fields->properties.minimumIntegerDigits = newValue; in setMinimumIntegerDigits()
1413 if (newValue == fields->properties.maximumFractionDigits) { return; } in setMaximumFractionDigits()
1419 int32_t min = fields->properties.minimumFractionDigits; in setMaximumFractionDigits()
1421 fields->properties.minimumFractionDigits = newValue; in setMaximumFractionDigits()
1423 fields->properties.maximumFractionDigits = newValue; in setMaximumFractionDigits()
1429 if (newValue == fields->properties.minimumFractionDigits) { return; } in setMinimumFractionDigits()
1431 int32_t max = fields->properties.maximumFractionDigits; in setMinimumFractionDigits()
1433 fields->properties.maximumFractionDigits = newValue; in setMinimumFractionDigits()
1435 fields->properties.minimumFractionDigits = newValue; in setMinimumFractionDigits()
1459 if (value == fields->properties.minimumSignificantDigits) { return; } in setMinimumSignificantDigits()
1460 int32_t max = fields->properties.maximumSignificantDigits; in setMinimumSignificantDigits()
1462 fields->properties.maximumSignificantDigits = value; in setMinimumSignificantDigits()
1464 fields->properties.minimumSignificantDigits = value; in setMinimumSignificantDigits()
1470 if (value == fields->properties.maximumSignificantDigits) { return; } in setMaximumSignificantDigits()
1471 int32_t min = fields->properties.minimumSignificantDigits; in setMaximumSignificantDigits()
1473 fields->properties.minimumSignificantDigits = value; in setMaximumSignificantDigits()
1475 fields->properties.maximumSignificantDigits = value; in setMaximumSignificantDigits()
1486 dfp = &fields->properties; in areSignificantDigitsUsed()
1496 if (fields->properties.minimumSignificantDigits != -1 || in setSignificantDigitsUsed()
1497 fields->properties.maximumSignificantDigits != -1) { in setSignificantDigitsUsed()
1501 if (fields->properties.minimumSignificantDigits == -1 && in setSignificantDigitsUsed()
1502 fields->properties.maximumSignificantDigits == -1) { in setSignificantDigitsUsed()
1508 fields->properties.minimumSignificantDigits = minSig; in setSignificantDigitsUsed()
1509 fields->properties.maximumSignificantDigits = maxSig; in setSignificantDigitsUsed()
1523 …if (!fields->properties.currency.isNull() && fields->properties.currency.getNoError() == currencyU… in setCurrency()
1527 fields->properties.currency = currencyUnit; in setCurrency()
1548 …if (!fields->properties.currencyUsage.isNull() && newUsage == fields->properties.currencyUsage.get… in setCurrencyUsage()
1551 fields->properties.currencyUsage = newUsage; in setCurrencyUsage()
1558 if (fields == nullptr || fields->properties.currencyUsage.isNull()) { in getCurrencyUsage()
1561 return fields->properties.currencyUsage.getNoError(); in getCurrencyUsage()
1632 fields->properties, *symbols, fields->warehouse, fields->exportedProperties, status in touch()
1649 …// fImpl->properties, not fields->exportedProperties, since this information comes from the patter… in touch()
1650 NumberFormat::setGroupingUsed(fields->properties.groupingUsed); in touch()
1663 …PatternParser::parseToExistingProperties(pattern, fields->properties, actualIgnoreRounding, statu… in setPropertiesFromPattern()
1682 …auto* temp = NumberParserImpl::createParserFromProperties(fields->properties, *getDecimalFormatSym… in getParser()
1715 …auto* temp = NumberParserImpl::createParserFromProperties(fields->properties, *getDecimalFormatSym… in getCurrencyParser()
1768 // Check the majority of properties: in setupFastFormat()
1769 if (!fields->properties.equalsDefaultExceptFastFormat()) { in setupFastFormat()
1775 // Now check the remaining properties. in setupFastFormat()
1777 UBool trivialPP = fields->properties.positivePrefixPattern.isEmpty(); in setupFastFormat()
1778 UBool trivialPS = fields->properties.positiveSuffixPattern.isEmpty(); in setupFastFormat()
1779 UBool trivialNP = fields->properties.negativePrefixPattern.isBogus() || ( in setupFastFormat()
1780 fields->properties.negativePrefixPattern.length() == 1 && in setupFastFormat()
1781 fields->properties.negativePrefixPattern.charAt(0) == u'-'); in setupFastFormat()
1782 UBool trivialNS = fields->properties.negativeSuffixPattern.isEmpty(); in setupFastFormat()
1792 bool groupingUsed = fields->properties.groupingUsed; in setupFastFormat()
1793 int32_t groupingSize = fields->properties.groupingSize; in setupFastFormat()