/foundation/multimodalinput/input/tools/inject_event/src/ |
H A D | input_manager_command.cpp | 229 if (!StrToInt(optarg, px) || !StrToInt(argv[optind], py)) { in ParseCommand() 258 if ((!StrToInt(optarg, px1)) || in ParseCommand() 259 (!StrToInt(argv[optind], py1)) || in ParseCommand() 260 (!StrToInt(argv[optind + 1], px2)) || in ParseCommand() 261 (!StrToInt(argv[optind + 2], py2))) { in ParseCommand() 281 } else if (!StrToInt(arg5, totalTimeMs)) { in ParseCommand() 357 if (!StrToInt(optarg, buttonId)) { in ParseCommand() 383 if (!StrToInt(optarg, buttonId)) { in ParseCommand() 409 if (!StrToInt(optar in ParseCommand() [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/ |
H A D | system_ability_test_tool.cpp | 355 StrToInt(argv[ARV_SAID_INDEX], said);
in DoExtend() 361 StrToInt(argv[ARV_SAID_INDEX], said);
in DoExtend() 368 StrToInt(argv[ARV_SAID_INDEX], said);
in DoExtend() 375 StrToInt(argv[ARV_SAID_INDEX], said);
in DoExtend() 386 StrToInt(argv[ARV_SAID_INDEX], said);
in DoRemote() 393 StrToInt(argv[ARV_SAID_INDEX], said);
in DoRemote() 400 StrToInt(argv[ARV_SAID_INDEX], said);
in DoRemote() 402 StrToInt(argv[ARV_DEVICEID_INDEX], rssProcess);
in DoRemote()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
H A D | dms_version_manager.cpp | 145 if (!OHOS::StrToInt(versionNumList[DMS_MAJOR_VERSION_INDEX], majorVersionNum) || majorVersionNum < 0) { in ParseDmsVersion() 151 if (!OHOS::StrToInt(versionNumList[DMS_MINOR_VERSION_INDEX], minorVersionNum) || minorVersionNum < 0) { in ParseDmsVersion() 157 if (!OHOS::StrToInt(versionNumList[DMS_FEATURE_VERSION_INDEX], featureVersionNum) || featureVersionNum < 0) { in ParseDmsVersion()
|
/foundation/multimedia/player_framework/services/utils/ |
H A D | xml_parse.cpp | 75 bool ret = StrToInt(head, range.minVal); in TransStrAsRange() 77 "call StrToInt func false, input head is: %{public}s", head.c_str()); in TransStrAsRange() 79 ret = StrToInt(tail, range.maxVal); in TransStrAsRange() 81 "call StrToInt func false, input tail is: %{public}s", tail.c_str()); in TransStrAsRange() 94 bool ret = StrToInt(*iter, num); in TransStrAsIntegerArray() 96 "call StrToInt func false, input str is: %{public}s", iter->c_str()); in TransStrAsIntegerArray()
|
H A D | uri_helper.cpp | 58 bool StrToInt(const std::string_view& str, T& value) in StrToInt() function 69 "call StrToInt func false, input str is: %{public}s!", valStr.c_str()); in StrToInt() 71 "call StrToInt func false, input str is: %{public}s!", valStr.c_str()); in StrToInt() 74 "call StrToInt func false, input str is: %{public}s!", valStr.c_str()); in StrToInt() 237 CHECK_AND_RETURN_RET_LOG(StrToInt(uri, fd_), false, "Invalid fd url"); in ParseFdUri() 241 CHECK_AND_RETURN_RET_LOG(StrToInt(fdstr, fd) && delim1 + delim1Len < uri.size() in ParseFdUri() 244 CHECK_AND_RETURN_RET_LOG(StrToInt(offsetStr, offset_) && delim2 + delim2Len < uri.size(), false, in ParseFdUri() 247 CHECK_AND_RETURN_RET_LOG(StrToInt(sizeStr, size_), false, "Invalid fd url"); in ParseFdUri()
|
/foundation/resourceschedule/resource_schedule_service/ressched/scene_recognize/src/ |
H A D | background_sensitive_task_overlapping_scene_recognizer.cpp | 66 StrToInt(payload[PID_KEY].get<std::string>(), sceneboardPid_); in OnDispatchResource() 77 StrToInt(payload[PID_KEY].get<std::string>(), pid); in HandleContinuousTask() 196 StrToInt(payload[PID_KEY].get<std::string>(), foregroundPid_); in HandleForeground()
|
/foundation/arkui/ace_engine/adapter/ohos/tools/raw_input_injector/ |
H A D | raw_input_command.cpp | 75 if (!StrToInt(str, duration)) { in Feed() 97 if (!StrToInt(str, value)) { in Feed()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_event_subscriber.cpp | 44 if (oldId.empty() || !OHOS::StrToInt(oldId, oldUserId)) { in OnReceiveEvent()
|
H A D | bundle_resource_observer.cpp | 57 if (!OHOS::StrToInt(themeId, id)) { in OnConfigurationUpdated()
|
H A D | resource_info.cpp | 111 if (!OHOS::StrToInt(index, appIndex_)) { in InnerParseAppIndex()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | distributed_data_change_listener.cpp | 51 bool ret = StrToInt(strVector[index], iValue); in ParseInfo()
|
/foundation/communication/netmanager_base/services/netpolicymanager/include/ |
H A D | net_policy_file.h | 167 quotaPolicy.networkmatchrule.netType = CommonUtils::StrToInt(netPolicyQuota.netType, BEARER_DEFAULT); in ToQuotaPolicy()
|
/foundation/bundlemanager/bundle_framework/services/test/moduletest/utils/src/ |
H A D | common_tool.cpp | 141 if (OHOS::StrToInt(item, pid)) { in GetPid()
|
/foundation/communication/netmanager_base/utils/common_utils/include/ |
H A D | netmanager_base_common_utils.h | 65 int32_t StrToInt(const std::string &value, int32_t defaultErr = -1);
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | interface_manager.cpp | 111 mtu = StrToInt(originMtuValue); in GetMtu() 141 int32_t mtu = StrToInt(mtuValue); in SetMtu()
|
/foundation/multimedia/player_framework/frameworks/native/soundpool/ |
H A D | sound_id_manager.cpp | 91 StrToInt(url.substr(fdHead.size()), fd); in Load()
|
/foundation/systemabilitymgr/safwk/services/safwk/src/ |
H A D | main.cpp | 127 if (!StrToInt(eventVec[0], saId)) { in ParseArgv() 128 HILOGE(TAG, "eventVec[0] StrToInt said error"); in ParseArgv()
|
/foundation/resourceschedule/resource_schedule_service/ressched_executor/services/resschedexeservice/src/ |
H A D | res_sched_exe_service_stub.cpp | 65 || !StrToInt(context[RES_TYPE_EXT], type)) { in GetExtResType()
|
/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/ |
H A D | net_quota_policy.cpp | 200 int32_t start = CommonUtils::StrToInt(quotapolicy.periodDuration.substr(1, quotapolicy.periodDuration.size())); in GetPeriodStart()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | media_file_uri_test.cpp | 120 StrToInt(uri.substr(index, tmpIdx - index), width); in GetParamsFromUriTest() 122 StrToInt(uri.substr(tmpIdx + 1), height); in GetParamsFromUriTest()
|
/foundation/multimedia/player_framework/services/engine/common/recorder_profiles/ |
H A D | recorder_profiles_xml_parser.cpp | 141 if (!StrToInt(capabilityValue, value)) {
in SetCapabilityIntData() 142 MEDIA_LOGE("call StrToInt func false, input str is: %{public}s", capabilityValue.c_str());
in SetCapabilityIntData() 398 if (!StrToInt(capabilityValue, id)) {
in ParseRecorderProfilesSourceData() 399 MEDIA_LOGE("call StrToInt func false, input str is: %{public}s", capabilityValue.c_str());
in ParseRecorderProfilesSourceData()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/sandbox_app/ |
H A D | bundle_sandbox_installer.cpp | 320 if (!StrToInt(appIndexStr, appIndex)) { in UninstallAllSandboxApps()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_boot_scanner.cpp | 151 bool ret = StrToInt(fileStr.substr(underlinePos + 1), versionCode); in ProcessQuickFixDir()
|
/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/ |
H A D | profile_change_handler.cpp | 67 if (!StrToInt(vec[index++], type)) { in Parse()
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | fscrypt_key_v1_ext.cpp | 264 (void)OHOS::StrToInt(last, userId); in GetUserIdFromDir()
|