/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | UnitConverter.java | 28 …ic UnitConverter(MeasureUnitImpl source, MeasureUnitImpl target, ConversionRates conversionRates) { in UnitConverter() argument 29 Convertibility convertibility = extractConvertibility(source, target, conversionRates); in UnitConverter() 32 Factor sourceToBase = conversionRates.getFactorToBase(source); in UnitConverter() 33 Factor targetToBase = conversionRates.getFactorToBase(target); in UnitConverter() 42 …this.offset = conversionRates.getOffset(source, target, sourceToBase, targetToBase, convertibility… in UnitConverter() 45 …ctConvertibility(MeasureUnitImpl source, MeasureUnitImpl target, ConversionRates conversionRates) { in extractConvertibility() argument 46 ArrayList<SingleUnitImpl> sourceSingleUnits = conversionRates.extractBaseUnits(source); in extractConvertibility() 47 ArrayList<SingleUnitImpl> targetSingleUnits = conversionRates.extractBaseUnits(target); in extractConvertibility()
|
D | UnitsRouter.java | 163 String precision, ConversionRates conversionRates) { in ConverterPreference() argument 165 conversionRates); in ConverterPreference() 169 … BigDecimal limit, String precision, ConversionRates conversionRates) { in ConverterPreference() argument 170 this.converter = new ComplexUnitsConverter(source, targetUnit, conversionRates); in ConverterPreference()
|
D | ComplexUnitsConverter.java | 45 ConversionRates conversionRates) { in ComplexUnitsConverter() argument 56 … Collections.reverseOrder(new MeasureUnitImpl.MeasureUnitImplComparator(conversionRates))); in ComplexUnitsConverter() 76 unitConverters_.add(new UnitConverter(inputUnit, units_.get(i), conversionRates)); in ComplexUnitsConverter() 78 … unitConverters_.add(new UnitConverter(units_.get(i - 1), units_.get(i), conversionRates)); in ComplexUnitsConverter()
|
D | UnitsData.java | 21 private ConversionRates conversionRates; field in UnitsData 29 this.conversionRates = new ConversionRates(); in UnitsData() 50 return conversionRates; in getConversionRates()
|
D | MeasureUnitImpl.java | 740 private final ConversionRates conversionRates; field in MeasureUnitImpl.MeasureUnitImplComparator 742 public MeasureUnitImplComparator(ConversionRates conversionRates) { in MeasureUnitImplComparator() argument 743 this.conversionRates = conversionRates; in MeasureUnitImplComparator() 748 UnitConverter fromO1toO2 = new UnitConverter(o1, o2, conversionRates); in compare()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/ |
D | UnitConverter.java | 32 …ic UnitConverter(MeasureUnitImpl source, MeasureUnitImpl target, ConversionRates conversionRates) { in UnitConverter() argument 33 Convertibility convertibility = extractConvertibility(source, target, conversionRates); in UnitConverter() 36 Factor sourceToBase = conversionRates.getFactorToBase(source); in UnitConverter() 37 Factor targetToBase = conversionRates.getFactorToBase(target); in UnitConverter() 46 …this.offset = conversionRates.getOffset(source, target, sourceToBase, targetToBase, convertibility… in UnitConverter() 49 …ctConvertibility(MeasureUnitImpl source, MeasureUnitImpl target, ConversionRates conversionRates) { in extractConvertibility() argument 50 ArrayList<SingleUnitImpl> sourceSingleUnits = conversionRates.extractBaseUnits(source); in extractConvertibility() 51 ArrayList<SingleUnitImpl> targetSingleUnits = conversionRates.extractBaseUnits(target); in extractConvertibility()
|
D | UnitsRouter.java | 166 String precision, ConversionRates conversionRates) { in ConverterPreference() argument 168 conversionRates); in ConverterPreference() 172 … BigDecimal limit, String precision, ConversionRates conversionRates) { in ConverterPreference() argument 173 this.converter = new ComplexUnitsConverter(source, targetUnit, conversionRates); in ConverterPreference()
|
D | ComplexUnitsConverter.java | 47 ConversionRates conversionRates) { in ComplexUnitsConverter() argument 58 … Collections.reverseOrder(new MeasureUnitImpl.MeasureUnitImplComparator(conversionRates))); in ComplexUnitsConverter() 78 unitConverters_.add(new UnitConverter(inputUnit, units_.get(i), conversionRates)); in ComplexUnitsConverter() 80 … unitConverters_.add(new UnitConverter(units_.get(i - 1), units_.get(i), conversionRates)); in ComplexUnitsConverter()
|
D | UnitsData.java | 23 private ConversionRates conversionRates; field in UnitsData 31 this.conversionRates = new ConversionRates(); in UnitsData() 52 return conversionRates; in getConversionRates()
|
D | MeasureUnitImpl.java | 756 private final ConversionRates conversionRates; field in MeasureUnitImpl.MeasureUnitImplComparator 758 public MeasureUnitImplComparator(ConversionRates conversionRates) { in MeasureUnitImplComparator() argument 759 this.conversionRates = conversionRates; in MeasureUnitImplComparator() 764 UnitConverter fromO1toO2 = new UnitConverter(o1, o2, conversionRates); in compare()
|
/external/icu/icu4c/source/test/intltest/ |
D | units_test.cpp | 148 ConversionRates conversionRates(status); in testConversionCapability() local 149 auto convertibility = extractConvertibility(source, target, conversionRates, status); in testConversionCapability() 183 ConversionRates conversionRates(status); in testSiPrefixes() local 184 UnitConverter converter(source, target, conversionRates, status); in testSiPrefixes() 218 ConversionRates conversionRates(status); in testMass() local 219 UnitConverter converter(source, target, conversionRates, status); in testMass() 252 ConversionRates conversionRates(status); in testTemperature() local 253 UnitConverter converter(source, target, conversionRates, status); in testTemperature() 290 ConversionRates conversionRates(status); in testArea() local 291 UnitConverter converter(source, target, conversionRates, status); in testArea() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | units_router.cpp | 50 ConversionRates conversionRates(status); in UnitsRouter() local 55 (extractCompoundBaseUnit(inputUnitImpl, conversionRates, status)).build(status); in UnitsRouter() 87 conversionRates, status); in UnitsRouter()
|
D | units_converter.h | 104 const ConversionRates &conversionRates, 120 const ConversionRates &conversionRates,
|
D | units_converter.cpp | 400 const ConversionRates &conversionRates, in extractCompoundBaseUnit() argument 412 conversionRates.extractConversionInfo(singleUnit.getSimpleUnitID(), status); in extractCompoundBaseUnit() 452 const ConversionRates &conversionRates, in extractConvertibility() argument 461 MeasureUnitImpl sourceBaseUnit = extractCompoundBaseUnit(source, conversionRates, status); in extractConvertibility() 462 MeasureUnitImpl targetBaseUnit = extractCompoundBaseUnit(target, conversionRates, status); in extractConvertibility()
|
D | number_usageprefs.cpp | 184 ConversionRates conversionRates(status); in UnitConversionHandler() local 189 new ComplexUnitsConverter(inputUnitImpl, outputUnitImpl, conversionRates, status), status); in UnitConversionHandler()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
D | UnitsTest.java | 135 ConversionRates conversionRates = new ConversionRates(); 137 …omplexUnitsConverter complexConverter = new ComplexUnitsConverter(source, target, conversionRates); 175 ConversionRates conversionRates = new ConversionRates(); 179 …als(test.expected, UnitConverter.extractConvertibility(test.source, test.target, conversionRates)); 205 ConversionRates conversionRates = new ConversionRates(); 209 UnitConverter converter = new UnitConverter(test.source, test.target, conversionRates); 254 ConversionRates conversionRates = new ConversionRates(); 258 … UnitConverter converter = new UnitConverter(testCase.source, testCase.target, conversionRates);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/impl/ |
D | UnitsTest.java | 138 ConversionRates conversionRates = new ConversionRates(); 140 …omplexUnitsConverter complexConverter = new ComplexUnitsConverter(source, target, conversionRates); 178 ConversionRates conversionRates = new ConversionRates(); 182 …als(test.expected, UnitConverter.extractConvertibility(test.source, test.target, conversionRates)); 208 ConversionRates conversionRates = new ConversionRates(); 212 UnitConverter converter = new UnitConverter(test.source, test.target, conversionRates); 257 ConversionRates conversionRates = new ConversionRates(); 261 … UnitConverter converter = new UnitConverter(testCase.source, testCase.target, conversionRates);
|
/external/icu/libicu/cts_headers/ |
D | units_converter.h | 104 const ConversionRates &conversionRates, 120 const ConversionRates &conversionRates,
|
/external/cldr/tools/java/libs/ |
D | icu4j.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/ibm/
com/ ... |