Lines Matching refs:micros
77 MicroProps& micros = impl.preProcessUnsafe(inValue, status); in formatStatic() local
79 int32_t length = writeNumber(micros, inValue, outString, 0, status); in formatStatic()
80 length += writeAffixes(micros, outString, 0, length, status); in formatStatic()
98 MicroProps micros; in format() local
99 preProcess(inValue, micros, status); in format()
101 int32_t length = writeNumber(micros, inValue, outString, 0, status); in format()
102 length += writeAffixes(micros, outString, 0, length, status); in format()
427 int32_t NumberFormatterImpl::writeAffixes(const MicroProps& micros, NumberStringBuilder& string, in writeAffixes() argument
430 int32_t length = micros.modInner->apply(string, start, end, status); in writeAffixes()
431 if (micros.padding.isValid()) { in writeAffixes()
432 length += micros.padding in writeAffixes()
433 … .padAndApply(*micros.modMiddle, *micros.modOuter, string, start, length + end, status); in writeAffixes()
435 length += micros.modMiddle->apply(string, start, length + end, status); in writeAffixes()
436 length += micros.modOuter->apply(string, start, length + end, status); in writeAffixes()
441 int32_t NumberFormatterImpl::writeNumber(const MicroProps& micros, DecimalQuantity& quantity, in writeNumber() argument
448 … micros.symbols->getSymbol(DecimalFormatSymbols::ENumberFormatSymbol::kInfinitySymbol), in writeNumber()
455 micros.symbols->getSymbol(DecimalFormatSymbols::ENumberFormatSymbol::kNaNSymbol), in writeNumber()
461 length += writeIntegerDigits(micros, quantity, string, length + index, status); in writeNumber()
464 … if (quantity.getLowerDisplayMagnitude() < 0 || micros.decimal == UNUM_DECIMAL_SEPARATOR_ALWAYS) { in writeNumber()
467 micros.useCurrency ? micros.symbols->getSymbol( in writeNumber()
468 … DecimalFormatSymbols::ENumberFormatSymbol::kMonetarySeparatorSymbol) : micros in writeNumber()
477 length += writeFractionDigits(micros, quantity, string, length + index, status); in writeNumber()
483 int32_t NumberFormatterImpl::writeIntegerDigits(const MicroProps& micros, DecimalQuantity& quantity, in writeIntegerDigits() argument
490 if (micros.grouping.groupAtPosition(i, quantity)) { in writeIntegerDigits()
493 micros.useCurrency ? micros.symbols->getSymbol( in writeIntegerDigits()
495 : micros.symbols->getSymbol( in writeIntegerDigits()
504 string, index, nextDigit, *micros.symbols, UNUM_INTEGER_FIELD, status); in writeIntegerDigits()
509 int32_t NumberFormatterImpl::writeFractionDigits(const MicroProps& micros, DecimalQuantity& quantit… in writeFractionDigits() argument
518 string, length + index, nextDigit, *micros.symbols, UNUM_FRACTION_FIELD, status); in writeFractionDigits()