Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/ets_utils/js_api_module/url/
H A Djs_url.cpp884 …if (strHost[strHost.size() - 1] != ']' && (pos = strHost.find_last_of(':')) != std::string::npos) { in AnalyHostPath()
886 strHost = strHost.substr(0, pos); in AnalyHostPath()
932 …if (strHost[strHost.size() - 1] != ']' && (pos = strHost.find_last_of(':')) != std::string::npos) { in AnalysisNoDefaultProtocol()
934 strHost = strHost.substr(0, pos); in AnalysisNoDefaultProtocol()
968 if (strHost[strHost.size() - 1] != ']') { in AnalysisOnlyHost()
971 strHost = strHost.substr(0, pos); in AnalysisOnlyHost()
1019 …if (strHost[strHost.size() - 1] != ']' && (pos = strHost.find_last_of(':')) != std::string::npos) { in ParsingHostAndPath()
1023 strHost = strHost.substr(0, pos); in ParsingHostAndPath()
1027 if (strHost[strHost.size() - 1] != ']' && strHost.find_last_of(':') != std::string::npos && in ParsingHostAndPath()
1453 if ((strHost[pos] == ':') || (strHost[pos] == '?') || (strHost[pos] == '#') || in SetHostname()
[all …]
H A Djs_url.h86 …void AnalyHostPath(std::string &strHost, std::bitset<static_cast<size_t>(BitsetStatusFlag::BIT_STA…
88 void AnalyStrHost(std::string &strHost, UrlData& urlinfo,
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Dhttp_request.cpp30 …: mISocketFd(INVALID_SOCKET), iPort(0), strHost(""), strIp(""), strRes(""), strParam(""), httpHead… in HttpRequest()
178 strHttpHead += strHost; in HttpHeadCreate()
270 strHost = urlTmp2.substr(0, urlTmp2.find("/")); in GetHostAddrFromUrl()
282 if (strHost.find(":") != std::string::npos) { in GetPortFromUrl()
283 std::string strPort = strHost.substr(strHost.find(":") + 1); in GetPortFromUrl()
335 if (strHost.find(":") != std::string::npos) { in GetIPFromUrl()
336 strIpOrDomain = strHost.substr(0, strHost.find(":")); in GetIPFromUrl()
338 strIpOrDomain = strHost; in GetIPFromUrl()
H A Dhttp_request.h150 std::string strHost; variable
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Dhttp_request_test.cpp161 pHttpRequest->strHost = "Connection: Keep-Alive\r\n";