Home
last modified time | relevance | path

Searched refs:targetUnit (Results 1 – 22 of 22) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitsRouter.java117 converterPreference.targetUnit in route()
158 final MeasureUnitImpl targetUnit; field in UnitsRouter.ConverterPreference
164 public ConverterPreference(MeasureUnitImpl source, MeasureUnitImpl targetUnit, in ConverterPreference() argument
166 this(source, targetUnit, BigDecimal.valueOf(Double.MIN_VALUE), precision, in ConverterPreference()
170 public ConverterPreference(MeasureUnitImpl source, MeasureUnitImpl targetUnit, in ConverterPreference() argument
172 this.converter = new ComplexUnitsConverter(source, targetUnit, conversionRates); in ConverterPreference()
175 this.targetUnit = targetUnit; in ConverterPreference()
DComplexUnitsConverter.java46 public ComplexUnitsConverter(MeasureUnitImpl targetUnit, ConversionRates conversionRates) { in ComplexUnitsConverter() argument
47 this.units_ = targetUnit.extractIndividualUnitsWithIndices(); in ComplexUnitsConverter()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DUnitConversionHandler.java28 public UnitConversionHandler(MeasureUnit targetUnit, MicroPropsGenerator parent) { in UnitConversionHandler() argument
29 this.fOutputUnit = targetUnit; in UnitConversionHandler()
31 MeasureUnitImpl targetUnitImpl = MeasureUnitImpl.forIdentifier(targetUnit.getIdentifier()); in UnitConversionHandler()
/third_party/icu/icu4c/source/i18n/
Dnumber_usageprefs.cpp181 UnitConversionHandler::UnitConversionHandler(const MeasureUnit &targetUnit, in UnitConversionHandler() argument
183 : fOutputUnit(targetUnit), fParent(parent) { in UnitConversionHandler()
192 MeasureUnitImpl::forMeasureUnit(targetUnit, tempOutput, status); in UnitConversionHandler()
Dunits_router.h62 MeasureUnitImpl targetUnit; member
74 precision(std::move(precision)), targetUnit(complexTarget.copy(status)) {} in ConverterPreference()
Dunits_complexconverter.cpp25 ComplexUnitsConverter::ComplexUnitsConverter(const MeasureUnitImpl &targetUnit, in ComplexUnitsConverter() argument
27 : units_(targetUnit.extractIndividualUnitsWithIndices(status)) { in ComplexUnitsConverter()
Dnumber_usageprefs.h107 UnitConversionHandler(const MeasureUnit &targetUnit, const MicroPropsGenerator *parent,
Dunits_complexconverter.h66 ComplexUnitsConverter(const MeasureUnitImpl &targetUnit, const ConversionRates &ratesInfo,
Dunits_router.cpp140 converterPreference->targetUnit.copy(status)); in route()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_usageprefs.cpp181 UnitConversionHandler::UnitConversionHandler(const MeasureUnit &targetUnit, in UnitConversionHandler() argument
183 : fOutputUnit(targetUnit), fParent(parent) { in UnitConversionHandler()
192 MeasureUnitImpl::forMeasureUnit(targetUnit, tempOutput, status); in UnitConversionHandler()
Dunits_router.h62 MeasureUnitImpl targetUnit; member
74 precision(std::move(precision)), targetUnit(complexTarget.copy(status)) {} in ConverterPreference()
Dunits_complexconverter.cpp25 ComplexUnitsConverter::ComplexUnitsConverter(const MeasureUnitImpl &targetUnit, in ComplexUnitsConverter() argument
27 : units_(targetUnit.extractIndividualUnitsWithIndices(status)) { in ComplexUnitsConverter()
Dnumber_usageprefs.h107 UnitConversionHandler(const MeasureUnit &targetUnit, const MicroPropsGenerator *parent,
Dunits_complexconverter.h66 ComplexUnitsConverter(const MeasureUnitImpl &targetUnit, const ConversionRates &ratesInfo,
Dunits_router.cpp140 converterPreference->targetUnit.copy(status)); in route()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_usageprefs.cpp181 UnitConversionHandler::UnitConversionHandler(const MeasureUnit &targetUnit, in UnitConversionHandler() argument
183 : fOutputUnit(targetUnit), fParent(parent) { in UnitConversionHandler()
192 MeasureUnitImpl::forMeasureUnit(targetUnit, tempOutput, status); in UnitConversionHandler()
Dunits_router.h62 MeasureUnitImpl targetUnit; member
74 precision(std::move(precision)), targetUnit(complexTarget.copy(status)) {} in ConverterPreference()
Dunits_complexconverter.cpp25 ComplexUnitsConverter::ComplexUnitsConverter(const MeasureUnitImpl &targetUnit, in ComplexUnitsConverter() argument
27 : units_(targetUnit.extractIndividualUnitsWithIndices(status)) { in ComplexUnitsConverter()
Dnumber_usageprefs.h107 UnitConversionHandler(const MeasureUnit &targetUnit, const MicroPropsGenerator *parent,
Dunits_complexconverter.h66 ComplexUnitsConverter(const MeasureUnitImpl &targetUnit, const ConversionRates &ratesInfo,
Dunits_router.cpp140 converterPreference->targetUnit.copy(status)); in route()
/third_party/icu/icu4c/source/test/intltest/
Dunits_test.cpp468 MeasureUnitImpl targetUnit = MeasureUnitImpl::forIdentifier(y, status); in unitsTestDataLineFn() local
480 …auto convertibility = extractConvertibility(sourceUnit, targetUnit, *ctx->conversionRates, status); in unitsTestDataLineFn()
496 UnitsConverter converter(sourceUnit, targetUnit, *ctx->conversionRates, status); in unitsTestDataLineFn()