Lines Matching refs:quantity
441 int32_t NumberFormatterImpl::writeNumber(const MicroProps& micros, DecimalQuantity& quantity, in writeNumber() argument
445 if (quantity.isInfinite()) { in writeNumber()
452 } else if (quantity.isNaN()) { 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()
477 length += writeFractionDigits(micros, quantity, string, length + index, status); in writeNumber()
483 int32_t NumberFormatterImpl::writeIntegerDigits(const MicroProps& micros, DecimalQuantity& quantity, in writeIntegerDigits() argument
487 int integerCount = quantity.getUpperDisplayMagnitude() + 1; in writeIntegerDigits()
490 if (micros.grouping.groupAtPosition(i, quantity)) { in writeIntegerDigits()
502 int8_t nextDigit = quantity.getDigit(i); in writeIntegerDigits()
509 …t32_t NumberFormatterImpl::writeFractionDigits(const MicroProps& micros, DecimalQuantity& quantity, in writeFractionDigits() argument
513 int fractionCount = -quantity.getLowerDisplayMagnitude(); in writeFractionDigits()
516 int8_t nextDigit = quantity.getDigit(-i - 1); in writeFractionDigits()