Lines Matching refs:macros
27 … return NumberFormatter::with().macros(oldToNew(properties, symbols, warehouse, nullptr, status)); in create()
35 return NumberFormatter::with().macros( in create()
45 MacroProps macros; in oldToNew() local
52 macros.symbols.setTo(symbols); in oldToNew()
59 macros.rules = properties.currencyPluralInfo.fPtr->getPluralRules(); in oldToNew()
76 macros.affixProvider = affixProvider; in oldToNew()
89 macros.unit = currency; // NOLINT in oldToNew()
92 macros.currencySymbols = &warehouse.currencySymbols; in oldToNew()
157 macros.precision = precision; in oldToNew()
164 macros.integerWidth = IntegerWidth( in oldToNew()
173 macros.grouper = Grouper::forProperties(properties); in oldToNew()
180 macros.padder = Padder::forProperties(properties); in oldToNew()
187 macros.decimal = properties.decimalSeparatorAlwaysShown ? UNUM_DECIMAL_SEPARATOR_ALWAYS in oldToNew()
194 macros.sign = properties.signAlwaysShown ? UNUM_SIGN_ALWAYS : UNUM_SIGN_AUTO; in oldToNew()
208 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
212 macros.integerWidth = IntegerWidth::zeroFillTo(minInt).truncateAt(maxInt); in oldToNew()
215 macros.notation = ScientificNotation( in oldToNew()
226 if (macros.precision.fType == Precision::PrecisionType::RND_FRACTION) { in oldToNew()
235 macros.precision = Precision::unlimited().withMode(roundingMode); in oldToNew()
238 … macros.precision = Precision::constructSignificant(1, maxFrac_ + 1).withMode(roundingMode); in oldToNew()
248 … macros.precision = Precision::constructSignificant(minSig_, maxSig_).withMode(roundingMode); in oldToNew()
259 macros.notation = Notation::compactLong(); in oldToNew()
261 macros.notation = Notation::compactShort(); in oldToNew()
264 macros.affixProvider = nullptr; in oldToNew()
271 macros.scale = scaleFromProperties(properties); in oldToNew()
314 return macros; in oldToNew()