/base/telephony/core_service/services/sim/src/ |
H A D | operator_config_loader.cpp | 219 std::string strVal; in MatchOperatorRule() local 222 resultSet->GetString(columnIndex, strVal); in MatchOperatorRule() 223 if (!strVal.empty()) { in MatchOperatorRule() 224 isAllRuleMatch = OperatorMatchingRule::IccidRegexMatch(iccidFromSim_, strVal); in MatchOperatorRule() 230 resultSet->GetString(columnIndex, strVal); in MatchOperatorRule() 231 if (!strVal.empty()) { in MatchOperatorRule() 232 isAllRuleMatch = OperatorMatchingRule::ImsiRegexMatch(imsiFromSim_, strVal); in MatchOperatorRule() 238 resultSet->GetString(columnIndex, strVal); in MatchOperatorRule() 239 if (!strVal.empty()) { in MatchOperatorRule() 240 isAllRuleMatch = OperatorMatchingRule::SpnRegexMatch(spnFromSim_, strVal); in MatchOperatorRule() [all...] |
/base/update/updater/test/unittest/utils/json/ |
H A D | utils_json_test.cpp | 223 const char *strVal = "newValue"; in HWTEST_F() local 227 node["key"][idx++] = strVal; in HWTEST_F() 228 EXPECT_EQ(node["key"][--idx], strVal); in HWTEST_F() 255 const char *strVal = "newValue"; in HWTEST_F() local 256 node["key"] = strVal; in HWTEST_F() 257 EXPECT_EQ(node["key"], strVal); in HWTEST_F()
|
/base/update/updater/test/fuzztest/updaterutils_fuzzer/ |
H A D | updater_utils_fuzzer.cpp | 306 const char *strVal = "newValue"; in TestJsonNodeOperation() local 310 node["key"][idx++] = strVal; in TestJsonNodeOperation() 338 const char *strVal = "newValue"; in TestJsonNodeValueStrChange() local 339 node["key"] = strVal; in TestJsonNodeValueStrChange()
|
/base/web/webview/interfaces/kits/cj/src/ |
H A D | webview_javascript_result_callback.cpp | 186 std::string strVal = std::string(cjRet); in GetJavaScriptResultSelf() local 189 ret->SetString(strVal); in GetJavaScriptResultSelf() 307 std::string strVal = std::string(cjRet); in GetJavaScriptResultSelfHelper() local 310 ret->SetString(strVal); in GetJavaScriptResultSelfHelper()
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
H A D | napi_app_account_authenticator.cpp | 361 napi_value strVal; in CreateJsVerifyCredentialOptions() local 362 NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, options.credentialType.c_str(), NAPI_AUTO_LENGTH, &strVal)); in CreateJsVerifyCredentialOptions() 363 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, *jsOptions, "credentialType", strVal)); in CreateJsVerifyCredentialOptions() 364 NAPI_CALL_RETURN_VOID(env, napi_create_string_utf8(env, options.credential.c_str(), NAPI_AUTO_LENGTH, &strVal)); in CreateJsVerifyCredentialOptions() 365 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, *jsOptions, "credential", strVal)); in CreateJsVerifyCredentialOptions()
|
H A D | napi_app_account.cpp | 783 napi_value strVal = nullptr; in GetCredentialInternal() 784 napi_create_string_utf8(env, asyncContext->credential.c_str(), NAPI_AUTO_LENGTH, &strVal); in GetCredentialInternal() 787 ProcessCallbackOrPromise(env, asyncContext, err, strVal); in GetCredentialInternal() 816 napi_value strVal = nullptr; in GetAccountExtraInfo() 817 napi_create_string_utf8(env, asyncContext->extraInfo.c_str(), NAPI_AUTO_LENGTH, &strVal); in GetAccountExtraInfo() 819 GetErrorCodeValue(env, ConvertToJSErrCodeV8(asyncContext->errCode)), strVal); in GetAccountExtraInfo() 861 napi_value strVal = NapiGetNull(env); in GetCustomDataInternal() 862 napi_create_string_utf8(env, asyncContext->value.c_str(), NAPI_AUTO_LENGTH, &strVal); in GetCustomDataInternal() 865 ProcessCallbackOrPromise(env, asyncContext, err, strVal); in GetCustomDataInternal() 996 napi_value strVal in GetAuthTokenInternal() [all...] |
/base/web/webview/interfaces/kits/napi/webviewcontroller/ |
H A D | webview_javascript_result_callback.cpp | 562 std::string strVal; in ParseBasicTypeNapiValue2NwebValue() local 563 if (!NapiParseUtils::ParseString(env, value, strVal)) { in ParseBasicTypeNapiValue2NwebValue() 567 if (strVal == "methodNameListForJsProxy") { in ParseBasicTypeNapiValue2NwebValue() 571 nwebValue->SetString(strVal); in ParseBasicTypeNapiValue2NwebValue() 743 std::string strVal; in IsCallableObject() local 744 if (!NapiParseUtils::ParseString(env, napiTmp, strVal)) { in IsCallableObject() 747 methodNameList->push_back(strVal); in IsCallableObject()
|