Home
last modified time | relevance | path

Searched refs:ConversionInfo (Results 1 – 6 of 6) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DUnitConverter.java180 public static final class ConversionInfo implements Comparable<ConversionInfo> { class in UnitConverter
184 static final ConversionInfo IDENTITY = new ConversionInfo(Rational.ONE, Rational.ZERO);
186 public ConversionInfo(Rational factor, Rational offset) { in ConversionInfo() method in UnitConverter.ConversionInfo
199 public ConversionInfo invert() { in invert()
202 return new ConversionInfo(factor2, offset2); in invert()
230 public int compareTo(ConversionInfo o) { in compareTo()
239 return 0 == compareTo((ConversionInfo)obj); in equals()
347 ConversionInfo info = new ConversionInfo( in addRaw()
364 public final ConversionInfo unitInfo;
366 … public TargetInfo(String target, ConversionInfo unitInfo, Map<String, String> inputParameters) { in TargetInfo()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DExternalUnitConversionData.java11 import org.unicode.cldr.util.UnitConverter.ConversionInfo;
26 public final ConversionInfo info;
43 this.info = new ConversionInfo(factor, offset == null ? Rational.ZERO : offset); in ExternalUnitConversionData()
DNistUnits.java19 import org.unicode.cldr.util.UnitConverter.ConversionInfo;
131 …unitToTargetInfo.put(name, new TargetInfo(targetUnit, new ConversionInfo(Rational.ONE, Rational.ZE… in try()
DTestUnits.java69 import org.unicode.cldr.util.UnitConverter.ConversionInfo;
506 ConversionInfo unitInfo = converter.parseUnitId(source, compoundBaseUnit, false); in TestParseUnit()
570 ConversionInfo unitInfo = converter.getUnitInfo(unit, compoundBaseUnit); in checkUnitConvertability()
624 ConversionInfo uinfo = new ConversionInfo(Rational.of(2), Rational.of(3)); in TestRational()
969 ConversionInfo unitInfo; in TestTestFile()
1566 … Multimap<ConversionInfo, ExternalUnitConversionData> factors = HashMultimap.create(); in TestWithExternalData()
1643 ConversionInfo conversionInfo = converter.getUnitInfo(s.target, baseUnit); in TestWithExternalData()
1710 ConversionInfo targetInfo = targetInfo2.unitInfo; in TestRepeating()
1773 ConversionInfo conversionInfo = converter.parseUnitId(shortUnit, baseUnit, false); in testDistinguishedSetsOfUnits()
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartGrammaticalForms.java42 import org.unicode.cldr.util.UnitConverter.ConversionInfo;
121 ConversionInfo info = uc.parseUnitId(shortUnit, baseOut, false);
492 ConversionInfo info = uc.parseUnitId(shortUnit, baseUnit, false); in getBestBaseUnit()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp144 struct ConversionInfo struct in __anon9125e3cd0111::ConvertStructState
210 for (ConversionInfo &info : conversionInfos) in publish()
621 std::vector<ConversionInfo> conversionInfos;