Searched refs:URL (Results 1 - 4 of 4) sorted by relevance
/commonlibrary/ets_utils/js_api_module/url/ |
H A D | native_module_url.cpp | 29 static void UrlStructor(napi_env &env, napi_callback_info &info, URL *&object)
in UrlStructor() 70 object = new (std::nothrow) URL(input, base);
in UrlStructor() 76 URL *tempUrl = nullptr;
in UrlStructor() 82 object = new (std::nothrow) URL(input, *tempUrl);
in UrlStructor() 102 URL *object = nullptr;
in UrlConstructor() 122 object = new (std::nothrow) URL(input);
in UrlConstructor() 136 auto obj = reinterpret_cast<URL*>(data);
in UrlConstructor() 149 URL *murl = nullptr;
in GetHostname() 159 URL *murl = nullptr;
in GetSearch() 169 URL *mur in GetUsername() [all...] |
H A D | js_url.h | 31 BIT0 = 0, // 0:Bit 0 Set to true,The URL analysis failed
33 BIT2 = 2, // 2:Bit 2 Set to true,The URL has username
34 BIT3 = 3, // 3:Bit 3 Set to true,The URL has password
35 BIT4 = 4, // 4:Bit 4 Set to true,The URL has hostname
36 BIT5 = 5, // 5:Bit 5 Set to true,The URL Port is the specially
37 BIT6 = 6, // 6:Bit 6 Set to true,The URL has pathname
38 BIT7 = 7, // 7:Bit 7 Set to true,The URL has query
39 BIT8 = 8, // 8:Bit 8 Set to true,The URL has fragment
40 BIT9 = 9, // 9:Bit 9 Set to true,The URL Can not be base
107 class URL {
class in OHOS::Url::BitsetStatusFlag [all...] |
H A D | js_url.cpp | 190 // 0:Bit 0 Set to true,The URL analysis failed
in AnalysisScheme() 1194 URL::URL(const std::string& input)
in URL() function in OHOS::Url::URL 1213 URL::URL(const std::string& input, const std::string& base)
in URL() function in OHOS::Url::URL 1263 URL::URL(const std::string& input, const URL& base)
in URL() function in OHOS::Url::URL 1305 napi_value URL::GetHostname(napi_env env) const
in GetHostname() 1316 napi_value URL [all...] |
/commonlibrary/ets_utils/js_api_module/url/test/ |
H A D | test_napi.cpp | 193 OHOS::Url::URL url("https://example.org:81/a/b/c?query#fragment"); in HWTEST_F() 202 OHOS::Url::URL url("http://username:password@host:8080/directory/file?query#fragment"); in HWTEST_F() 211 OHOS::Url::URL url("../baz", "http://example.org/foo/bar"); in HWTEST_F() 220 OHOS::Url::URL url("/../sca/./path/path/../scasa/jjjjj", "http://www.example.com"); in HWTEST_F() 229 OHOS::Url::URL url("http://username:password@host:8080/directory/file?query#fragment"); in HWTEST_F() 238 OHOS::Url::URL base("http://www.example.com"); in HWTEST_F() 239 OHOS::Url::URL url("//sca/./path/./scasa#", base); in HWTEST_F() 248 OHOS::Url::URL base("http://www.example.com"); in HWTEST_F() 249 OHOS::Url::URL url("/dire/query", base); in HWTEST_F() 258 OHOS::Url::URL bas in HWTEST_F() [all...] |
Completed in 9 milliseconds