Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/netstack/test/unittest/utils/common_utils/
H A DNetStackCommonUtilsTest.cpp304 std::string port = GetPortFromURL("https://www.example.com?data_string");
310 std::string port = GetPortFromURL("http://www.example.com?data_string");
316 std::string port = GetPortFromURL("https://www.example.com:9984?data_string");
322 std::string port = GetPortFromURL("www.example.com:9984?data_string");
328 std::string port = GetPortFromURL("www.example.com?data_string");
334 std::string port = GetPortFromURL("https://www.example.com?k_string=data_string:234");
340 std::string port = GetPortFromURL("https://www.example.com/path:data_string:234");
352 … std::string port = GetPortFromURL("https://www.example.com/path:path2?k_string=data_string:234");
358 std::string port = GetPortFromURL("https://www.example.com:");
364 std::string port = GetPortFromURL("https://www.example.com:/path?k_string_data_string");
[all …]
/ohos5.0/foundation/communication/netstack/utils/common_utils/include/
H A Dnetstack_common_utils.h68 std::string GetPortFromURL(const std::string &url);
/ohos5.0/foundation/communication/netstack/utils/common_utils/src/
H A Dnetstack_common_utils.cpp282 std::string GetPortFromURL(const std::string &url) in GetPortFromURL() function
339 std::string port = GetPortFromURL(url); in GetHostnameWithProtocolAndPortFromURL()