/ohos5.0/foundation/ability/ability_runtime/utils/global/time/include/ |
H A D | time_util.h | 31 constexpr int32_t DECIMAL_BASE = 10; variable 67 milliStr[i] = '0' + remainder % DECIMAL_BASE; in DefaultCurrentTimeStr() 68 remainder /= DECIMAL_BASE; in DefaultCurrentTimeStr()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/ |
H A D | lru_cache.cpp | 24 static constexpr const int DECIMAL_BASE = 10; variable 188 return std::strtol(a.value[LRU_INDEX].c_str(), nullptr, DECIMAL_BASE) > in ReadCacheFromJsonValue() 189 std::strtol(b.value[LRU_INDEX].c_str(), nullptr, DECIMAL_BASE); in ReadCacheFromJsonValue()
|
/ohos5.0/base/startup/init/services/utils/ |
H A D | init_utils.c | 68 *value = (unsigned int)strtoul(name, 0, DECIMAL_BASE); in StringToUint() 523 int value = (int)strtoul(str, NULL, DECIMAL_BASE); in StringToInt() 671 int base = (positiveHex || negativeHex) ? HEX_BASE : DECIMAL_BASE; in StringToLL() 691 int base = (s[0] == '0' && (s[1] == 'x' || s[1] == 'X')) ? HEX_BASE : DECIMAL_BASE; in StringToULL()
|
/ohos5.0/base/startup/init/services/begetctl/ |
H A D | service_control.c | 56 uint64_t timeout = strtoull(timeBuffer, NULL, DECIMAL_BASE); in main_cmd()
|
H A D | param_cmd.c | 576 InitLogLevel value = (InitLogLevel)strtoul(level, NULL, DECIMAL_BASE); in UpdateInitLogLevel()
|
/ohos5.0/base/startup/init/interfaces/innerkits/include/ |
H A D | init_utils.h | 43 #define DECIMAL_BASE 10 macro
|
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | lru_cache_disk_handler.cpp | 184 return std::strtol(a.value[LRU_INDEX].c_str(), nullptr, DECIMAL_BASE) > in ReadCacheFromJsonValue() 185 std::strtol(b.value[LRU_INDEX].c_str(), nullptr, DECIMAL_BASE); in ReadCacheFromJsonValue()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_query.cpp | 170 int limit = static_cast<int>(strtol(operation.field_.c_str(), &end, DECIMAL_BASE)); in Limit() 171 int offset = static_cast<int>(strtol(operation.values_[0].c_str(), &end, DECIMAL_BASE)); in Limit()
|
H A D | rdb_query.h | 103 static constexpr inline uint32_t DECIMAL_BASE = 10; variable
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/cj/src/ |
H A D | image_source_impl.cpp | 29 const int DECIMAL_BASE = 10; variable 160 num = strtol(value.c_str(), &endptr, DECIMAL_BASE); in CheckOrientation()
|
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | lru_cache_disk_handler.h | 28 constexpr const int DECIMAL_BASE = 10; variable
|
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/ |
H A D | setting_datashare.cpp | 48 constexpr int32_t DECIMAL_BASE { 10 }; variable 86 value = static_cast<int64_t>(strtoll(valueStr.c_str(), nullptr, DECIMAL_BASE)); in GetLongValue()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | png_image_chunk_utils.cpp | 43 constexpr auto DECIMAL_BASE = 10; variable 365 const size_t newlength = (DECIMAL_BASE * exifLength) + (*sourcePtr - '0'); in GetExifInfoLen()
|
H A D | exif_metadata_formatter.cpp | 591 const size_t DECIMAL_BASE = 10; variable 719 int numerator = decPart * pow(DECIMAL_BASE, decimal.length() - decimal.find(".") - 1); in GetFractionFromStr() 720 int denominator = pow(DECIMAL_BASE, decimal.length() - decimal.find(".") - 1); in GetFractionFromStr()
|
/ohos5.0/base/startup/init/interfaces/innerkits/fd_holder/ |
H A D | fd_holder.c | 180 fds[i] = (int)strtol(fdList[i], NULL, DECIMAL_BASE); in ServiceGetFd()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/adapter/ |
H A D | p2p_adapter.cpp | 39 static constexpr int DECIMAL_BASE = 10; variable 131 …nectConfig.frequency = strtol(configs[P2P_GROUP_CONFIG_INDEX_FREQ].c_str(), nullptr, DECIMAL_BASE); in P2pConnectGroup()
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/include/b_resources/ |
H A D | b_constants.h | 57 constexpr int DECIMAL_BASE = 10; // 十进制基数 variable
|
/ohos5.0/base/startup/init/services/init/ |
H A D | init_common_cmds.c | 193 unsigned long sleepTime = strtoul(ctx->argv[0], NULL, DECIMAL_BASE); in DoSleep() 211 waitSecond = strtoul(ctx->argv[timePos], NULL, DECIMAL_BASE); in DoWait()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_manager.h | 122 constexpr static int8_t DECIMAL_BASE = 10; variable
|
H A D | object_manager.cpp | 818 sessionIds[sessionId] = strtol(splitKeys[TIME_INDEX].c_str(), &end, DECIMAL_BASE); in ProcessOldEntry()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | drawable_descriptor.cpp | 76 constexpr int DECIMAL_BASE = 10; variable 103 result = std::strtoul(idStr.c_str(), &endPtr, DECIMAL_BASE); in ConvertStringToUInt32()
|
/ohos5.0/base/startup/init/services/param/manager/ |
H A D | param_server.c | 492 uint32_t size = (uint32_t)strtoul(value, NULL, DECIMAL_BASE); in LoadOneParamAreaSize_()
|
/ohos5.0/base/startup/init/services/init/standard/ |
H A D | init_cmds.c | 451 uint64_t timeout = strtoull(splitArgs[1], NULL, DECIMAL_BASE); in DoTimerStart()
|