/base/global/i18n/frameworks/intl/src/ |
D | relative_time_format.cpp | 111 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()
|
D | measure_data.cpp | 474 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/ |
D | measure_format.cpp | 55 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()
|
D | measure_format_impl.cpp | 55 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/ |
D | number_format.h | 67 std::string unit; variable
|
/base/global/resource_management/frameworks/resmgr/src/ |
D | resource_manager_impl.cpp | 521 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/ |
D | i18n_test.cpp | 1232 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/ |
D | intl_test.cpp | 851 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/ |
D | log_utils.cpp | 59 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/ |
D | hilogtool_test.cpp | 504 std::string unit = "B"; variable
|
/base/global/i18n/interfaces/js/kits/src/ |
D | intl_addon.cpp | 1433 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/ |
D | memory_info.cpp | 85 string unit = "(" + MemoryUtil::GetInstance().KB_UNIT_ + " )"; in insertMemoryTitle() local
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
D | resource_manager_test.cpp | 534 std::string unit; in TestGetFloatById() local 555 std::string unit; in TestGetFloatByName() local
|