Home
last modified time | relevance | path

Searched refs:StrToInt (Results 1 - 25 of 61) sorted by relevance

123

/foundation/multimodalinput/input/tools/inject_event/src/
H A Dinput_manager_command.cpp229 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 Dsystem_ability_test_tool.cpp355 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 Ddms_version_manager.cpp145 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 Dxml_parse.cpp75 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 Duri_helper.cpp58 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 Dbackground_sensitive_task_overlapping_scene_recognizer.cpp66 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 Draw_input_command.cpp75 if (!StrToInt(str, duration)) { in Feed()
97 if (!StrToInt(str, value)) { in Feed()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dbundle_resource_event_subscriber.cpp44 if (oldId.empty() || !OHOS::StrToInt(oldId, oldUserId)) { in OnReceiveEvent()
H A Dbundle_resource_observer.cpp57 if (!OHOS::StrToInt(themeId, id)) { in OnConfigurationUpdated()
H A Dresource_info.cpp111 if (!OHOS::StrToInt(index, appIndex_)) { in InnerParseAppIndex()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddistributed_data_change_listener.cpp51 bool ret = StrToInt(strVector[index], iValue); in ParseInfo()
/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dnet_policy_file.h167 quotaPolicy.networkmatchrule.netType = CommonUtils::StrToInt(netPolicyQuota.netType, BEARER_DEFAULT); in ToQuotaPolicy()
/foundation/bundlemanager/bundle_framework/services/test/moduletest/utils/src/
H A Dcommon_tool.cpp141 if (OHOS::StrToInt(item, pid)) { in GetPid()
/foundation/communication/netmanager_base/utils/common_utils/include/
H A Dnetmanager_base_common_utils.h65 int32_t StrToInt(const std::string &value, int32_t defaultErr = -1);
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dinterface_manager.cpp111 mtu = StrToInt(originMtuValue); in GetMtu()
141 int32_t mtu = StrToInt(mtuValue); in SetMtu()
/foundation/multimedia/player_framework/frameworks/native/soundpool/
H A Dsound_id_manager.cpp91 StrToInt(url.substr(fdHead.size()), fd); in Load()
/foundation/systemabilitymgr/safwk/services/safwk/src/
H A Dmain.cpp127 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 Dres_sched_exe_service_stub.cpp65 || !StrToInt(context[RES_TYPE_EXT], type)) { in GetExtResType()
/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/
H A Dnet_quota_policy.cpp200 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 Dmedia_file_uri_test.cpp120 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 Drecorder_profiles_xml_parser.cpp141 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 Dbundle_sandbox_installer.cpp320 if (!StrToInt(appIndexStr, appIndex)) { in UninstallAllSandboxApps()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_boot_scanner.cpp151 bool ret = StrToInt(fileStr.substr(underlinePos + 1), versionCode); in ProcessQuickFixDir()
/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_change_handler.cpp67 if (!StrToInt(vec[index++], type)) { in Parse()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v1_ext.cpp264 (void)OHOS::StrToInt(last, userId); in GetUserIdFromDir()

Completed in 16 milliseconds

123