Home
last modified time | relevance | path

Searched refs:decimal (Results 1 – 13 of 13) sorted by relevance

/base/update/updater/test/unittest/updater_test/
Dtest_update_binary_abnormal.cpp34 constexpr int decimal = 10; in main() local
40 int pipeFd = static_cast<int>(std::strtol(argv[1], nullptr, decimal)); in main()
Dtest_update_binary.cpp35 constexpr int decimal = 10; in main() local
42 int pipeFd = static_cast<int>(std::strtol(argv[1], nullptr, decimal)); in main()
/base/telephony/sms_mms/utils/
Dstring_utils.cpp41 const uint8_t decimal = 10; in HexCharToInt() local
46 return (c - 'A' + decimal); in HexCharToInt()
49 return (c - 'a' + decimal); in HexCharToInt()
/base/hiviewdfx/hiview/base/running_status_logger/
Drunning_status_logger.cpp116 int decimal = 10; in GetLogWroteDestFile() local
118 index *= decimal; in GetLogWroteDestFile()
127 …return GenerateNewestFileName(std::string(((index < decimal) ? "_0" : "_")).append(std::to_string(… in GetLogWroteDestFile()
/base/startup/init/services/init/standard/
Dinit_cmds.c257 const int decimal = 10; in DoMakeNode() local
262 unsigned int major = strtoul(ctx->argv[majorDevicePos], NULL, decimal); in DoMakeNode()
264 unsigned int minor = strtoul(ctx->argv[minorDevicePos], NULL, decimal); in DoMakeNode()
277 const int decimal = 10; in DoMakeDevice() local
279 unsigned int major = strtoul(ctx->argv[0], NULL, decimal); in DoMakeDevice()
281 unsigned int minor = strtoul(ctx->argv[1], NULL, decimal); in DoMakeDevice()
/base/hiviewdfx/hiview/base/
Devent.cpp54 const int decimal = 10; in GetIntValue() local
55 int32_t ret = static_cast<int32_t>(std::strtol(it->second.c_str(), nullptr, decimal)); in GetIntValue()
/base/global/i18n_lite/frameworks/i18n/include/
Dnumber_format_impl.h49 …void AddGroup(char *targetAndSource[], const int len[], const char *decimal, bool hasDec, int decL…
Dnumber_data.h58 char *decimal = nullptr; variable
/base/global/i18n_lite/frameworks/i18n/src/
Dnumber_format_impl.cpp30 off = ReplaceAndCountOff(strContent, i + off, data->decimal, off); in ConvertSignAndNum()
285 void NumberFormatImpl::AddGroup(char *targetAndSource[], const int len[], const char *decimal, in AddGroup() argument
327 target[addIndex + j] = hasDec ? decimal[j] : '\0'; in AddGroup()
Dnumber_data.cpp90 decimal = I18nNewCharString(td, strlen(td)); in InitSign()
265 I18nFree(static_cast<void *>(decimal)); in ~NumberData()
/base/update/packaging_tools/
Dscript_generator.py23 from decimal import getcontext
24 from decimal import Decimal
/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/
Doutput_p.inl894 /* signed decimal output */
/base/global/i18n_lite/
DREADME.md57 2. Change the number format \(such as the numeral system, grouping, decimal point, and percent sig…