Home
last modified time | relevance | path

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

/base/global/i18n/frameworks/intl/src/
Drelative_time_format.cpp111 std::string RelativeTimeFormat::Format(double number, const std::string &unit) in Format()
129 const std::string &unit, bool isInteger, const std::string &value) in InsertInfo()
144 std::vector<std::vector<std::string>> &timeVector, size_t &startIndex, const std::string &unit, in ProcessIntegerField()
156 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/i18n_lite/frameworks/i18n/src/
Dmeasure_format.cpp55 std::string MeasureFormat::Format(double num, std::string unit, I18nStatus &status, MeasureFormatTy… in Format()
64 std::string MeasureFormat::Format(int num, std::string unit, I18nStatus &status, MeasureFormatType … in Format()
Dmeasure_format_impl.cpp55 std::string MeasureFormatImpl::Format(double num, std::string &unit, MeasureFormatType type, I18nSt… in Format()
61 std::string MeasureFormatImpl::Format(int num, std::string &unit, MeasureFormatType type, I18nStatu… in Format()
67 std::string MeasureFormatImpl::FormatInner(bool isInteger, std::string &unit, MeasureFormatType typ… in FormatInner()
/base/global/i18n/frameworks/intl/include/
Dnumber_format.h67 std::string unit; variable
/base/global/resource_management/frameworks/resmgr/src/
Dresource_manager_impl.cpp521 std::string unit; in GetFloatById() local
532 RState ResourceManagerImpl::GetFloatById(uint32_t id, float &outValue, std::string &unit) in GetFloatById()
545 std::string unit; in GetFloatByName() local
556 RState ResourceManagerImpl::GetFloatByName(const char *name, float &outValue, std::string &unit) in GetFloatByName()
562 RState ResourceManagerImpl::RecalculateFloat(const std::string &unit, float &result) in RecalculateFloat()
582 …tate ResourceManagerImpl::ParseFloat(const std::string &strValue, float &result, std::string &unit) in ParseFloat()
597 RState ResourceManagerImpl::GetFloat(const IdItem *idItem, float &outValue, std::string &unit) in GetFloat()
/base/global/i18n_lite/frameworks/i18n/test/unittest/lite/common/
Di18n_test.cpp1232 std::string unit = "min"; variable
1274 std::string unit = "stroke"; variable
1312 std::string unit = "ft"; variable
1350 std::string unit = "min"; variable
/base/global/i18n/frameworks/intl/test/unittest/
Dintl_test.cpp851 string unit = "year"; variable
901 string unit = "hour"; variable
942 string unit = "year"; variable
989 string unit = "day"; variable
/base/hiviewdfx/hilog/frameworks/libhilog/utils/
Dlog_utils.cpp59 uint64_t unit = 1; in Size2Str() local
86 uint64_t unit = g_SizeMap.GetValue(str[index]); in Str2Size() local
/base/hiviewdfx/hilog/test/unittest/common/
Dhilogtool_test.cpp504 std::string unit = "B"; variable
/base/global/i18n/interfaces/js/kits/src/
Dintl_addon.cpp1433 std::vector<char> unit; in FormatRelativeTime() local
1469 napi_value unit = nullptr; in FillInArrayElement() local
1506 std::vector<char> unit; in FormatToParts() local
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dmemory_info.cpp85 string unit = "(" + MemoryUtil::GetInstance().KB_UNIT_ + " )"; in insertMemoryTitle() local
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
Dresource_manager_test.cpp534 std::string unit; in TestGetFloatById() local
555 std::string unit; in TestGetFloatByName() local