Home
last modified time | relevance | path

Searched refs:ConversionRates (Results 1 – 25 of 36) sorted by relevance

12

/third_party/node/deps/icu-small/source/i18n/
Dunits_converter.h134 const ConversionRates &conversionRates,
150 const ConversionRates &conversionRates,
188 const ConversionRates &ratesInfo, UErrorCode &status);
198 const ConversionRates &ratesInfo, UErrorCode &status);
226 void init(const ConversionRates &ratesInfo, UErrorCode &status);
Dunits_complexconverter.cpp26 const ConversionRates &ratesInfo, UErrorCode &status) in ComplexUnitsConverter()
60 this->init(inputUnit, ConversionRates(status), status); in ComplexUnitsConverter()
65 const ConversionRates &ratesInfo, UErrorCode &status) in ComplexUnitsConverter()
77 const ConversionRates &ratesInfo, in init()
90 … *static_cast<const ConversionRates *>(context), // in init()
Dunits_complexconverter.h66 ComplexUnitsConverter(const MeasureUnitImpl &targetUnit, const ConversionRates &ratesInfo,
93 const ConversionRates &ratesInfo, UErrorCode &status);
122 … void init(const MeasureUnitImpl &inputUnit, const ConversionRates &ratesInfo, UErrorCode &status);
Dunits_converter.cpp204 Factor loadSingleFactor(StringPiece source, const ConversionRates &ratesInfo, UErrorCode &status) { in loadSingleFactor()
220 Factor loadCompoundFactor(const MeasureUnitImpl &source, const ConversionRates &ratesInfo, in loadCompoundFactor()
279 const ConversionRates &ratesInfo, UErrorCode &status) { in loadConversionRate()
422 const ConversionRates &conversionRates, in extractCompoundBaseUnit()
474 const ConversionRates &conversionRates, in extractConvertibility()
508 const ConversionRates &ratesInfo, UErrorCode &status) in UnitsConverter()
521 ConversionRates ratesInfo(status); in UnitsConverter()
525 void UnitsConverter::init(const ConversionRates &ratesInfo, UErrorCode &status) { in init()
551 const ConversionRates &ratesInfo, UErrorCode &status) { in compareTwoUnits()
Dunits_router.h65 … UnicodeString precision, const ConversionRates &ratesInfo, UErrorCode &status) in ConverterPreference()
70 double limit, UnicodeString precision, const ConversionRates &ratesInfo, in ConverterPreference()
Dunits_data.h74 class U_I18N_API ConversionRates {
81 ConversionRates(UErrorCode &status) { getAllConversionRates(conversionInfo_, status); } in ConversionRates() function
/third_party/icu/icu4c/source/i18n/
Dunits_converter.h126 const ConversionRates &conversionRates,
142 const ConversionRates &conversionRates,
180 const ConversionRates &ratesInfo, UErrorCode &status);
190 const ConversionRates &ratesInfo, UErrorCode &status);
218 void init(const ConversionRates &ratesInfo, UErrorCode &status);
Dunits_complexconverter.cpp26 const ConversionRates &ratesInfo, UErrorCode &status) in ComplexUnitsConverter()
60 this->init(inputUnit, ConversionRates(status), status); in ComplexUnitsConverter()
65 const ConversionRates &ratesInfo, UErrorCode &status) in ComplexUnitsConverter()
77 const ConversionRates &ratesInfo, in init()
90 … *static_cast<const ConversionRates *>(context), // in init()
Dunits_complexconverter.h66 ComplexUnitsConverter(const MeasureUnitImpl &targetUnit, const ConversionRates &ratesInfo,
93 const ConversionRates &ratesInfo, UErrorCode &status);
122 … void init(const MeasureUnitImpl &inputUnit, const ConversionRates &ratesInfo, UErrorCode &status);
Dunits_converter.cpp204 Factor loadSingleFactor(StringPiece source, const ConversionRates &ratesInfo, UErrorCode &status) { in loadSingleFactor()
220 Factor loadCompoundFactor(const MeasureUnitImpl &source, const ConversionRates &ratesInfo, in loadCompoundFactor()
279 const ConversionRates &ratesInfo, UErrorCode &status) { in loadConversionRate()
414 const ConversionRates &conversionRates, in extractCompoundBaseUnit()
466 const ConversionRates &conversionRates, in extractConvertibility()
500 const ConversionRates &ratesInfo, UErrorCode &status) in UnitsConverter()
513 ConversionRates ratesInfo(status); in UnitsConverter()
517 void UnitsConverter::init(const ConversionRates &ratesInfo, UErrorCode &status) { in init()
543 const ConversionRates &ratesInfo, UErrorCode &status) { in compareTwoUnits()
Dunits_router.h65 … UnicodeString precision, const ConversionRates &ratesInfo, UErrorCode &status) in ConverterPreference()
70 double limit, UnicodeString precision, const ConversionRates &ratesInfo, in ConverterPreference()
Dunits_data.h73 class U_I18N_API ConversionRates {
80 ConversionRates(UErrorCode &status) { getAllConversionRates(conversionInfo_, status); } in ConversionRates() function
Dnumber_usageprefs.cpp28 using icu::units::ConversionRates;
186 ConversionRates conversionRates(status); in UnitConversionHandler()
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_converter.h120 const ConversionRates &conversionRates,
136 const ConversionRates &conversionRates,
174 const ConversionRates &ratesInfo, UErrorCode &status);
184 const ConversionRates &ratesInfo, UErrorCode &status);
212 void init(const ConversionRates &ratesInfo, UErrorCode &status);
Dunits_complexconverter.cpp26 const ConversionRates &ratesInfo, UErrorCode &status) in ComplexUnitsConverter()
60 this->init(inputUnit, ConversionRates(status), status); in ComplexUnitsConverter()
65 const ConversionRates &ratesInfo, UErrorCode &status) in ComplexUnitsConverter()
77 const ConversionRates &ratesInfo, in init()
90 … *static_cast<const ConversionRates *>(context), // in init()
Dunits_complexconverter.h66 ComplexUnitsConverter(const MeasureUnitImpl &targetUnit, const ConversionRates &ratesInfo,
93 const ConversionRates &ratesInfo, UErrorCode &status);
120 … void init(const MeasureUnitImpl &inputUnit, const ConversionRates &ratesInfo, UErrorCode &status);
Dunits_converter.cpp203 Factor loadSingleFactor(StringPiece source, const ConversionRates &ratesInfo, UErrorCode &status) { in loadSingleFactor()
219 Factor loadCompoundFactor(const MeasureUnitImpl &source, const ConversionRates &ratesInfo, in loadCompoundFactor()
278 const ConversionRates &ratesInfo, UErrorCode &status) { in loadConversionRate()
407 const ConversionRates &conversionRates, in extractCompoundBaseUnit()
459 const ConversionRates &conversionRates, in extractConvertibility()
493 const ConversionRates &ratesInfo, UErrorCode &status) in UnitsConverter()
506 ConversionRates ratesInfo(status); in UnitsConverter()
510 void UnitsConverter::init(const ConversionRates &ratesInfo, UErrorCode &status) { in init()
536 const ConversionRates &ratesInfo, UErrorCode &status) { in compareTwoUnits()
Dunits_router.h66 … UnicodeString precision, const ConversionRates &ratesInfo, UErrorCode &status) in ConverterPreference()
71 double limit, UnicodeString precision, const ConversionRates &ratesInfo, in ConverterPreference()
Dunits_data.h73 class U_I18N_API ConversionRates {
80 ConversionRates(UErrorCode &status) { getAllConversionRates(conversionInfo_, status); } in ConversionRates() function
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DUnitsTest.java21 import com.ibm.icu.impl.units.ConversionRates;
166 ConversionRates rates = new ConversionRates();
230 ConversionRates conversionRates = new ConversionRates();
283 ConversionRates conversionRates = new ConversionRates();
346 ConversionRates conversionRates = new ConversionRates();
493 ConversionRates conversionRates = new ConversionRates();
566 ConversionRates conversionRates = new ConversionRates();
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DComplexUnitsConverter.java49 public ComplexUnitsConverter(MeasureUnitImpl targetUnit, ConversionRates conversionRates) { in ComplexUnitsConverter()
79 new ConversionRates() in ComplexUnitsConverter()
95 ConversionRates conversionRates) { in ComplexUnitsConverter()
107 private void init(ConversionRates conversionRates) { in init()
DUnitsData.java32 private ConversionRates conversionRates;
37 this.conversionRates = new ConversionRates(); in UnitsData()
55 public ConversionRates getConversionRates() { in getConversionRates()
DUnitsRouter.java166 String precision, ConversionRates conversionRates) { in ConverterPreference()
172 … BigDecimal limit, String precision, ConversionRates conversionRates) { in ConverterPreference()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DUnitConversionHandler.java6 import com.ibm.icu.impl.units.ConversionRates;
32 … this.fComplexUnitConverter = new ComplexUnitsConverter(targetUnitImpl, new ConversionRates()); in UnitConversionHandler()
/third_party/icu/icu4c/source/test/intltest/
Dunits_test.cpp162 ConversionRates conversionRates(status); in testExtractConvertibility()
233 ConversionRates rates(status); in testConversionInfo()
366 ConversionRates conversionRates(status); in testConverter()
420 ConversionRates *conversionRates;
534 ConversionRates rates(errorCode); in testConverterWithCLDRTests()
657 ConversionRates rates(status); in testComplexUnitsConverter()
706 ConversionRates conversionRates(status); in testComplexUnitsConverterSorting()

12