/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/hiviewdfx/hiview/interfaces/innerkits/xcollecter_hitrace/ |
D | collect_item_result.cpp | 51 …lectItemResult::GetCollectItemValue(const std::string& item, std::string &value, std::string &unit) in GetCollectItemValue() 75 … CollectItemResult::GetCollectItemValue(const std::string& item, int32_t &value, std::string &unit) in GetCollectItemValue()
|
/base/update/packaging_tools/ |
D | build_module_img.py | 60 def roundup(size, unit): argument
|
/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 | 502 std::string unit; in GetFloatById() local 513 RState ResourceManagerImpl::GetFloatById(uint32_t id, float &outValue, std::string &unit) in GetFloatById() 526 std::string unit; in GetFloatByName() local 537 RState ResourceManagerImpl::GetFloatByName(const char *name, float &outValue, std::string &unit) in GetFloatByName() 543 RState ResourceManagerImpl::RecalculateFloat(const std::string &unit, float &result) in RecalculateFloat() 563 …tate ResourceManagerImpl::ParseFloat(const std::string &strValue, float &result, std::string &unit) in ParseFloat() 578 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/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/global/i18n/frameworks/intl/test/unittest/ |
D | intl_test.cpp | 926 string unit = "year"; variable 976 string unit = "hour"; variable 1017 string unit = "year"; variable 1064 string unit = "day"; variable
|
D | i18n_test.cpp | 477 std::string unit = "tablespoon"; variable
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
D | resource_manager_test_common.cpp | 439 std::string unit; in TestGetFloatById() local 459 std::string unit; in TestGetFloatByName() local
|
/base/hiviewdfx/hilog/test/unittest/common/ |
D | hilogtool_test.cpp | 502 std::string unit = "B"; variable
|
/base/global/i18n/interfaces/js/kits/src/ |
D | intl_addon.cpp | 1441 std::vector<char> unit; in FormatRelativeTime() local 1477 napi_value unit = nullptr; in FillInArrayElement() local 1514 std::vector<char> unit; in FormatToParts() local
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
D | memory_info.cpp | 106 string unit = "(" + MemoryUtil::GetInstance().KB_UNIT_ + " )"; in insertMemoryTitle() local
|