Lines Matching refs:micros
112 MicroProps *micros, UErrorCode status) { in mixedMeasuresToMicros() argument
113 micros->mixedMeasuresCount = measures.length(); in mixedMeasuresToMicros()
115 if (micros->mixedMeasures.getCapacity() < micros->mixedMeasuresCount) { in mixedMeasuresToMicros()
116 if (micros->mixedMeasures.resize(micros->mixedMeasuresCount) == nullptr) { in mixedMeasuresToMicros()
122 for (int32_t i = 0; i < micros->mixedMeasuresCount; i++) { in mixedMeasuresToMicros()
125 micros->mixedMeasures[i] = measures[i]->getNumber().getInt64(); in mixedMeasuresToMicros()
129 U_ASSERT(micros->indexOfQuantity < 0); in mixedMeasuresToMicros()
131 micros->indexOfQuantity = i; in mixedMeasuresToMicros()
145 if (micros->indexOfQuantity < 0) { in mixedMeasuresToMicros()
160 void UsagePrefsHandler::processQuantity(DecimalQuantity &quantity, MicroProps µs, in processQuantity() argument
162 fParent->processQuantity(quantity, micros, status); in processQuantity()
168 …const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), µs.rounder, status); in processQuantity()
173 micros.outputUnit = routed.outputUnit.copy(status).build(status); in processQuantity()
178 mixedMeasuresToMicros(routedMeasures, &quantity, µs, status); in processQuantity()
197 void UnitConversionHandler::processQuantity(DecimalQuantity &quantity, MicroProps µs, in processQuantity() argument
199 fParent->processQuantity(quantity, micros, status); in processQuantity()
205 fUnitConverter->convert(quantity.toDouble(), µs.rounder, status); in processQuantity()
206 micros.outputUnit = fOutputUnit; in processQuantity()
211 mixedMeasuresToMicros(measures, &quantity, µs, status); in processQuantity()