Searched refs:factors (Results 1 – 2 of 2) sorted by relevance
/base/global/i18n/frameworks/intl/src/ |
D | measure_data.cpp | 474 void ComputeFactorValue(const string &unit, const string &measSys, vector<double> &factors) in ComputeFactorValue() argument 478 factors[0] = CONVERT_FACTORS.at(unitKey)[0]; in ComputeFactorValue() 479 factors[1] = CONVERT_FACTORS.at(unitKey)[1]; in ComputeFactorValue() 483 factors[0] = CONVERT_FACTORS.at(unit)[0]; in ComputeFactorValue() 484 factors[1] = CONVERT_FACTORS.at(unit)[1]; in ComputeFactorValue() 498 void ComputePowerValue(const string &unit, const string &measSys, vector<double> &factors) in ComputePowerValue() argument 506 ComputeFactorValue(baseUnit, measSys, factors); in ComputePowerValue() 508 factors[0] = pow(factors[0], powerValue.second); in ComputePowerValue() 513 int ComputeValue(const string &unit, const string &measSys, vector<double> &factors) in ComputeValue() argument 529 factors[0] = numerator[0] / denominator[0]; in ComputeValue() [all …]
|
/base/global/i18n/frameworks/intl/include/ |
D | measure_data.h | 30 …puteFactorValue(const std::string &unit, const std::string &measSys, std::vector<double> &factors); 32 …mputePowerValue(const std::string &unit, const std::string &measSys, std::vector<double> &factors); 33 int ComputeValue(const std::string &unit, const std::string &measSys, std::vector<double> &factors);
|