Home
last modified time | relevance | path

Searched refs:urlStr (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/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_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_pin.c154 char *urlStr = PackJsonToString(urlJson); in GetCredInfosByPeerIdentity() local
156 if (urlStr == NULL) { in GetCredInfosByPeerIdentity()
161 int32_t ret = SetPreSharedUrlForProof(urlStr, &info->proof.preSharedUrl); in GetCredInfosByPeerIdentity()
162 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.c79 char *urlStr = PackJsonToString(urlJson); in GetIdentityInfoByType() local
81 if (urlStr == NULL) { in GetIdentityInfoByType()
86 int32_t ret = SetPreSharedUrlForProof(urlStr, &info->proof.preSharedUrl); in GetIdentityInfoByType()
87 FreeJsonString(urlStr); in GetIdentityInfoByType()
/ohos5.0/base/request/request/services/src/cxx/
H A Durl_policy.cpp95 std::string urlStr(url.cStr, url.len); in PolicyCheckUrlDomain() local
96 return UrlPolicy::GetInstance()->CheckUrlDomain(app, domain, urlStr); in PolicyCheckUrlDomain()
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Didentity_manager_test.cpp267 char *urlStr = PackJsonToString(urlJson); variable
269 ASSERT_NE(urlStr, nullptr);
270 presharedUrl.val = (uint8_t *)urlStr;
271 presharedUrl.length = HcStrlen(urlStr) + 1;
286 FreeJsonString(urlStr);
/ohos5.0/base/security/device_auth/services/identity_manager/inc/
H A Didentity_common.h29 int32_t SetPreSharedUrlForProof(const char *urlStr, Uint8Buff *preSharedUrl);
/ohos5.0/docs/zh-cn/application-dev/web/
H A Dweb-scheme-handler.md526 std::string urlStr(url);
527 std::size_t position = urlStr.rfind('/');
529 rawfilePath_ = urlStr.substr(position + 1);
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerstub_fuzzer/
H A Dplayer_service_proxy_fuzzer.cpp139 std::string urlStr(reinterpret_cast<const char *>(inputData), size); in SetSourceStatic()
140 (void)data.WriteString(urlStr); in SetSourceStatic()
/ohos5.0/docs/en/application-dev/web/
H A Dweb-scheme-handler.md526 std::string urlStr(url);
527 std::size_t position = urlStr.rfind('/');
529 rawfilePath_ = urlStr.substr(position + 1);
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_mms_test.cpp1231 std::string urlStr = TEST_URLS; variable
1232 std::vector<std::string> urls = persistHelper.SplitUrl(urlStr);
/ohos5.0/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp1973 std::string urlStr; in PostMessage() local
1974 if (!NapiParseUtils::ParseString(env, argv[INTEGER_TWO], urlStr)) { in PostMessage()
1988 webviewController->PostWebMessage(portName, sendPorts, urlStr); in PostMessage()