Home
last modified time | relevance | path

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

/external/icu/libicu/cts_headers/
Dunits_data.h45 class U_I18N_API ConversionRateInfo : public UMemory {
47 ConversionRateInfo() {} in ConversionRateInfo() function
48 ConversionRateInfo(StringPiece sourceUnit, StringPiece baseUnit, StringPiece factor, in ConversionRateInfo() function
71 template class U_I18N_API MaybeStackArray<units::ConversionRateInfo*, 8>;
72 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>;
73 template class U_I18N_API MaybeStackVector<units::ConversionRateInfo, 8>;
84 void U_I18N_API getAllConversionRates(MaybeStackVector<ConversionRateInfo> &result, UErrorCode &sta…
104 const ConversionRateInfo *extractConversionInfo(StringPiece source, UErrorCode &status) const;
107 MaybeStackVector<ConversionRateInfo> conversionInfo_;
/external/icu/icu4c/source/i18n/
Dunits_data.h45 class U_I18N_API ConversionRateInfo : public UMemory {
47 ConversionRateInfo() {} in ConversionRateInfo() function
48 ConversionRateInfo(StringPiece sourceUnit, StringPiece baseUnit, StringPiece factor, in ConversionRateInfo() function
71 template class U_I18N_API MaybeStackArray<units::ConversionRateInfo*, 8>;
72 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>;
73 template class U_I18N_API MaybeStackVector<units::ConversionRateInfo, 8>;
84 void U_I18N_API getAllConversionRates(MaybeStackVector<ConversionRateInfo> &result, UErrorCode &sta…
104 const ConversionRateInfo *extractConversionInfo(StringPiece source, UErrorCode &status) const;
107 MaybeStackVector<ConversionRateInfo> conversionInfo_;
Dunits_data.cpp49 explicit ConversionRateDataSink(MaybeStackVector<ConversionRateInfo> *out) : outVector(out) {} in ConversionRateDataSink()
96 ConversionRateInfo *cr = outVector->emplaceBack(); in put()
112 MaybeStackVector<ConversionRateInfo> *outVector;
387 void U_I18N_API getAllConversionRates(MaybeStackVector<ConversionRateInfo> &result, UErrorCode &sta… in getAllConversionRates()
393 const ConversionRateInfo *ConversionRates::extractConversionInfo(StringPiece source, in extractConversionInfo()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DConversionRates.java23 private HashMap<String, ConversionRateInfo> mapToConversionRate;
137 private HashMap<String, ConversionRateInfo> mapToConversionRate = new HashMap<>();
174 … mapToConversionRate.put(simpleUnit, new ConversionRateInfo(simpleUnit, target, factor, offset)); in put()
180 public HashMap<String, ConversionRateInfo> getMapToConversionRate() { in getMapToConversionRate()
185 public static class ConversionRateInfo { class in ConversionRates
193 …public ConversionRateInfo(String simpleUnit, String target, String conversionRate, String offset) { in ConversionRateInfo() method in ConversionRates.ConversionRateInfo
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/
DConversionRates.java27 private HashMap<String, ConversionRateInfo> mapToConversionRate;
144 private HashMap<String, ConversionRateInfo> mapToConversionRate = new HashMap<>();
181 … mapToConversionRate.put(simpleUnit, new ConversionRateInfo(simpleUnit, target, factor, offset)); in put()
187 public HashMap<String, ConversionRateInfo> getMapToConversionRate() { in getMapToConversionRate()
195 public static class ConversionRateInfo { class in ConversionRates
203 …public ConversionRateInfo(String simpleUnit, String target, String conversionRate, String offset) { in ConversionRateInfo() method in ConversionRates.ConversionRateInfo
/external/icu/icu4c/source/test/intltest/
Dunits_data_test.cpp59 MaybeStackVector<ConversionRateInfo> conversionInfo; in testGetAllConversionRates()
64 ConversionRateInfo *cri = conversionInfo[i]; in testGetAllConversionRates()