Home
last modified time | relevance | path

Searched refs:strVal (Results 1 – 5 of 5) sorted by relevance

/base/telephony/core_service/services/sim/src/
Doperator_config_loader.cpp130 std::string strVal; in MatchOperatorRule() local
133 resultSet->GetString(columnIndex, strVal); in MatchOperatorRule()
134 if (!strVal.empty()) { in MatchOperatorRule()
135 isAllRuleMatch = OperatorMatchingRule::IccidRegexMatch(iccidFromSim_, strVal); in MatchOperatorRule()
141 resultSet->GetString(columnIndex, strVal); in MatchOperatorRule()
142 if (!strVal.empty()) { in MatchOperatorRule()
143 isAllRuleMatch = OperatorMatchingRule::ImsiRegexMatch(imsiFromSim_, strVal); in MatchOperatorRule()
149 resultSet->GetString(columnIndex, strVal); in MatchOperatorRule()
150 if (!strVal.empty()) { in MatchOperatorRule()
151 isAllRuleMatch = OperatorMatchingRule::SpnRegexMatch(spnFromSim_, strVal); in MatchOperatorRule()
[all …]
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_javascript_result_callback.cpp227 std::string strVal; in ParseNapiValue2NwebValue() local
228 if (!NapiParseUtils::ParseString(env, value, strVal)) { in ParseNapiValue2NwebValue()
232 nwebValue->SetString(strVal); in ParseNapiValue2NwebValue()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_authenticator.cpp302 napi_value strVal; in CreateJsVerifyCredentialOptions() local
303 …VOID(env, napi_create_string_utf8(env, options.credentialType.c_str(), NAPI_AUTO_LENGTH, &strVal)); in CreateJsVerifyCredentialOptions()
304 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, *jsOptions, "credentialType", strVal)); in CreateJsVerifyCredentialOptions()
305 …URN_VOID(env, napi_create_string_utf8(env, options.credential.c_str(), NAPI_AUTO_LENGTH, &strVal)); in CreateJsVerifyCredentialOptions()
306 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, *jsOptions, "credential", strVal)); in CreateJsVerifyCredentialOptions()
Dnapi_app_account.cpp947 napi_value strVal = nullptr; in GetCredentialInternal() local
948 … napi_create_string_utf8(env, asyncContext->credential.c_str(), NAPI_AUTO_LENGTH, &strVal); in GetCredentialInternal()
951 ProcessCallbackOrPromise(env, asyncContext, err, strVal); in GetCredentialInternal()
991 napi_value strVal = nullptr; in GetAccountExtraInfo() local
992 … napi_create_string_utf8(env, asyncContext->extraInfo.c_str(), NAPI_AUTO_LENGTH, &strVal); in GetAccountExtraInfo()
994 GetErrorCodeValue(env, ConvertToJSErrCodeV8(asyncContext->errCode)), strVal); in GetAccountExtraInfo()
1047 napi_value strVal = NapiGetNull(env); in GetCustomDataInternal() local
1048 napi_create_string_utf8(env, asyncContext->value.c_str(), NAPI_AUTO_LENGTH, &strVal); in GetCustomDataInternal()
1051 ProcessCallbackOrPromise(env, asyncContext, err, strVal); in GetCustomDataInternal()
1195 napi_value strVal = nullptr; in GetAuthTokenInternal() local
[all …]
/base/startup/syspara_lite/hals/parameter/src/
Dparameter_hal.cpp92 const std::string strVal(value); in HalSetParameter() local
93 bool ret = OHOS::system::SetParameter(strKey, strVal); in HalSetParameter()