Lines Matching refs:fields
95 new CurrencyPluralInfo(fields->symbols->getLocale(), status), in DecimalFormat()
98 fields->properties.currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in DecimalFormat()
109 fields = new DecimalFormatFields(); in DecimalFormat()
110 if (fields == nullptr) { in DecimalFormat()
115 fields->symbols.adoptInsteadAndCheckErrorCode(new DecimalFormatSymbols(status), status); in DecimalFormat()
117 fields->symbols.adoptInsteadAndCheckErrorCode(adoptedSymbols.orphan(), status); in DecimalFormat()
120 delete fields; in DecimalFormat()
121 fields = nullptr; in DecimalFormat()
128 if (fields == nullptr) { return; } in setParseAllInput()
129 if (value == fields->properties.parseAllInput) { return; } in setParseAllInput()
130 fields->properties.parseAllInput = value; in setParseAllInput()
139 if (fields == nullptr) { in setAttribute()
273 if (fields == nullptr) { in getAttribute()
372 if (fields == nullptr) { in setGroupingUsed()
375 if (UBOOL_TO_BOOL(enabled) == fields->properties.groupingUsed) { return; } in setGroupingUsed()
377 fields->properties.groupingUsed = enabled; in setGroupingUsed()
382 if (fields == nullptr) { in setParseIntegerOnly()
385 if (UBOOL_TO_BOOL(value) == fields->properties.parseIntegerOnly) { return; } in setParseIntegerOnly()
387 fields->properties.parseIntegerOnly = value; in setParseIntegerOnly()
392 if (fields == nullptr) { in setLenient()
396 …if (!fields->properties.parseMode.isNull() && mode == fields->properties.parseMode.getNoError()) {… in setLenient()
398 fields->properties.parseMode = mode; in setLenient()
419 delete fields; in DecimalFormat()
420 fields = nullptr; in DecimalFormat()
424 fields->symbols.adoptInstead(dfs.orphan()); in DecimalFormat()
431 if (source.fields == nullptr) { in DecimalFormat()
437 fields = new DecimalFormatFields(source.fields->properties); in DecimalFormat()
438 if (fields == nullptr) { in DecimalFormat()
442 …fields->symbols.adoptInsteadAndCheckErrorCode(new DecimalFormatSymbols(*source.fields->symbols), s… in DecimalFormat()
447 delete fields; in DecimalFormat()
448 fields = nullptr; in DecimalFormat()
460 if (fields == nullptr || rhs.fields == nullptr) { in operator =()
463 fields->properties = rhs.fields->properties; in operator =()
464 fields->exportedProperties.clear(); in operator =()
466 LocalPointer<DecimalFormatSymbols> dfs(new DecimalFormatSymbols(*rhs.fields->symbols), status); in operator =()
470 delete fields; in operator =()
471 fields = nullptr; in operator =()
474 fields->symbols.adoptInstead(dfs.orphan()); in operator =()
481 if (fields == nullptr) { return; } in ~DecimalFormat()
483 delete fields->atomicParser.exchange(nullptr); in ~DecimalFormat()
484 delete fields->atomicCurrencyParser.exchange(nullptr); in ~DecimalFormat()
485 delete fields; in ~DecimalFormat()
490 if (fields == nullptr) { in clone()
494 if (df.isValid() && df->fields != nullptr) { in clone()
507 if (fields == nullptr || otherDF->fields == nullptr) { in operator ==()
510 …return fields->properties == otherDF->fields->properties && *fields->symbols == *otherDF->fields->… in operator ==()
514 if (fields == nullptr) { in format()
524 fields->formatter.formatImpl(&output, localStatus); in format()
536 if (fields == nullptr) { in format()
547 fields->formatter.formatImpl(&output, status); in format()
560 if (fields == nullptr) { in format()
571 fields->formatter.formatImpl(&output, status); in format()
594 if (fields == nullptr) { in format()
604 fields->formatter.formatImpl(&output, localStatus); in format()
616 if (fields == nullptr) { in format()
627 fields->formatter.formatImpl(&output, status); in format()
640 if (fields == nullptr) { in format()
651 fields->formatter.formatImpl(&output, status); in format()
664 if (fields == nullptr) { in format()
672 fields->formatter.formatImpl(&output, status); in format()
684 if (fields == nullptr) { in format()
692 fields->formatter.formatImpl(&output, status); in format()
705 if (fields == nullptr) { in format()
713 fields->formatter.formatImpl(&output, status); in format()
722 if (fields == nullptr) { in parse()
756 if (fields == nullptr) { in parseCurrency()
794 if (fields == nullptr) { in getDecimalFormatSymbols()
797 return fields->symbols.getAlias(); in getDecimalFormatSymbols()
806 if (fields == nullptr) { in adoptDecimalFormatSymbols()
809 fields->symbols.adoptInstead(dfs.orphan()); in adoptDecimalFormatSymbols()
814 if (fields == nullptr) { in setDecimalFormatSymbols()
822 delete fields; in setDecimalFormatSymbols()
823 fields = nullptr; in setDecimalFormatSymbols()
826 fields->symbols.adoptInstead(dfs.orphan()); in setDecimalFormatSymbols()
831 if (fields == nullptr) { in getCurrencyPluralInfo()
834 return fields->properties.currencyPluralInfo.fPtr.getAlias(); in getCurrencyPluralInfo()
841 if (fields == nullptr) { in adoptCurrencyPluralInfo()
844 fields->properties.currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in adoptCurrencyPluralInfo()
849 if (fields == nullptr) { in setCurrencyPluralInfo()
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()
862 if (fields == nullptr) { in getPositivePrefix()
867 fields->formatter.getAffixImpl(true, false, result, status); in getPositivePrefix()
873 if (fields == nullptr) { in setPositivePrefix()
876 if (newValue == fields->properties.positivePrefix) { return; } in setPositivePrefix()
877 fields->properties.positivePrefix = newValue; in setPositivePrefix()
882 if (fields == nullptr) { in getNegativePrefix()
887 fields->formatter.getAffixImpl(true, true, result, status); in getNegativePrefix()
893 if (fields == nullptr) { in setNegativePrefix()
896 if (newValue == fields->properties.negativePrefix) { return; } in setNegativePrefix()
897 fields->properties.negativePrefix = newValue; in setNegativePrefix()
902 if (fields == nullptr) { in getPositiveSuffix()
907 fields->formatter.getAffixImpl(false, false, result, status); in getPositiveSuffix()
913 if (fields == nullptr) { in setPositiveSuffix()
916 if (newValue == fields->properties.positiveSuffix) { return; } in setPositiveSuffix()
917 fields->properties.positiveSuffix = newValue; in setPositiveSuffix()
922 if (fields == nullptr) { in getNegativeSuffix()
927 fields->formatter.getAffixImpl(false, true, result, status); in getNegativeSuffix()
933 if (fields == nullptr) { in setNegativeSuffix()
936 if (newValue == fields->properties.negativeSuffix) { return; } in setNegativeSuffix()
937 fields->properties.negativeSuffix = newValue; in setNegativeSuffix()
943 if (fields == nullptr) { in isSignAlwaysShown()
946 return fields->properties.signAlwaysShown; in isSignAlwaysShown()
950 if (fields == nullptr) { return; } in setSignAlwaysShown()
951 if (UBOOL_TO_BOOL(value) == fields->properties.signAlwaysShown) { return; } in setSignAlwaysShown()
952 fields->properties.signAlwaysShown = value; in setSignAlwaysShown()
959 if (fields == nullptr) { in getMultiplier()
963 dfp = &fields->properties; in getMultiplier()
975 if (fields == nullptr) { in setMultiplier()
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()
1006 if (fields == nullptr) { in getMultiplierScale()
1010 return fields->properties.multiplierScale; in getMultiplierScale()
1014 if (fields == nullptr) { return; } in setMultiplierScale()
1015 if (newValue == fields->properties.multiplierScale) { return; } in setMultiplierScale()
1016 fields->properties.multiplierScale = newValue; in setMultiplierScale()
1022 if (fields == nullptr) { in getRoundingIncrement()
1026 return fields->exportedProperties.roundingIncrement; in getRoundingIncrement()
1030 if (fields == nullptr) { return; } in setRoundingIncrement()
1031 if (newValue == fields->properties.roundingIncrement) { return; } in setRoundingIncrement()
1032 fields->properties.roundingIncrement = newValue; in setRoundingIncrement()
1038 if (fields == nullptr) { in getRoundingMode()
1043 return static_cast<ERoundingMode>(fields->exportedProperties.roundingMode.getNoError()); in getRoundingMode()
1047 if (fields == nullptr) { return; } in setRoundingMode()
1049 …if (!fields->properties.roundingMode.isNull() && uRoundingMode == fields->properties.roundingMode.… in setRoundingMode()
1053 fields->properties.roundingMode = uRoundingMode; in setRoundingMode()
1059 if (fields == nullptr) { in getFormatWidth()
1063 return fields->properties.formatWidth; in getFormatWidth()
1067 if (fields == nullptr) { return; } in setFormatWidth()
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()
1083 if (fields == nullptr) { return; } in setPadCharacter()
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()
1103 if (fields == nullptr) { return; } in setPadPosition()
1105 …if (!fields->properties.padPosition.isNull() && uPadPos == fields->properties.padPosition.getNoErr… in setPadPosition()
1108 fields->properties.padPosition = uPadPos; in setPadPosition()
1114 if (fields == nullptr) { in isScientificNotation()
1118 return (fields->properties.minimumExponentDigits != -1); in isScientificNotation()
1122 if (fields == nullptr) { return; } in setScientificNotation()
1124 if (fields->properties.minimumExponentDigits == minExp) { return; } in setScientificNotation()
1126 fields->properties.minimumExponentDigits = 1; in setScientificNotation()
1128 fields->properties.minimumExponentDigits = -1; in setScientificNotation()
1135 if (fields == nullptr) { in getMinimumExponentDigits()
1139 return static_cast<int8_t>(fields->properties.minimumExponentDigits); in getMinimumExponentDigits()
1143 if (fields == nullptr) { return; } in setMinimumExponentDigits()
1144 if (minExpDig == fields->properties.minimumExponentDigits) { return; } in setMinimumExponentDigits()
1145 fields->properties.minimumExponentDigits = minExpDig; in setMinimumExponentDigits()
1151 if (fields == nullptr) { in isExponentSignAlwaysShown()
1155 return fields->properties.exponentSignAlwaysShown; in isExponentSignAlwaysShown()
1159 if (fields == nullptr) { return; } in setExponentSignAlwaysShown()
1160 if (UBOOL_TO_BOOL(expSignAlways) == fields->properties.exponentSignAlwaysShown) { return; } in setExponentSignAlwaysShown()
1161 fields->properties.exponentSignAlwaysShown = expSignAlways; in setExponentSignAlwaysShown()
1168 if (fields == nullptr) { in getGroupingSize()
1172 groupingSize = fields->properties.groupingSize; in getGroupingSize()
1181 if (fields == nullptr) { return; } in setGroupingSize()
1182 if (newValue == fields->properties.groupingSize) { return; } in setGroupingSize()
1183 fields->properties.groupingSize = newValue; in setGroupingSize()
1190 if (fields == nullptr) { in getSecondaryGroupingSize()
1194 grouping2 = fields->properties.secondaryGroupingSize; in getSecondaryGroupingSize()
1203 if (fields == nullptr) { return; } in setSecondaryGroupingSize()
1204 if (newValue == fields->properties.secondaryGroupingSize) { return; } in setSecondaryGroupingSize()
1205 fields->properties.secondaryGroupingSize = newValue; in setSecondaryGroupingSize()
1211 if (fields == nullptr) { in getMinimumGroupingDigits()
1215 return fields->properties.minimumGroupingDigits; in getMinimumGroupingDigits()
1219 if (fields == nullptr) { return; } in setMinimumGroupingDigits()
1220 if (newValue == fields->properties.minimumGroupingDigits) { return; } in setMinimumGroupingDigits()
1221 fields->properties.minimumGroupingDigits = newValue; in setMinimumGroupingDigits()
1227 if (fields == nullptr) { in isDecimalSeparatorAlwaysShown()
1231 return fields->properties.decimalSeparatorAlwaysShown; in isDecimalSeparatorAlwaysShown()
1235 if (fields == nullptr) { return; } in setDecimalSeparatorAlwaysShown()
1236 if (UBOOL_TO_BOOL(newValue) == fields->properties.decimalSeparatorAlwaysShown) { return; } in setDecimalSeparatorAlwaysShown()
1237 fields->properties.decimalSeparatorAlwaysShown = newValue; in setDecimalSeparatorAlwaysShown()
1243 if (fields == nullptr) { in isDecimalPatternMatchRequired()
1247 return fields->properties.decimalPatternMatchRequired; in isDecimalPatternMatchRequired()
1251 if (fields == nullptr) { return; } in setDecimalPatternMatchRequired()
1252 if (UBOOL_TO_BOOL(newValue) == fields->properties.decimalPatternMatchRequired) { return; } in setDecimalPatternMatchRequired()
1253 fields->properties.decimalPatternMatchRequired = newValue; in setDecimalPatternMatchRequired()
1259 if (fields == nullptr) { in isParseNoExponent()
1263 return fields->properties.parseNoExponent; in isParseNoExponent()
1267 if (fields == nullptr) { return; } in setParseNoExponent()
1268 if (UBOOL_TO_BOOL(value) == fields->properties.parseNoExponent) { return; } in setParseNoExponent()
1269 fields->properties.parseNoExponent = value; in setParseNoExponent()
1275 if (fields == nullptr) { in isParseCaseSensitive()
1279 return fields->properties.parseCaseSensitive; in isParseCaseSensitive()
1283 if (fields == nullptr) { return; } in setParseCaseSensitive()
1284 if (UBOOL_TO_BOOL(value) == fields->properties.parseCaseSensitive) { return; } in setParseCaseSensitive()
1285 fields->properties.parseCaseSensitive = value; in setParseCaseSensitive()
1291 if (fields == nullptr) { in isFormatFailIfMoreThanMaxDigits()
1295 return fields->properties.formatFailIfMoreThanMaxDigits; in isFormatFailIfMoreThanMaxDigits()
1299 if (fields == nullptr) { return; } in setFormatFailIfMoreThanMaxDigits()
1300 if (UBOOL_TO_BOOL(value) == fields->properties.formatFailIfMoreThanMaxDigits) { return; } in setFormatFailIfMoreThanMaxDigits()
1301 fields->properties.formatFailIfMoreThanMaxDigits = value; in setFormatFailIfMoreThanMaxDigits()
1306 if (fields == nullptr) { in toPattern()
1316 DecimalFormatProperties tprops(fields->properties); in toPattern()
1326 tprops.minimumFractionDigits = fields->exportedProperties.minimumFractionDigits; in toPattern()
1327 tprops.maximumFractionDigits = fields->exportedProperties.maximumFractionDigits; in toPattern()
1328 tprops.roundingIncrement = fields->exportedProperties.roundingIncrement; in toPattern()
1335 if (fields == nullptr) { in toLocalizedPattern()
1342 result = PatternStringUtils::convertLocalized(result, *fields->symbols, true, localStatus); in toLocalizedPattern()
1354 if (fields == nullptr) { in applyPattern()
1372 if (fields == nullptr) { in applyLocalizedPattern()
1378 localizedPattern, *fields->symbols, false, status); in applyLocalizedPattern()
1383 if (fields == nullptr) { return; } in setMaximumIntegerDigits()
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()
1395 if (fields == nullptr) { return; } in setMinimumIntegerDigits()
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()
1407 if (fields == nullptr) { return; } in setMaximumFractionDigits()
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()
1423 if (fields == nullptr) { return; } in setMinimumFractionDigits()
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()
1436 if (fields == nullptr) { in getMinimumSignificantDigits()
1440 return fields->exportedProperties.minimumSignificantDigits; in getMinimumSignificantDigits()
1445 if (fields == nullptr) { in getMaximumSignificantDigits()
1449 return fields->exportedProperties.maximumSignificantDigits; in getMaximumSignificantDigits()
1453 if (fields == nullptr) { return; } in setMinimumSignificantDigits()
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()
1464 if (fields == nullptr) { return; } in setMaximumSignificantDigits()
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()
1477 if (fields == nullptr) { in areSignificantDigitsUsed()
1481 dfp = &fields->properties; in areSignificantDigitsUsed()
1487 if (fields == nullptr) { return; } in setSignificantDigitsUsed()
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()
1511 if (fields == nullptr) { in setCurrency()
1518 …if (!fields->properties.currency.isNull() && fields->properties.currency.getNoError() == currencyU… in setCurrency()
1522 fields->properties.currency = currencyUnit; in setCurrency()
1524 LocalPointer<DecimalFormatSymbols> newSymbols(new DecimalFormatSymbols(*fields->symbols), ec); in setCurrency()
1526 fields->symbols.adoptInsteadAndCheckErrorCode(newSymbols.orphan(), ec); in setCurrency()
1538 if (fields == nullptr) { in setCurrencyUsage()
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()
1563 if (fields == nullptr) { in formatToDecimalQuantity()
1568 fields->formatter.formatDouble(number, status).getDecimalQuantity(output, status); in formatToDecimalQuantity()
1575 if (fields == nullptr) { in formatToDecimalQuantity()
1582 fields->formatter.formatImpl(&obj, status); in formatToDecimalQuantity()
1589 if (fields == nullptr) { in toNumberFormatter()
1594 return &fields->formatter; in toNumberFormatter()
1602 if (fields == nullptr) { in touch()
1612 Locale locale = fields->symbols->getLocale(); in touch()
1621 fields->formatter = NumberPropertyMapper::create( in touch()
1622 fields->properties, *fields->symbols, fields->warehouse, fields->exportedProperties, status in touch()
1629 delete fields->atomicParser.exchange(nullptr); in touch()
1630 delete fields->atomicCurrencyParser.exchange(nullptr); in touch()
1633 …NumberFormat::setCurrency(fields->exportedProperties.currency.get(status).getISOCurrency(), status… in touch()
1634 NumberFormat::setMaximumIntegerDigits(fields->exportedProperties.maximumIntegerDigits); in touch()
1635 NumberFormat::setMinimumIntegerDigits(fields->exportedProperties.minimumIntegerDigits); in touch()
1636 NumberFormat::setMaximumFractionDigits(fields->exportedProperties.maximumFractionDigits); in touch()
1637 NumberFormat::setMinimumFractionDigits(fields->exportedProperties.minimumFractionDigits); in touch()
1639 NumberFormat::setGroupingUsed(fields->properties.groupingUsed); in touch()
1652 …PatternParser::parseToExistingProperties(pattern, fields->properties, actualIgnoreRounding, statu… in setPropertiesFromPattern()
1665 auto* ptr = fields->atomicParser.load(); in getParser()
1671 …auto* temp = NumberParserImpl::createParserFromProperties(fields->properties, *fields->symbols, fa… in getParser()
1684 if (!nonConstThis->fields->atomicParser.compare_exchange_strong(ptr, temp)) { in getParser()
1698 auto* ptr = fields->atomicCurrencyParser.load(); in getCurrencyParser()
1704 …auto* temp = NumberParserImpl::createParserFromProperties(fields->properties, *fields->symbols, tr… in getCurrencyParser()
1713 if (!nonConstThis->fields->atomicCurrencyParser.compare_exchange_strong(ptr, temp)) { in getCurrencyParser()
1758 if (!fields->properties.equalsDefaultExceptFastFormat()) { in setupFastFormat()
1760 fields->canUseFastFormat = false; 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()
1774 fields->canUseFastFormat = false; in setupFastFormat()
1779 bool groupingUsed = fields->properties.groupingUsed; in setupFastFormat()
1780 int32_t groupingSize = fields->properties.groupingSize; in setupFastFormat()
1782 …const UnicodeString& groupingString = fields->symbols->getConstSymbol(DecimalFormatSymbols::kGroup… in setupFastFormat()
1785 fields->canUseFastFormat = false; in setupFastFormat()
1790 int32_t minInt = fields->exportedProperties.minimumIntegerDigits; in setupFastFormat()
1791 int32_t maxInt = fields->exportedProperties.maximumIntegerDigits; in setupFastFormat()
1795 fields->canUseFastFormat = false; in setupFastFormat()
1800 int32_t minFrac = fields->exportedProperties.minimumFractionDigits; in setupFastFormat()
1803 fields->canUseFastFormat = false; in setupFastFormat()
1808 …const UnicodeString& minusSignString = fields->symbols->getConstSymbol(DecimalFormatSymbols::kMinu… in setupFastFormat()
1809 UChar32 codePointZero = fields->symbols->getCodePointZero(); in setupFastFormat()
1812 fields->canUseFastFormat = false; in setupFastFormat()
1818 fields->canUseFastFormat = true; in setupFastFormat()
1819 fields->fastData.cpZero = static_cast<char16_t>(codePointZero); in setupFastFormat()
1820 …fields->fastData.cpGroupingSeparator = groupingUsed && groupingSize == 3 ? groupingString.charAt(0… in setupFastFormat()
1821 fields->fastData.cpMinusSign = minusSignString.charAt(0); in setupFastFormat()
1822 fields->fastData.minInt = (minInt < 0 || minInt > 127) ? 0 : static_cast<int8_t>(minInt); in setupFastFormat()
1823 fields->fastData.maxInt = (maxInt < 0 || maxInt > 127) ? 127 : static_cast<int8_t>(maxInt); in setupFastFormat()
1827 if (!fields->canUseFastFormat) { in fastFormatDouble()
1841 if (!fields->canUseFastFormat) { in fastFormatInt64()
1852 U_ASSERT(fields->canUseFastFormat); in doFastFormatInt32()
1854 output.append(fields->fastData.cpMinusSign); in doFastFormatInt32()
1864 int8_t minInt = (fields->fastData.minInt < 1)? 1: fields->fastData.minInt; in doFastFormatInt32()
1865 for (int8_t i = 0; i < fields->fastData.maxInt && (input != 0 || i < minInt); i++) { in doFastFormatInt32()
1866 if (group++ == 3 && fields->fastData.cpGroupingSeparator != 0) { in doFastFormatInt32()
1867 *(--ptr) = fields->fastData.cpGroupingSeparator; in doFastFormatInt32()
1871 *(--ptr) = static_cast<char16_t>(fields->fastData.cpZero + res.rem); in doFastFormatInt32()