/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | card_frontend_declarative.h | 70 UIContentErrorCode RunPage(const std::string& url, const std::string& params) override; 83 const std::string& url, int64_t cardId, const std::string& entryPoint) -> bool { 103 return jsEngine->LoadCard(url, cardId, entryPoint);
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | utils.cpp | 84 bool CheckUrlValid(const std::string& url, const std::string& hapPath) in CheckUrlValid() argument 87 if (url.find(bundleNameFlag) == 0) { in CheckUrlValid() 104 if (urlPath == url) { in CheckUrlValid()
|
/foundation/arkui/ace_engine/test/mock/core/common/ |
H A D | mock_frontend.h | 37 MOCK_METHOD(UIContentErrorCode, RunPage, (const std::string& url, const std::string& params), (override)); 38 MOCK_METHOD(void, ReplacePage, (const std::string& url, const std::string& params), (override)); 39 MOCK_METHOD(void, PushPage, (const std::string& url, const std::string& params), (override));
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/http/ |
H A D | http_media_downloader.cpp | 45 bool HttpMediaDownloader::Open(const std::string& url) in Open() argument 47 MEDIA_LOG_I("Open download " PUBLIC_LOG_S, url.c_str()); in Open() 56 downloadRequest_ = std::make_shared<DownloadRequest>(url, saveData, realStatusCallback); in Open()
|
/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | net_http_request_context.h | 65 void ParseParams(std::string url, CHttpRequestOptions *ops); 174 RequestContext* Request(std::string url, CHttpRequestOptions *ops, bool isInStream); 175 RequestContext* RequestInStream(std::string url, CHttpRequestOptions *ops);
|
/third_party/elfutils/debuginfod/ |
H A D | debuginfod-find.c | 235 const char* url = debuginfod_get_url (client); in main() local 236 if (url != NULL) in main() 237 fprintf(stderr, "Downloaded from %s\n", url); in main()
|
/third_party/ffmpeg/libavformat/ |
H A D | rtsp.h | 454 char control_url[MAX_URL_SIZE]; /**< url for this stream (from SDP) */ 497 const char *url, const char *headers); 504 * @param url the target url for the request 516 const char *method, const char *url, 529 const char *url, const char *headers,
|
H A D | concatdec.c | 33 #include "url.h" 46 char *url; member 118 char *url = NULL; in add_file() local 132 url = filename; in add_file() 135 url_len = strlen(avf->url) + strlen(filename) + 16; in add_file() 136 if (!(url = av_malloc(url_len))) in add_file() 138 ff_make_absolute_url(url, url_len, avf->url, filename); in add_file() 156 file->url = url; in add_file() [all...] |
H A D | segment.c | 24 * @url{http://tools.ietf.org/id/draft-pantos-http-live-streaming} 204 if (!strftime(buf, sizeof(buf), s->url, tm)) { in set_segment_filename() 209 s->url, seg->segment_idx) < 0) { in set_segment_filename() 210 av_log(oc, AV_LOG_ERROR, "Invalid segment filename template '%s'\n", s->url); in set_segment_filename() 219 size = strlen(av_basename(oc->url)) + 1; in set_segment_filename() 227 av_basename(oc->url)); in set_segment_filename() 253 if ((err = s->io_open(s, &oc->pb, oc->url, AVIO_FLAG_WRITE, NULL)) < 0) { in segment_start() 254 av_log(s, AV_LOG_ERROR, "Failed to open segment '%s'\n", oc->url); in segment_start() 368 oc->url); in segment_end() 411 seg->avf->url, se in segment_end() [all...] |
/third_party/curl/docs/examples/ |
H A D | multi-event.c | 66 static void add_download(const char *url, int num) in add_download() argument 83 curl_easy_setopt(handle, CURLOPT_URL, url); in add_download() 85 fprintf(stderr, "Added download %s -> %s\n", url, filename); in add_download()
|
H A D | multi-uv.c | 76 static void add_download(const char *url, int num) in add_download() argument 93 curl_easy_setopt(handle, CURLOPT_URL, url); in add_download() 95 fprintf(stderr, "Added download %s -> %s\n", url, filename); in add_download()
|
/third_party/libuv/docs/code/uvwget/ |
H A D | main.c | 40 void add_download(const char *url, int num) { in add_download() argument 53 curl_easy_setopt(handle, CURLOPT_URL, url); in add_download() 55 fprintf(stderr, "Added download %s -> %s\n", url, filename); in add_download()
|
/third_party/node/deps/npm/node_modules/http-proxy-agent/dist/ |
H A D | index.js | 35 const url_1 = require("url"); 71 const url = new url_1.URL(req.path, base); 73 url.port = String(opts.port); 77 req.path = String(url);
|
/third_party/node/deps/undici/src/lib/websocket/ |
H A D | connection.js | 34 * @param {URL} url 40 function establishWebSocketConnection (url, protocols, ws, onEstablish, options) { 41 // 1. Let requestURL be a copy of url, with its scheme set to "http", if url’s 43 const requestURL = url 45 requestURL.protocol = url.protocol === 'ws:' ? 'http:' : 'https:'
|
/third_party/skia/third_party/externals/microhttpd/src/testcurl/https/ |
H A D | test_https_get_select.c | 45 const char *url, in ahc_echo() 64 response = MHD_create_response_from_buffer (strlen (url), in ahc_echo() 65 (void *) url, in ahc_echo() 43 ahc_echo(void *cls, struct MHD_Connection *connection, const char *url, const char *method, const char *version, const char *upload_data, size_t *upload_data_size, void **unused) ahc_echo() argument
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | test_proxies.c | 132 //char *url; in main() 143 //asprintf(&url, "127.0.0.1:%i", mhd_port); in main() 158 char *url; in main() local 169 asprintf(&url, "http://127.0.0.1:%i", spdy2http_port); in main() 172 execlp ("../examples/mhd2spdy", "mhd2spdy", "-vosb", url, "-p", port_s, NULL); in main()
|
/third_party/parse5/bench/perf/ |
H A D | index.js | 10 const hugePagePath = new URL('../../test/data/huge-page/huge-page.html', import.meta.url); 11 const treeConstructionPath = new URL('../../test/data/html5lib-tests/tree-construction', import.meta.url); 12 const saxPath = new URL('../../test/data/sax/', import.meta.url);
|
/third_party/skia/third_party/externals/freetype/tests/scripts/ |
H A D | download-test-fonts.py | 127 def download_file(url: str, expected_digest: Optional[bytes] = None): 131 url: Input URL 137 r = requests.get(url, allow_redirects=True) 144 % (url, digest.hex(), expected_digest.hex())
|
/third_party/rust/crates/regex/scripts/ |
H A D | scrape_crates_io.py | 124 self.url = ("https://crates.io/api/v1/crates/{name}/{version}/download" 135 r = http.request("GET", self.url, preload_content=False) 138 retries, max_retries + 1, self.url))
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | frontend_delegate_declarative_ng.cpp | 157 const std::string& url, const std::string& params, const std::string& profile, bool isNamedRouter) in RunPage() 161 LOGI("Frontend delegate declarative run page, url=%{public}s", url.c_str()); in RunPage() 172 if (!url.empty()) { in RunPage() 173 mainPagePath = manifestParser_->GetRouter()->GetPagePath(url); in RunPage() 179 weakPtr = WeakPtr<NG::PageRouterManager>(pageRouterManager_), url, params, isNamedRouter]() { in RunPage() 184 pageRouterManager->RunPageByNamedRouter(url, params); in RunPage() 186 pageRouterManager->RunPage(url, params); in RunPage() 267 data = std::string("{\"url\":\"").append(pageUri).append("\",\"__remoteData\":").append(savedData).append("}"); in OnSaveData() 476 void FrontendDelegateDeclarativeNG::GetRouterStateByUrl(std::string& url, st argument 156 RunPage( const std::string& url, const std::string& params, const std::string& profile, bool isNamedRouter) RunPage() argument 536 GetAssetContent(const std::string& url, std::string& content) GetAssetContent() argument 541 GetAssetContent(const std::string& url, std::vector<uint8_t>& content) GetAssetContent() argument 546 GetAssetPath(const std::string& url) GetAssetPath() argument 1150 auto url = pageRouterManager_->GetCurrentPageUrl(); RebuildAllPages() local [all...] |
/foundation/multimedia/player_framework/test/unittest/hiplayer_impl_test/ |
H A D | hiplayer_impl_unit_test.cpp | 52 * @tc.desc : Test GetRealPath interface, set url to "file://".
58 std::string url = "file://";
in HWTEST_F() local 62 int32_t ret = hiplayer_->GetRealPath(url, realUrlPath);
in HWTEST_F() 71 * @tc.desc : Test GetRealPath interface, set url to "file".
77 std::string url = "file";
in HWTEST_F() local 81 int32_t ret = hiplayer_->GetRealPath(url, realUrlPath);
in HWTEST_F() 90 * @tc.desc : Test GetRealPath interface, set url to "file:///storage/../test.mp3".
96 std::string url = "file:///storage/../test.mp3";
in HWTEST_F() local 100 int32_t ret = hiplayer_->GetRealPath(url, realUrlPath);
in HWTEST_F() 218 * @tc.desc : Test SetMediaSource interface, set url t 759 std::string url = ""; HWTEST_F() local 783 std::string url = VIDEO_FILE1; HWTEST_F() local [all...] |
/third_party/nghttp2/integration-tests/ |
H A D | server_tester.go | 15 "net/url" 47 url string // test frontend server URL 145 backendURL, err := url.Parse(ts.URL) 204 url: fmt.Sprintf("%v://%v", scheme, authority), 358 urlstring := st.url + "/echo" 360 config, err := websocket.NewConfig(urlstring, st.url) 362 st.t.Fatalf("websocket.NewConfig(%q, %q) returned error: %v", urlstring, st.url, err) 411 reqURL := st.url 414 u, err := url.Parse(st.url) [all...] |
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/capi/src/ |
H A D | screen_capture_capi_mock.cpp | 120 std::string url = config.recorderInfo.url; in Convert() local 121 if (!(url.empty())) { in Convert() 122 tempConfig.recorderInfo.url = const_cast<char *>(config.recorderInfo.url.c_str()); in Convert() 123 tempConfig.recorderInfo.urlLen = config.recorderInfo.url.size(); in Convert()
|
/foundation/communication/netstack/test/fuzztest/http_fuzzer/ |
H A D | http_fuzzer.cpp | 250 std::string url = "https://www.baidu.com"; in CreateHttpClientRequest() local 251 httpReq.SetURL(url); in CreateHttpClientRequest() 355 std::string url = "http://www.httpbin.org/get"; in HttpClientTaskSetOtherCurlOptionFuzzTest() local 356 request.SetURL(url); in HttpClientTaskSetOtherCurlOptionFuzzTest() 379 std::string url = "http://www.httpbin.org/get"; in HttpClientTaskSetCurlOptionsFuzzTest() local 380 httpReq.SetURL(url); in HttpClientTaskSetCurlOptionsFuzzTest()
|
/third_party/node/lib/internal/policy/ |
H A D | manifest.js | 30 const { URL } = require('internal/url'); 41 // From https://url.spec.whatwg.org/#special-scheme 528 mightAllow(url, onreact) { 529 const href = `${url}`; 563 assertIntegrity(url, content) { 564 const href = `${url}`; 596 const error = new ERR_MANIFEST_ASSERT_INTEGRITY(url, realIntegrities); 616 const error = new ERR_MANIFEST_ASSERT_INTEGRITY(url, realIntegrities); 700 * Resolves a valid url string and uses the parsed cache to avoid double parsing
|