Home
last modified time | relevance | path

Searched defs:unit (Results 1 – 7 of 7) sorted by relevance

/base/global/i18n_standard/frameworks/intl/src/
Drelative_time_format.cpp98 std::string RelativeTimeFormat::Format(double number, const std::string &unit) in Format()
116 const std::string &unit, bool isInteger, const std::string &value) in InsertInfo()
131 std::vector<std::vector<std::string>> &timeVector, size_t &startIndex, const std::string &unit, in ProcessIntegerField()
143 void RelativeTimeFormat::FormatToParts(double number, const std::string &unit, in FormatToParts()
Dmeasure_data.cpp474 void ComputeFactorValue(const string &unit, const string &measSys, vector<double> &factors) in ComputeFactorValue()
488 double ComputeSIPrefixValue(const string &unit) in ComputeSIPrefixValue()
498 void ComputePowerValue(const string &unit, const string &measSys, vector<double> &factors) in ComputePowerValue()
513 int ComputeValue(const string &unit, const string &measSys, vector<double> &factors) in ComputeValue()
/base/global/resmgr_standard/frameworks/resmgr/src/
Dresource_manager_impl.cpp423 std::string unit; in GetFloatById() local
431 RState ResourceManagerImpl::GetFloatById(uint32_t id, float &outValue, std::string &unit) in GetFloatById()
440 std::string unit; in GetFloatByName() local
448 RState ResourceManagerImpl::GetFloatByName(const char *name, float &outValue, std::string &unit) in GetFloatByName()
454 RState ResourceManagerImpl::RecalculateFloat(const std::string &unit, float &result) in RecalculateFloat()
475 …tate ResourceManagerImpl::ParseFloat(const std::string &strValue, float &result, std::string &unit) in ParseFloat()
490 RState ResourceManagerImpl::GetFloat(const IdItem *idItem, float &outValue, std::string &unit) in GetFloat()
/base/global/i18n_standard/frameworks/intl/include/
Dnumber_format.h67 std::string unit; variable
/base/global/resmgr_standard/frameworks/resmgr/test/unittest/common/
Dresource_manager_test.cpp1218 std::string unit; variable
1261 std::string unit; variable
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dmemory_info.cpp63 string unit = "(" + MemoryUtil::GetInstance().KB_UNIT_ + " )"; in insertMemoryTitle() local
/base/global/i18n_standard/interfaces/js/kits/src/
Dintl_addon.cpp1588 std::vector<char> unit; in FormatRelativeTime() local
1624 napi_value unit = nullptr; in FillInArrayElement() local
1661 std::vector<char> unit; in FormatToParts() local