Home
last modified time | relevance | path

Searched refs:urlStr (Results 1 - 11 of 11) sorted by relevance

/base/request/request/services/src/cxx/
H A Durl_policy.cpp95 std::string urlStr(url.cStr, url.len); in PolicyCheckUrlDomain()
96 return UrlPolicy::GetInstance()->CheckUrlDomain(app, domain, urlStr); in PolicyCheckUrlDomain()
/base/security/device_auth/services/identity_manager/src/
H A Didentity_common.c50 int32_t SetPreSharedUrlForProof(const char *urlStr, Uint8Buff *preSharedUrl) in SetPreSharedUrlForProof() argument
52 uint32_t urlLen = HcStrlen(urlStr); in SetPreSharedUrlForProof()
58 if (memcpy_s(preSharedUrl->val, urlLen + 1, urlStr, urlLen) != EOK) { in SetPreSharedUrlForProof()
H A Didentity_pin.c158 char *urlStr = PackJsonToString(urlJson); in GetCredInfosByPeerIdentity() local
160 if (urlStr == NULL) { in GetCredInfosByPeerIdentity()
165 int32_t ret = SetPreSharedUrlForProof(urlStr, &info->proof.preSharedUrl); in GetCredInfosByPeerIdentity()
166 FreeJsonString(urlStr); in GetCredInfosByPeerIdentity()
H A Didentity_p2p.c127 char *urlStr = PackJsonToString(urlJson); in GetCredInfosByPeerIdentity() local
129 if (urlStr == NULL) { in GetCredInfosByPeerIdentity()
136 FreeJsonString(urlStr); in GetCredInfosByPeerIdentity()
139 ret = SetPreSharedUrlForProof(urlStr, &info->proof.preSharedUrl); in GetCredInfosByPeerIdentity()
140 FreeJsonString(urlStr); in GetCredInfosByPeerIdentity()
H A Didentity_group.c192 char *urlStr = PackJsonToString(urlJson); in GetAccountUnrelatedIdentityInfo() local
194 if (urlStr == NULL) { in GetAccountUnrelatedIdentityInfo()
199 ret = SetPreSharedUrlForProof(urlStr, &info->proof.preSharedUrl); in GetAccountUnrelatedIdentityInfo()
200 FreeJsonString(urlStr); in GetAccountUnrelatedIdentityInfo()
349 char *urlStr = PackJsonToString(urlJson); in SetIdentityInfoByUrl() local
350 if (urlStr == NULL) { in SetIdentityInfoByUrl()
354 int32_t ret = SetPreSharedUrlForProof(urlStr, &info->proof.preSharedUrl); in SetIdentityInfoByUrl()
355 FreeJsonString(urlStr); in SetIdentityInfoByUrl()
H A Dcert_operation.c83 char *urlStr = PackJsonToString(urlJson); in GetIdentityInfoByType() local
85 if (urlStr == NULL) { in GetIdentityInfoByType()
90 int32_t ret = SetPreSharedUrlForProof(urlStr, &info->proof.preSharedUrl); in GetIdentityInfoByType()
91 FreeJsonString(urlStr); in GetIdentityInfoByType()
/base/security/device_auth/services/identity_manager/inc/
H A Didentity_common.h29 int32_t SetPreSharedUrlForProof(const char *urlStr, Uint8Buff *preSharedUrl);
/base/security/device_auth/test/unittest/deviceauth/source/
H A Didentity_manager_test.cpp267 char *urlStr = PackJsonToString(urlJson); in HWTEST_F() local
269 ASSERT_NE(urlStr, nullptr); in HWTEST_F()
270 presharedUrl.val = (uint8_t *)urlStr; in HWTEST_F()
271 presharedUrl.length = HcStrlen(urlStr) + 1; in HWTEST_F()
286 FreeJsonString(urlStr); in HWTEST_F()
/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_mms_test.cpp1225 std::string urlStr = TEST_URLS; in HWTEST_F() local
1226 std::vector<std::string> urls = persistHelper.SplitUrl(urlStr); in HWTEST_F()
/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_ffi.cpp932 std::string urlStr = std::string(uri); in FfiOHOSWebviewCtlPostMessage() local
937 nativeWebviewCtl->PostWebMessage(portName, sendPorts, urlStr); in FfiOHOSWebviewCtlPostMessage()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp1975 std::string urlStr; in PostMessage() local
1976 if (!NapiParseUtils::ParseString(env, argv[INTEGER_TWO], urlStr)) { in PostMessage()
1990 webviewController->PostWebMessage(portName, sendPorts, urlStr); in PostMessage()

Completed in 22 milliseconds