Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_data.h29 class U_I18N_API ConversionRateInfo : public UMemory {
31 ConversionRateInfo() {} in ConversionRateInfo() function
32 ConversionRateInfo(StringPiece sourceUnit, StringPiece baseUnit, StringPiece factor, in ConversionRateInfo() function
55 template class U_I18N_API MaybeStackArray<units::ConversionRateInfo*, 8>;
56 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>;
57 template class U_I18N_API MaybeStackVector<units::ConversionRateInfo, 8>;
68 void U_I18N_API getAllConversionRates(MaybeStackVector<ConversionRateInfo> &result, UErrorCode &sta…
88 const ConversionRateInfo *extractConversionInfo(StringPiece source, UErrorCode &status) const;
91 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;
368 void U_I18N_API getAllConversionRates(MaybeStackVector<ConversionRateInfo> &result, UErrorCode &sta… in getAllConversionRates()
374 const ConversionRateInfo *ConversionRates::extractConversionInfo(StringPiece source, in extractConversionInfo()
/third_party/icu/icu4c/source/i18n/
Dunits_data.h29 class U_I18N_API ConversionRateInfo : public UMemory {
31 ConversionRateInfo() {} in ConversionRateInfo() function
32 ConversionRateInfo(StringPiece sourceUnit, StringPiece baseUnit, StringPiece factor, in ConversionRateInfo() function
55 template class U_I18N_API MaybeStackArray<units::ConversionRateInfo*, 8>;
56 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>;
57 template class U_I18N_API MaybeStackVector<units::ConversionRateInfo, 8>;
68 void U_I18N_API getAllConversionRates(MaybeStackVector<ConversionRateInfo> &result, UErrorCode &sta…
88 const ConversionRateInfo *extractConversionInfo(StringPiece source, UErrorCode &status) const;
91 MaybeStackVector<ConversionRateInfo> conversionInfo_;
Dunits_data.cpp51 explicit ConversionRateDataSink(MaybeStackVector<ConversionRateInfo> *out) : outVector(out) {} in ConversionRateDataSink()
98 ConversionRateInfo *cr = outVector->emplaceBack(); in put()
114 MaybeStackVector<ConversionRateInfo> *outVector;
370 void U_I18N_API getAllConversionRates(MaybeStackVector<ConversionRateInfo> &result, UErrorCode &sta… in getAllConversionRates()
376 const ConversionRateInfo *ConversionRates::extractConversionInfo(StringPiece source, in extractConversionInfo()
/third_party/node/deps/icu-small/source/i18n/
Dunits_data.h29 class U_I18N_API ConversionRateInfo : public UMemory {
31 ConversionRateInfo() {} in ConversionRateInfo() function
32 ConversionRateInfo(StringPiece sourceUnit, StringPiece baseUnit, StringPiece factor, in ConversionRateInfo() function
56 template class U_I18N_API MaybeStackArray<units::ConversionRateInfo*, 8>;
57 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>;
58 template class U_I18N_API MaybeStackVector<units::ConversionRateInfo, 8>;
69 void U_I18N_API getAllConversionRates(MaybeStackVector<ConversionRateInfo> &result, UErrorCode &sta…
89 const ConversionRateInfo *extractConversionInfo(StringPiece source, UErrorCode &status) const;
92 MaybeStackVector<ConversionRateInfo> conversionInfo_;
Dunits_data.cpp53 explicit ConversionRateDataSink(MaybeStackVector<ConversionRateInfo> *out) : outVector(out) {} in ConversionRateDataSink()
103 ConversionRateInfo *cr = outVector->emplaceBack(); in put()
120 MaybeStackVector<ConversionRateInfo> *outVector;
376 void U_I18N_API getAllConversionRates(MaybeStackVector<ConversionRateInfo> &result, UErrorCode &sta… in getAllConversionRates()
382 const ConversionRateInfo *ConversionRates::extractConversionInfo(StringPiece source, in extractConversionInfo()
472 …const ConversionRateInfo* rateInfo = rates.extractConversionInfo(singleUnit->getSimpleUnitID(), st… in getPreferencesFor()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DConversionRates.java23 private HashMap<String, ConversionRateInfo> mapToConversionRate;
142 private HashMap<String, ConversionRateInfo> mapToConversionRate = new HashMap<>();
179 … mapToConversionRate.put(simpleUnit, new ConversionRateInfo(simpleUnit, target, factor, offset)); in put()
185 public HashMap<String, ConversionRateInfo> getMapToConversionRate() { in getMapToConversionRate()
190 public static class ConversionRateInfo { class in ConversionRates
198 …public ConversionRateInfo(String simpleUnit, String target, String conversionRate, String offset) { in ConversionRateInfo() method in ConversionRates.ConversionRateInfo
/third_party/icu/icu4c/source/test/intltest/
Dunits_data_test.cpp71 MaybeStackVector<ConversionRateInfo> conversionInfo; in testGetAllConversionRates()
76 ConversionRateInfo *cri = conversionInfo[i]; in testGetAllConversionRates()