• Home
  • Raw
  • Download

Lines Matching full: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()
417 // If we failed to allocate DecimalFormatSymbols, then release fields and its members. in DecimalFormat()
418 // We must have a fully complete fields object, we cannot have partially populated members. in DecimalFormat()
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()
434 …// Note: it is not safe to copy fields->formatter or fWarehouse directly because fields->formatter… in DecimalFormat()
435 …// dangling pointers to fields inside fWarehouse. The safe thing is to re-construct fields->format… in DecimalFormat()
437 fields = new DecimalFormatFields(source.fields->properties); in DecimalFormat()
438 if (fields == nullptr) { in DecimalFormat()
442fields->symbols.adoptInsteadAndCheckErrorCode(new DecimalFormatSymbols(*source.getDecimalFormatSym… in DecimalFormat()
444 … // any partially populated DecimalFormatFields object. We must have a fully complete fields object 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 =()
468 // We failed to allocate DecimalFormatSymbols, release fields and its members. in operator =()
469 // We must have a fully complete fields object, we cannot have partially populated members. 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 && *getDecimalFormatSymbols() == *otherDF… 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 if (!fields->symbols.isNull()) { in getDecimalFormatSymbols()
798 return fields->symbols.getAlias(); in getDecimalFormatSymbols()
800 return fields->formatter.getDecimalFormatSymbols(); in getDecimalFormatSymbols()
806 return; // do not allow caller to set fields->symbols to nullptr in adoptDecimalFormatSymbols()
810 if (fields == nullptr) { in adoptDecimalFormatSymbols()
813 fields->symbols.adoptInstead(dfs.orphan()); in adoptDecimalFormatSymbols()
818 if (fields == nullptr) { in setDecimalFormatSymbols()
824 // We failed to allocate DecimalFormatSymbols, release fields and its members. in setDecimalFormatSymbols()
825 // We must have a fully complete fields object, we cannot have partially populated members. in setDecimalFormatSymbols()
826 delete fields; in setDecimalFormatSymbols()
827 fields = nullptr; in setDecimalFormatSymbols()
830 fields->symbols.adoptInstead(dfs.orphan()); in setDecimalFormatSymbols()
835 if (fields == nullptr) { in getCurrencyPluralInfo()
838 return fields->properties.currencyPluralInfo.fPtr.getAlias(); in getCurrencyPluralInfo()
845 if (fields == nullptr) { in adoptCurrencyPluralInfo()
848 fields->properties.currencyPluralInfo.fPtr.adoptInstead(cpi.orphan()); in adoptCurrencyPluralInfo()
853 if (fields == nullptr) { in setCurrencyPluralInfo()
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()
866 if (fields == nullptr) { in getPositivePrefix()
871 fields->formatter.getAffixImpl(true, false, result, status); in getPositivePrefix()
877 if (fields == nullptr) { in setPositivePrefix()
880 if (newValue == fields->properties.positivePrefix) { return; } in setPositivePrefix()
881 fields->properties.positivePrefix = newValue; in setPositivePrefix()
886 if (fields == nullptr) { in getNegativePrefix()
891 fields->formatter.getAffixImpl(true, true, result, status); in getNegativePrefix()
897 if (fields == nullptr) { in setNegativePrefix()
900 if (newValue == fields->properties.negativePrefix) { return; } in setNegativePrefix()
901 fields->properties.negativePrefix = newValue; in setNegativePrefix()
906 if (fields == nullptr) { in getPositiveSuffix()
911 fields->formatter.getAffixImpl(false, false, result, status); in getPositiveSuffix()
917 if (fields == nullptr) { in setPositiveSuffix()
920 if (newValue == fields->properties.positiveSuffix) { return; } in setPositiveSuffix()
921 fields->properties.positiveSuffix = newValue; in setPositiveSuffix()
926 if (fields == nullptr) { in getNegativeSuffix()
931 fields->formatter.getAffixImpl(false, true, result, status); in getNegativeSuffix()
937 if (fields == nullptr) { in setNegativeSuffix()
940 if (newValue == fields->properties.negativeSuffix) { return; } in setNegativeSuffix()
941 fields->properties.negativeSuffix = newValue; in setNegativeSuffix()
947 if (fields == nullptr) { in isSignAlwaysShown()
950 return fields->properties.signAlwaysShown; in isSignAlwaysShown()
954 if (fields == nullptr) { return; } in setSignAlwaysShown()
955 if (UBOOL_TO_BOOL(value) == fields->properties.signAlwaysShown) { return; } in setSignAlwaysShown()
956 fields->properties.signAlwaysShown = value; in setSignAlwaysShown()
963 if (fields == nullptr) { in getMultiplier()
967 dfp = &fields->properties; in getMultiplier()
979 if (fields == nullptr) { in setMultiplier()
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()
1010 if (fields == nullptr) { in getMultiplierScale()
1014 return fields->properties.multiplierScale; in getMultiplierScale()
1018 if (fields == nullptr) { return; } in setMultiplierScale()
1019 if (newValue == fields->properties.multiplierScale) { return; } in setMultiplierScale()
1020 fields->properties.multiplierScale = newValue; in setMultiplierScale()
1026 if (fields == nullptr) { in getRoundingIncrement()
1030 return fields->exportedProperties.roundingIncrement; in getRoundingIncrement()
1034 if (fields == nullptr) { return; } in setRoundingIncrement()
1035 if (newValue == fields->properties.roundingIncrement) { return; } in setRoundingIncrement()
1036 fields->properties.roundingIncrement = newValue; in setRoundingIncrement()
1042 if (fields == nullptr) { in getRoundingMode()
1047 return static_cast<ERoundingMode>(fields->exportedProperties.roundingMode.getNoError()); in getRoundingMode()
1051 if (fields == nullptr) { return; } in setRoundingMode()
1053 …if (!fields->properties.roundingMode.isNull() && uRoundingMode == fields->properties.roundingMode.… in setRoundingMode()
1057 fields->properties.roundingMode = uRoundingMode; in setRoundingMode()
1063 if (fields == nullptr) { in getFormatWidth()
1067 return fields->properties.formatWidth; in getFormatWidth()
1071 if (fields == nullptr) { return; } in setFormatWidth()
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()
1087 if (fields == nullptr) { return; } in setPadCharacter()
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()
1107 if (fields == nullptr) { return; } in setPadPosition()
1109 …if (!fields->properties.padPosition.isNull() && uPadPos == fields->properties.padPosition.getNoErr… in setPadPosition()
1112 fields->properties.padPosition = uPadPos; in setPadPosition()
1118 if (fields == nullptr) { in isScientificNotation()
1122 return (fields->properties.minimumExponentDigits != -1); in isScientificNotation()
1126 if (fields == nullptr) { return; } in setScientificNotation()
1128 if (fields->properties.minimumExponentDigits == minExp) { return; } in setScientificNotation()
1130 fields->properties.minimumExponentDigits = 1; in setScientificNotation()
1132 fields->properties.minimumExponentDigits = -1; in setScientificNotation()
1139 if (fields == nullptr) { in getMinimumExponentDigits()
1143 return static_cast<int8_t>(fields->properties.minimumExponentDigits); in getMinimumExponentDigits()
1147 if (fields == nullptr) { return; } in setMinimumExponentDigits()
1148 if (minExpDig == fields->properties.minimumExponentDigits) { return; } in setMinimumExponentDigits()
1149 fields->properties.minimumExponentDigits = minExpDig; in setMinimumExponentDigits()
1155 if (fields == nullptr) { in isExponentSignAlwaysShown()
1159 return fields->properties.exponentSignAlwaysShown; in isExponentSignAlwaysShown()
1163 if (fields == nullptr) { return; } in setExponentSignAlwaysShown()
1164 if (UBOOL_TO_BOOL(expSignAlways) == fields->properties.exponentSignAlwaysShown) { return; } in setExponentSignAlwaysShown()
1165 fields->properties.exponentSignAlwaysShown = expSignAlways; in setExponentSignAlwaysShown()
1172 if (fields == nullptr) { in getGroupingSize()
1176 groupingSize = fields->properties.groupingSize; in getGroupingSize()
1185 if (fields == nullptr) { return; } in setGroupingSize()
1186 if (newValue == fields->properties.groupingSize) { return; } in setGroupingSize()
1187 fields->properties.groupingSize = newValue; in setGroupingSize()
1194 if (fields == nullptr) { in getSecondaryGroupingSize()
1198 grouping2 = fields->properties.secondaryGroupingSize; in getSecondaryGroupingSize()
1207 if (fields == nullptr) { return; } in setSecondaryGroupingSize()
1208 if (newValue == fields->properties.secondaryGroupingSize) { return; } in setSecondaryGroupingSize()
1209 fields->properties.secondaryGroupingSize = newValue; in setSecondaryGroupingSize()
1215 if (fields == nullptr) { in getMinimumGroupingDigits()
1219 return fields->properties.minimumGroupingDigits; in getMinimumGroupingDigits()
1223 if (fields == nullptr) { return; } in setMinimumGroupingDigits()
1224 if (newValue == fields->properties.minimumGroupingDigits) { return; } in setMinimumGroupingDigits()
1225 fields->properties.minimumGroupingDigits = newValue; in setMinimumGroupingDigits()
1231 if (fields == nullptr) { in isDecimalSeparatorAlwaysShown()
1235 return fields->properties.decimalSeparatorAlwaysShown; in isDecimalSeparatorAlwaysShown()
1239 if (fields == nullptr) { return; } in setDecimalSeparatorAlwaysShown()
1240 if (UBOOL_TO_BOOL(newValue) == fields->properties.decimalSeparatorAlwaysShown) { return; } in setDecimalSeparatorAlwaysShown()
1241 fields->properties.decimalSeparatorAlwaysShown = newValue; in setDecimalSeparatorAlwaysShown()
1247 if (fields == nullptr) { in isDecimalPatternMatchRequired()
1251 return fields->properties.decimalPatternMatchRequired; in isDecimalPatternMatchRequired()
1255 if (fields == nullptr) { return; } in setDecimalPatternMatchRequired()
1256 if (UBOOL_TO_BOOL(newValue) == fields->properties.decimalPatternMatchRequired) { return; } in setDecimalPatternMatchRequired()
1257 fields->properties.decimalPatternMatchRequired = newValue; in setDecimalPatternMatchRequired()
1263 if (fields == nullptr) { in isParseNoExponent()
1267 return fields->properties.parseNoExponent; in isParseNoExponent()
1271 if (fields == nullptr) { return; } in setParseNoExponent()
1272 if (UBOOL_TO_BOOL(value) == fields->properties.parseNoExponent) { return; } in setParseNoExponent()
1273 fields->properties.parseNoExponent = value; in setParseNoExponent()
1279 if (fields == nullptr) { in isParseCaseSensitive()
1283 return fields->properties.parseCaseSensitive; in isParseCaseSensitive()
1287 if (fields == nullptr) { return; } in setParseCaseSensitive()
1288 if (UBOOL_TO_BOOL(value) == fields->properties.parseCaseSensitive) { return; } in setParseCaseSensitive()
1289 fields->properties.parseCaseSensitive = value; in setParseCaseSensitive()
1295 if (fields == nullptr) { in isFormatFailIfMoreThanMaxDigits()
1299 return fields->properties.formatFailIfMoreThanMaxDigits; in isFormatFailIfMoreThanMaxDigits()
1303 if (fields == nullptr) { return; } in setFormatFailIfMoreThanMaxDigits()
1304 if (UBOOL_TO_BOOL(value) == fields->properties.formatFailIfMoreThanMaxDigits) { return; } in setFormatFailIfMoreThanMaxDigits()
1305 fields->properties.formatFailIfMoreThanMaxDigits = value; in setFormatFailIfMoreThanMaxDigits()
1310 if (fields == nullptr) { in toPattern()
1320 DecimalFormatProperties tprops(fields->properties); in toPattern()
1331 tprops.minimumFractionDigits = fields->exportedProperties.minimumFractionDigits; in toPattern()
1332 tprops.maximumFractionDigits = fields->exportedProperties.maximumFractionDigits; in toPattern()
1333 tprops.roundingIncrement = fields->exportedProperties.roundingIncrement; in toPattern()
1340 if (fields == nullptr) { in toLocalizedPattern()
1359 if (fields == nullptr) { in applyPattern()
1377 if (fields == nullptr) { in applyLocalizedPattern()
1388 if (fields == nullptr) { return; } in setMaximumIntegerDigits()
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()
1400 if (fields == nullptr) { return; } in setMinimumIntegerDigits()
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()
1412 if (fields == nullptr) { return; } in setMaximumFractionDigits()
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()
1428 if (fields == nullptr) { return; } in setMinimumFractionDigits()
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()
1441 if (fields == nullptr) { in getMinimumSignificantDigits()
1445 return fields->exportedProperties.minimumSignificantDigits; in getMinimumSignificantDigits()
1450 if (fields == nullptr) { in getMaximumSignificantDigits()
1454 return fields->exportedProperties.maximumSignificantDigits; in getMaximumSignificantDigits()
1458 if (fields == nullptr) { return; } in setMinimumSignificantDigits()
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()
1469 if (fields == nullptr) { return; } in setMaximumSignificantDigits()
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()
1482 if (fields == nullptr) { in areSignificantDigitsUsed()
1486 dfp = &fields->properties; in areSignificantDigitsUsed()
1492 if (fields == nullptr) { return; } in setSignificantDigitsUsed()
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()
1516 if (fields == nullptr) { in setCurrency()
1523 …if (!fields->properties.currency.isNull() && fields->properties.currency.getNoError() == currencyU… in setCurrency()
1527 fields->properties.currency = currencyUnit; in setCurrency()
1531 fields->symbols.adoptInsteadAndCheckErrorCode(newSymbols.orphan(), ec); in setCurrency()
1543 if (fields == nullptr) { in setCurrencyUsage()
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()
1568 if (fields == nullptr) { in formatToDecimalQuantity()
1573 fields->formatter.formatDouble(number, status).getDecimalQuantity(output, status); in formatToDecimalQuantity()
1580 if (fields == nullptr) { in formatToDecimalQuantity()
1587 fields->formatter.formatImpl(&obj, status); in formatToDecimalQuantity()
1594 if (fields == nullptr) { in toNumberFormatter()
1599 return &fields->formatter; in toNumberFormatter()
1607 if (fields == nullptr) { in touch()
1616 …// In C++, fields->symbols (or, if it's null, the DecimalFormatSymbols owned by the underlying Loc… in touch()
1621 …// Note: The formatter is relatively cheap to create, and we need it to populate fields->exportedP… in touch()
1628 …// [Note that "symbols" above might point to the DecimalFormatSymbols object owned by fields->form… in touch()
1629 …// That's okay, because NumberPropertyMapper::create() will clone it before fields->formatter's as… in touch()
1631 fields->formatter = NumberPropertyMapper::create( in touch()
1632 fields->properties, *symbols, fields->warehouse, fields->exportedProperties, status in touch()
1634fields->symbols.adoptInstead(nullptr); // the fields->symbols property is only temporary, until we… in touch()
1636 // Do this after fields->exportedProperties are set up in touch()
1640 delete fields->atomicParser.exchange(nullptr); in touch()
1641 delete fields->atomicCurrencyParser.exchange(nullptr); in touch()
1643 // In order for the getters to work, we need to populate some fields in NumberFormat. in touch()
1644 …NumberFormat::setCurrency(fields->exportedProperties.currency.get(status).getISOCurrency(), status… in touch()
1645 NumberFormat::setMaximumIntegerDigits(fields->exportedProperties.maximumIntegerDigits); in touch()
1646 NumberFormat::setMinimumIntegerDigits(fields->exportedProperties.minimumIntegerDigits); in touch()
1647 NumberFormat::setMaximumFractionDigits(fields->exportedProperties.maximumFractionDigits); in touch()
1648 NumberFormat::setMinimumFractionDigits(fields->exportedProperties.minimumFractionDigits); 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()
1676 auto* ptr = fields->atomicParser.load(); in getParser()
1682 …auto* temp = NumberParserImpl::createParserFromProperties(fields->properties, *getDecimalFormatSym… in getParser()
1695 if (!nonConstThis->fields->atomicParser.compare_exchange_strong(ptr, temp)) { in getParser()
1709 auto* ptr = fields->atomicCurrencyParser.load(); in getCurrencyParser()
1715 …auto* temp = NumberParserImpl::createParserFromProperties(fields->properties, *getDecimalFormatSym… in getCurrencyParser()
1724 if (!nonConstThis->fields->atomicCurrencyParser.compare_exchange_strong(ptr, temp)) { in getCurrencyParser()
1769 if (!fields->properties.equalsDefaultExceptFastFormat()) { in setupFastFormat()
1771 fields->canUseFastFormat = false; 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()
1785 fields->canUseFastFormat = false; in setupFastFormat()
1792 bool groupingUsed = fields->properties.groupingUsed; in setupFastFormat()
1793 int32_t groupingSize = fields->properties.groupingSize; in setupFastFormat()
1798 fields->canUseFastFormat = false; in setupFastFormat()
1803 int32_t minInt = fields->exportedProperties.minimumIntegerDigits; in setupFastFormat()
1804 int32_t maxInt = fields->exportedProperties.maximumIntegerDigits; in setupFastFormat()
1808 fields->canUseFastFormat = false; in setupFastFormat()
1813 int32_t minFrac = fields->exportedProperties.minimumFractionDigits; in setupFastFormat()
1816 fields->canUseFastFormat = false; in setupFastFormat()
1825 fields->canUseFastFormat = false; in setupFastFormat()
1831 fields->canUseFastFormat = true; in setupFastFormat()
1832 fields->fastData.cpZero = static_cast<char16_t>(codePointZero); in setupFastFormat()
1833fields->fastData.cpGroupingSeparator = groupingUsed && groupingSize == 3 ? groupingString.charAt(0… in setupFastFormat()
1834 fields->fastData.cpMinusSign = minusSignString.charAt(0); in setupFastFormat()
1835 fields->fastData.minInt = (minInt < 0 || minInt > 127) ? 0 : static_cast<int8_t>(minInt); in setupFastFormat()
1836 fields->fastData.maxInt = (maxInt < 0 || maxInt > 127) ? 127 : static_cast<int8_t>(maxInt); in setupFastFormat()
1840 if (!fields->canUseFastFormat) { in fastFormatDouble()
1854 if (!fields->canUseFastFormat) { in fastFormatInt64()
1865 U_ASSERT(fields->canUseFastFormat); in doFastFormatInt32()
1867 output.append(fields->fastData.cpMinusSign); in doFastFormatInt32()
1877 int8_t minInt = (fields->fastData.minInt < 1)? 1: fields->fastData.minInt; in doFastFormatInt32()
1878 for (int8_t i = 0; i < fields->fastData.maxInt && (input != 0 || i < minInt); i++) { in doFastFormatInt32()
1879 if (group++ == 3 && fields->fastData.cpGroupingSeparator != 0) { in doFastFormatInt32()
1880 *(--ptr) = fields->fastData.cpGroupingSeparator; in doFastFormatInt32()
1884 *(--ptr) = static_cast<char16_t>(fields->fastData.cpZero + res.rem); in doFastFormatInt32()