• Home
  • History
  • Annotate
  • Raw
  • Download

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 && *fields->symbols == *otherDF->fields->… 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()
834 return fields->properties.currencyPluralInfo.fPtr.getAlias(); in getCurrencyPluralInfo()
844 fields->properties.currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in adoptCurrencyPluralInfo()
852 if (fields->properties.currencyPluralInfo.fPtr.isNull()) { in setCurrencyPluralInfo()
854 fields->properties.currencyPluralInfo.fPtr.adoptInstead(info.clone()); in setCurrencyPluralInfo()
856 *fields->properties.currencyPluralInfo.fPtr = info; // copy-assignment operator in setCurrencyPluralInfo()
876 if (newValue == fields->properties.positivePrefix) { return; } in setPositivePrefix()
877 fields->properties.positivePrefix = newValue; in setPositivePrefix()
896 if (newValue == fields->properties.negativePrefix) { return; } in setNegativePrefix()
897 fields->properties.negativePrefix = newValue; in setNegativePrefix()
916 if (newValue == fields->properties.positiveSuffix) { return; } in setPositiveSuffix()
917 fields->properties.positiveSuffix = newValue; in setPositiveSuffix()
936 if (newValue == fields->properties.negativeSuffix) { return; } in setNegativeSuffix()
937 fields->properties.negativeSuffix = newValue; in setNegativeSuffix()
946 return fields->properties.signAlwaysShown; in isSignAlwaysShown()
951 if (UBOOL_TO_BOOL(value) == fields->properties.signAlwaysShown) { return; } in setSignAlwaysShown()
952 fields->properties.signAlwaysShown = value; in setSignAlwaysShown()
963 dfp = &fields->properties; in getMultiplier()
995 fields->properties.magnitudeMultiplier = delta; in setMultiplier()
996 fields->properties.multiplier = 1; in setMultiplier()
998 fields->properties.magnitudeMultiplier = 0; in setMultiplier()
999 fields->properties.multiplier = multiplier; in setMultiplier()
1010 return fields->properties.multiplierScale; in getMultiplierScale()
1015 if (newValue == fields->properties.multiplierScale) { return; } in setMultiplierScale()
1016 fields->properties.multiplierScale = newValue; in setMultiplierScale()
1031 if (newValue == fields->properties.roundingIncrement) { return; } in setRoundingIncrement()
1032 fields->properties.roundingIncrement = newValue; in setRoundingIncrement()
1049 …if (!fields->properties.roundingMode.isNull() && uRoundingMode == fields->properties.roundingMode.… in setRoundingMode()
1053 fields->properties.roundingMode = uRoundingMode; in setRoundingMode()
1063 return fields->properties.formatWidth; in getFormatWidth()
1068 if (width == fields->properties.formatWidth) { return; } in setFormatWidth()
1069 fields->properties.formatWidth = width; in setFormatWidth()
1074 if (fields == nullptr || fields->properties.padString.isBogus()) { in getPadCharacterString()
1078 return fields->properties.padString; in getPadCharacterString()
1084 if (padChar == fields->properties.padString) { return; } in setPadCharacter()
1086 fields->properties.padString = UnicodeString(padChar.char32At(0)); in setPadCharacter()
1088 fields->properties.padString.setToBogus(); in setPadCharacter()
1094 if (fields == nullptr || fields->properties.padPosition.isNull()) { in getPadPosition()
1098 return static_cast<EPadPosition>(fields->properties.padPosition.getNoError()); in getPadPosition()
1105 …if (!fields->properties.padPosition.isNull() && uPadPos == fields->properties.padPosition.getNoErr… in setPadPosition()
1108 fields->properties.padPosition = uPadPos; in setPadPosition()
1118 return (fields->properties.minimumExponentDigits != -1); in isScientificNotation()
1124 if (fields->properties.minimumExponentDigits == minExp) { return; } in setScientificNotation()
1126 fields->properties.minimumExponentDigits = 1; in setScientificNotation()
1128 fields->properties.minimumExponentDigits = -1; in setScientificNotation()
1139 return static_cast<int8_t>(fields->properties.minimumExponentDigits); in getMinimumExponentDigits()
1144 if (minExpDig == fields->properties.minimumExponentDigits) { return; } in setMinimumExponentDigits()
1145 fields->properties.minimumExponentDigits = minExpDig; in setMinimumExponentDigits()
1155 return fields->properties.exponentSignAlwaysShown; in isExponentSignAlwaysShown()
1160 if (UBOOL_TO_BOOL(expSignAlways) == fields->properties.exponentSignAlwaysShown) { return; } in setExponentSignAlwaysShown()
1161 fields->properties.exponentSignAlwaysShown = expSignAlways; in setExponentSignAlwaysShown()
1172 groupingSize = fields->properties.groupingSize; in getGroupingSize()
1182 if (newValue == fields->properties.groupingSize) { return; } in setGroupingSize()
1183 fields->properties.groupingSize = newValue; in setGroupingSize()
1194 grouping2 = fields->properties.secondaryGroupingSize; in getSecondaryGroupingSize()
1204 if (newValue == fields->properties.secondaryGroupingSize) { return; } in setSecondaryGroupingSize()
1205 fields->properties.secondaryGroupingSize = newValue; in setSecondaryGroupingSize()
1215 return fields->properties.minimumGroupingDigits; in getMinimumGroupingDigits()
1220 if (newValue == fields->properties.minimumGroupingDigits) { return; } in setMinimumGroupingDigits()
1221 fields->properties.minimumGroupingDigits = newValue; in setMinimumGroupingDigits()
1231 return fields->properties.decimalSeparatorAlwaysShown; in isDecimalSeparatorAlwaysShown()
1236 if (UBOOL_TO_BOOL(newValue) == fields->properties.decimalSeparatorAlwaysShown) { return; } in setDecimalSeparatorAlwaysShown()
1237 fields->properties.decimalSeparatorAlwaysShown = newValue; in setDecimalSeparatorAlwaysShown()
1247 return fields->properties.decimalPatternMatchRequired; in isDecimalPatternMatchRequired()
1252 if (UBOOL_TO_BOOL(newValue) == fields->properties.decimalPatternMatchRequired) { return; } in setDecimalPatternMatchRequired()
1253 fields->properties.decimalPatternMatchRequired = newValue; in setDecimalPatternMatchRequired()
1263 return fields->properties.parseNoExponent; in isParseNoExponent()
1268 if (UBOOL_TO_BOOL(value) == fields->properties.parseNoExponent) { return; } in setParseNoExponent()
1269 fields->properties.parseNoExponent = value; in setParseNoExponent()
1279 return fields->properties.parseCaseSensitive; in isParseCaseSensitive()
1284 if (UBOOL_TO_BOOL(value) == fields->properties.parseCaseSensitive) { return; } in setParseCaseSensitive()
1285 fields->properties.parseCaseSensitive = value; in setParseCaseSensitive()
1295 return fields->properties.formatFailIfMoreThanMaxDigits; in isFormatFailIfMoreThanMaxDigits()
1300 if (UBOOL_TO_BOOL(value) == fields->properties.formatFailIfMoreThanMaxDigits) { return; } in setFormatFailIfMoreThanMaxDigits()
1301 fields->properties.formatFailIfMoreThanMaxDigits = value; in setFormatFailIfMoreThanMaxDigits()
1311 // Pull some properties from exportedProperties and others from properties in toPattern()
1312 // to keep affix patterns intact. In particular, pull rounding properties in toPattern()
1316 DecimalFormatProperties tprops(fields->properties); in toPattern()
1384 if (newValue == fields->properties.maximumIntegerDigits) { return; } in setMaximumIntegerDigits()
1386 int32_t min = fields->properties.minimumIntegerDigits; in setMaximumIntegerDigits()
1388 fields->properties.minimumIntegerDigits = newValue; in setMaximumIntegerDigits()
1390 fields->properties.maximumIntegerDigits = newValue; in setMaximumIntegerDigits()
1396 if (newValue == fields->properties.minimumIntegerDigits) { return; } in setMinimumIntegerDigits()
1398 int32_t max = fields->properties.maximumIntegerDigits; in setMinimumIntegerDigits()
1400 fields->properties.maximumIntegerDigits = newValue; in setMinimumIntegerDigits()
1402 fields->properties.minimumIntegerDigits = newValue; in setMinimumIntegerDigits()
1408 if (newValue == fields->properties.maximumFractionDigits) { return; } in setMaximumFractionDigits()
1414 int32_t min = fields->properties.minimumFractionDigits; in setMaximumFractionDigits()
1416 fields->properties.minimumFractionDigits = newValue; in setMaximumFractionDigits()
1418 fields->properties.maximumFractionDigits = newValue; in setMaximumFractionDigits()
1424 if (newValue == fields->properties.minimumFractionDigits) { return; } in setMinimumFractionDigits()
1426 int32_t max = fields->properties.maximumFractionDigits; in setMinimumFractionDigits()
1428 fields->properties.maximumFractionDigits = newValue; in setMinimumFractionDigits()
1430 fields->properties.minimumFractionDigits = newValue; in setMinimumFractionDigits()
1454 if (value == fields->properties.minimumSignificantDigits) { return; } in setMinimumSignificantDigits()
1455 int32_t max = fields->properties.maximumSignificantDigits; in setMinimumSignificantDigits()
1457 fields->properties.maximumSignificantDigits = value; in setMinimumSignificantDigits()
1459 fields->properties.minimumSignificantDigits = value; in setMinimumSignificantDigits()
1465 if (value == fields->properties.maximumSignificantDigits) { return; } in setMaximumSignificantDigits()
1466 int32_t min = fields->properties.minimumSignificantDigits; in setMaximumSignificantDigits()
1468 fields->properties.minimumSignificantDigits = value; in setMaximumSignificantDigits()
1470 fields->properties.maximumSignificantDigits = value; in setMaximumSignificantDigits()
1481 dfp = &fields->properties; in areSignificantDigitsUsed()
1491 if (fields->properties.minimumSignificantDigits != -1 || in setSignificantDigitsUsed()
1492 fields->properties.maximumSignificantDigits != -1) { in setSignificantDigitsUsed()
1496 if (fields->properties.minimumSignificantDigits == -1 && in setSignificantDigitsUsed()
1497 fields->properties.maximumSignificantDigits == -1) { in setSignificantDigitsUsed()
1503 fields->properties.minimumSignificantDigits = minSig; in setSignificantDigitsUsed()
1504 fields->properties.maximumSignificantDigits = maxSig; in setSignificantDigitsUsed()
1518 …if (!fields->properties.currency.isNull() && fields->properties.currency.getNoError() == currencyU… in setCurrency()
1522 fields->properties.currency = currencyUnit; in setCurrency()
1543 …if (!fields->properties.currencyUsage.isNull() && newUsage == fields->properties.currencyUsage.get… in setCurrencyUsage()
1546 fields->properties.currencyUsage = newUsage; in setCurrencyUsage()
1553 if (fields == nullptr || fields->properties.currencyUsage.isNull()) { in getCurrencyUsage()
1556 return fields->properties.currencyUsage.getNoError(); in getCurrencyUsage()
1622 fields->properties, *fields->symbols, fields->warehouse, fields->exportedProperties, status in touch()
1638 …// fImpl->properties, not fields->exportedProperties, since this information comes from the patter… in touch()
1639 NumberFormat::setGroupingUsed(fields->properties.groupingUsed); in touch()
1652 …PatternParser::parseToExistingProperties(pattern, fields->properties, actualIgnoreRounding, statu… in setPropertiesFromPattern()
1671 …auto* temp = NumberParserImpl::createParserFromProperties(fields->properties, *fields->symbols, fa… in getParser()
1704 …auto* temp = NumberParserImpl::createParserFromProperties(fields->properties, *fields->symbols, tr… in getCurrencyParser()
1757 // Check the majority of properties: in setupFastFormat()
1758 if (!fields->properties.equalsDefaultExceptFastFormat()) { in setupFastFormat()
1764 // Now check the remaining properties. in setupFastFormat()
1766 UBool trivialPP = fields->properties.positivePrefixPattern.isEmpty(); in setupFastFormat()
1767 UBool trivialPS = fields->properties.positiveSuffixPattern.isEmpty(); in setupFastFormat()
1768 UBool trivialNP = fields->properties.negativePrefixPattern.isBogus() || ( in setupFastFormat()
1769 fields->properties.negativePrefixPattern.length() == 1 && in setupFastFormat()
1770 fields->properties.negativePrefixPattern.charAt(0) == u'-'); in setupFastFormat()
1771 UBool trivialNS = fields->properties.negativeSuffixPattern.isEmpty(); in setupFastFormat()
1779 bool groupingUsed = fields->properties.groupingUsed; in setupFastFormat()
1780 int32_t groupingSize = fields->properties.groupingSize; in setupFastFormat()