/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_cache_entity.cpp | 97 return std::strtol(maxAge_.c_str(), nullptr, DECIMAL); in GetMaxAgeSeconds() 106 return std::strtol(maxStale_.c_str(), nullptr, DECIMAL); in GetMaxStaleSeconds() 114 return std::strtol(minFresh_.c_str(), nullptr, DECIMAL); in GetMinFreshSeconds() 256 return std::strtol(age_.c_str(), nullptr, DECIMAL); in GetAgeSeconds() 264 return std::strtol(maxAge_.c_str(), nullptr, DECIMAL); in GetMaxAgeSeconds() 272 return std::strtol(sMaxAge_.c_str(), nullptr, DECIMAL); in GetSMaxAgeSeconds()
|
/test/xts/acts/kernel_lite/io_posix/src/ |
H A D | IoTestStdlib.cpp | 165 * @tc.name strtol basic function test 172 long ret = strtol(nPtr, &endPtr, 10); // decimal in HWTEST_F() 173 EXPECT_EQ(ret, 12) << "> strtol fail, errno = " << errno; in HWTEST_F() 176 ret = strtol(endPtr, &endPtr, 2); // binary in HWTEST_F() 177 EXPECT_EQ(ret, 6) << "> strtol fail, errno = " << errno; in HWTEST_F() 180 ret = strtol(endPtr, &endPtr, 16); // hexadecimal in HWTEST_F() 181 EXPECT_EQ(ret, 0XDEFE) << "> strtol fail, errno = " << errno; in HWTEST_F() 185 ret = strtol(endPtr, &endPtr, 8); // octal in HWTEST_F() 186 EXPECT_EQ(ret, 0666) << "> strtol fail, errno = " << errno; in HWTEST_F() 189 ret = strtol(endPt in HWTEST_F() [all...] |
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/label_classify/ |
H A D | label_classify.cpp | 276 settings.accel = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings() 282 settings.loopCount = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings() 294 settings.numberOfResults = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings() 303 settings.verbose = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings() 306 settings.numberOfWarmupRuns = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings() 309 settings.printResult = strtol(optarg, nullptr, BASE_NUMBER); in InitSettings()
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/src/ |
H A D | http_cache_request.cpp | 97 return std::strtol(maxAge_.c_str(), nullptr, DECIMAL); in GetMaxAgeSeconds() 106 return std::strtol(maxStale_.c_str(), nullptr, DECIMAL); in GetMaxStaleSeconds() 114 return std::strtol(minFresh_.c_str(), nullptr, DECIMAL); in GetMinFreshSeconds()
|
H A D | http_cache_response.cpp | 132 return std::strtol(age_.c_str(), nullptr, DECIMAL); in GetAgeSeconds() 140 return std::strtol(maxAge_.c_str(), nullptr, DECIMAL); in GetMaxAgeSeconds() 148 return std::strtol(sMaxAge_.c_str(), nullptr, DECIMAL); in GetSMaxAgeSeconds()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | time_util.cpp | 39 milliseconds = strtol(time, nullptr, DEC); in ParseToMilliseconds() 64 (int32_t)(strtol(buffer, nullptr, DEC)); in ParseToMilliseconds()
|
H A D | js_fwk_common.cpp | 205 int16_t intValue = static_cast<int16_t>(strtol(strValue, nullptr, DEC)); in IntegerOf() 992 color = strtol(buffer, nullptr, HEX); in ParseHexColor() 999 color = strtol(source + 1, nullptr, HEX); in ParseHexColor() 1007 alpha = strtol(buffer, nullptr, HEX); in ParseHexColor() 1008 color = strtol(source + IDX_ARGB_COLOR_BEGIN, nullptr, HEX); in ParseHexColor() 1059 long value = strtol(token, nullptr, DEC); in ParseRgbaColor()
|
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/ |
H A D | relational_asset.cpp | 161 *createTime = strtol(asset->asset_.createTime.c_str(), &endPtr, ASSET_TRANSFORM_BASE); in OH_Data_Asset_GetCreateTime() 175 *modifyTime = strtol(asset->asset_.modifyTime.c_str(), &endPtr, ASSET_TRANSFORM_BASE); in OH_Data_Asset_GetModifyTime() 189 *size = strtol(asset->asset_.size.c_str(), &endPtr, ASSET_TRANSFORM_BASE); in OH_Data_Asset_GetSize()
|
/foundation/multimedia/audio_framework/services/audio_policy/test/example/ |
H A D | audio_policy_test.cpp | 281 int mute = strtol(optarg, nullptr, AudioPolicyTest::OPT_ARG_BASE); in HandleMute() 296 int mute = strtol(optarg, nullptr, AudioPolicyTest::OPT_ARG_BASE); in HandleMicMute() 305 streamType = strtol(optarg, nullptr, AudioPolicyTest::OPT_ARG_BASE); in SetStreamType() 312 int streamType = strtol(optarg, nullptr, AudioPolicyTest::OPT_ARG_BASE); in IsStreamActive() 321 int device = strtol(optarg, nullptr, AudioPolicyTest::OPT_ARG_BASE); in SetDeviceActive() 325 active = strtol(argv[optind], nullptr, AudioPolicyTest::OPT_ARG_BASE); in SetDeviceActive() 338 int device = strtol(optarg, nullptr, AudioPolicyTest::OPT_ARG_BASE); in IsDeviceActive() 374 int ringMode = strtol(optarg, nullptr, AudioPolicyTest::OPT_ARG_BASE); in HandleRingerMode() 387 int scene = strtol(optarg, nullptr, AudioPolicyTest::OPT_ARG_BASE); in HandleAudioScene()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | picker_view_component.cpp | 39 uint32_t year = (picker.GetSelectYear() == nullptr) ? 0 : strtol(picker.GetSelectYear(), nullptr, DEC); in OnDatePickerStoped() 40 uint32_t month = (picker.GetSelectMonth() == nullptr) ? 0 : strtol(picker.GetSelectMonth(), nullptr, DEC); in OnDatePickerStoped() 41 uint32_t day = (picker.GetSelectDay() == nullptr) ? 0 : strtol(picker.GetSelectDay(), nullptr, DEC); in OnDatePickerStoped() 72 uint32_t hour = (picker.GetSelectHour() == nullptr) ? 0 : strtol(picker.GetSelectHour(), nullptr, DEC); in OnTimePickerStoped() 73 uint32_t minute = (picker.GetSelectMinute() == nullptr) ? 0 : strtol(picker.GetSelectMinute(), nullptr, DEC); in OnTimePickerStoped()
|
/foundation/ability/ability_runtime/services/common/include/ |
H A D | cache_extension_utils.h | 41 static_cast<AppExecFwk::ExtensionAbilityType>(std::strtol((*it).c_str(), nullptr, BASE_TEN))); in GetCacheExtensionTypeList()
|
/foundation/communication/nfc/services/src/external_deps/ |
H A D | nfc_param_util.cpp | 47 long int num = std::strtol(nfcState, &endptr, DECIMAL_NOTATION);
in GetNfcStateFromParam() 49 ErrorLog("strtol errno = ERANGE");
in GetNfcStateFromParam()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/util/ |
H A D | util.h | 42 int64_t result = std::strtol(value.c_str(), &pEnd, 10); in StringToInt()
|
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/ |
H A D | audio_renderer_test.cpp | 328 contentType = static_cast<ContentType>(strtol(argv[ARGS_INDEX_TWO], NULL, numBase)); in TestPlayback() 329 streamUsage = static_cast<StreamUsage>(strtol(argv[ARGS_INDEX_THREE], NULL, numBase)); in TestPlayback() 333 bufferMsec = strtol(argv[ARGS_COUNT_FOUR], nullptr, numBase); in TestPlayback()
|
H A D | audio_interrupt_test.cpp | 338 ContentType contentType = static_cast<ContentType>(strtol(argv[argIndexTwo], NULL, numBase)); in main() 339 StreamUsage streamUsage = static_cast<StreamUsage>(strtol(argv[argIndexThree], NULL, numBase)); in main()
|
H A D | interrupt_multi_renderer_test.cpp | 269 streamType1 = static_cast<AudioStreamType>(strtol(argv[ARG_INDEX_3], NULL, NUM_BASE)); in TestPlayback() 272 streamType2 = static_cast<AudioStreamType>(strtol(argv[ARG_INDEX_4], NULL, NUM_BASE)); in TestPlayback()
|
/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/ |
H A D | lru_cache.cpp | 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()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_stdlib.h | 300 extern long strtol(const char *nptr, char **endptr, int base);
|
/foundation/communication/bluetooth/frameworks/inner/ipc/common/ |
H A D | raw_address.cpp | 43 dst[i] = strtol(token[BT_ADDRESS_BYTE_LEN - 1 - i].c_str(), &tmp, BT_ADDRESS_STR_LEN - 1); in ConvertToUint8()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/ |
H A D | stdlib.h | 37 * The call is equivalent to strtol(str, (char **)NULL, 10). 48 *@see strtol 57 * The call is equivalent to strtol(str, (char **)NULL, 10). 68 *@see strtol 77 * The call is equivalent to strtol(str, (char **)NULL, 10). 88 *@see strtol 213 long strtol (const char *__restrict, char **__restrict, int);
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/utils/ |
H A D | history_info_mgr.cpp | 43 return static_cast<int32_t>(strtol(value.c_str(), nullptr, DECIMAL_NOTATION)); in GetEnrollEngineUid()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/plugin_adapter/ |
H A D | plugin_bridge.cpp | 43 "apiVersion", static_cast<int32_t>(std::strtol(SystemProperties::GetApiVersion().c_str(), &tmpEnd, 10))); in ProcessSystemParam()
|
/foundation/multimedia/audio_framework/services/audio_service/test/example/ |
H A D | audio_hdi_device_test.cpp | 138 int32_t time = strtol(argv[2], nullptr, 10); in TestPlayback()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/ |
H A D | rtsp_parse.cpp | 93 2. strtol suppport "+2abc" out vlue 2, here is exception 102 long result = strtol(str.c_str(), &nextPtr, DECIMALISM); in ParseIntSafe()
|
/foundation/ai/intelligent_voice_framework/utils/ |
H A D | string_util.cpp | 146 long int conVal = std::strtol(str.c_str(), &endStr, 10); // decimal in StringToInt()
|