Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/ets_utils/js_api_module/url/
H A Djs_url.cpp913 std::string hostandpath = input.substr(2); // 2:Intercept from 2 subscripts in AnalysisNoDefaultProtocol() local
914 if (hostandpath.empty()) { in AnalysisNoDefaultProtocol()
920 if (hostandpath.find('/') != std::string::npos) { in AnalysisNoDefaultProtocol()
921 i = hostandpath.find('/'); in AnalysisNoDefaultProtocol()
922 strHost = hostandpath.substr(0, i); in AnalysisNoDefaultProtocol()
923 std::string strPath = hostandpath.substr(i + 1); in AnalysisNoDefaultProtocol()
944 strHost = hostandpath; in AnalysisNoDefaultProtocol()