Searched refs:fromUnit (Results 1 – 3 of 3) sorted by relevance
/base/global/i18n/frameworks/intl/include/ |
D | measure_data.h | 34 int Convert(double &value, const std::string &fromUnit, const std::string &fromMeasSys, const std::…
|
/base/global/i18n/frameworks/intl/src/ |
D | measure_data.cpp | 548 int Convert(double &value, const string &fromUnit, const string &fromMeasSys, const string &toUnit, in Convert() argument 563 if (!strcmp(curUnit.getSubtype(), fromUnit.c_str())) { in Convert() 573 int status = ComputeValue(fromUnit, fromMeasSys, fromFactors); in Convert()
|
/base/global/i18n/interfaces/js/kits/src/ |
D | i18n_addon.cpp | 269 std::string fromUnit; in UnitConvert() local 270 GetOptionValue(env, argv[0], "unit", fromUnit); in UnitConvert() 279 int convertStatus = Convert(number, fromUnit, fromMeasSys, toUnit, toMeasSys); in UnitConvert() 293 map.insert(std::make_pair("unit", fromUnit)); in UnitConvert()
|