Home
last modified time | relevance | path

Searched refs:base_uri (Results 1 – 25 of 38) sorted by relevance

12

/third_party/libsoup/tests/
Dcache-test.c117 SoupURI *base_uri,
139 SoupURI *base_uri, in do_request() argument
158 uri = soup_uri_new_with_base (base_uri, path); in do_request()
219 SoupURI *base_uri, in do_request_with_cancel() argument
233 uri = soup_uri_new_with_base (base_uri, path); in do_request_with_cancel()
287 SoupURI *base_uri = (SoupURI *)data; in do_basics_test() local
307 body1 = do_request (session, base_uri, "GET", "/1", NULL, in do_basics_test()
310 body2 = do_request (session, base_uri, "GET", "/2", NULL, in do_basics_test()
314 body3 = do_request (session, base_uri, "GET", "/3", NULL, in do_basics_test()
319 body4 = do_request (session, base_uri, "GET", "/4", NULL, in do_basics_test()
[all …]
Dstreaming-test.c77 do_request (SoupSession *session, SoupURI *base_uri, char *path) in do_request() argument
83 uri = soup_uri_new_with_base (base_uri, path); in do_request()
104 SoupURI *base_uri = (SoupURI *)data; in do_chunked_test() local
108 do_request (session, base_uri, "chunked"); in do_chunked_test()
115 SoupURI *base_uri = (SoupURI *)data; in do_content_length_test() local
119 do_request (session, base_uri, "content-length"); in do_content_length_test()
126 SoupURI *base_uri = (SoupURI *)data; in do_eof_test() local
132 do_request (session, base_uri, "eof"); in do_eof_test()
141 SoupURI *base_uri; in main() local
157 base_uri = soup_test_server_get_uri (server, "http", NULL); in main()
[all …]
Dpull-api-test.c65 const char *base_uri, const char *sub_uri, in do_fully_async_test() argument
75 uri = g_build_filename (base_uri, sub_uri, NULL); in do_fully_async_test()
234 const char *base_uri = data; in do_fast_async_test() local
242 do_fully_async_test (session, base_uri, "/", in do_fast_async_test()
244 do_fully_async_test (session, base_uri, "/Basic/realm1/", in do_fast_async_test()
246 do_fully_async_test (session, base_uri, "/Basic/realm2/", in do_fast_async_test()
254 const char *base_uri = data; in do_slow_async_test() local
262 do_fully_async_test (session, base_uri, "/", in do_slow_async_test()
264 do_fully_async_test (session, base_uri, "/Basic/realm1/", in do_slow_async_test()
266 do_fully_async_test (session, base_uri, "/Basic/realm2/", in do_slow_async_test()
[all …]
Dserver-auth-test.c8 static SoupURI *base_uri; variable
26 do_test (SoupURI *base_uri, const char *path, in do_test() argument
42 uri = soup_uri_copy (base_uri); in do_test()
121 do_test (base_uri, "/foo", in do_server_auth_test()
137 do_test (base_uri, "/Basic/foo", in do_server_auth_test()
152 do_test (base_uri, "/Digest/foo", in do_server_auth_test()
165 do_test (base_uri, "/Digest/A%20B", in do_server_auth_test()
178 do_test (base_uri, "/Digest/A%20|%20B", in do_server_auth_test()
191 do_test (base_uri, "/Digest/A௹B", in do_server_auth_test()
203 do_test (base_uri, "/Any/foo", in do_server_auth_test()
[all …]
Dmisc-test.c9 SoupURI *base_uri, *ssl_base_uri; variable
57 soup_uri_set_port (redirect_uri, base_uri->port); in server_callback()
105 one = soup_message_new_from_uri ("GET", base_uri); in do_host_test()
106 two = soup_message_new_from_uri ("GET", base_uri); in do_host_test()
137 msg = soup_message_new_from_uri ("GET", base_uri); in do_host_big_header()
369 msg = soup_message_new_from_uri ("GET", base_uri); in do_msg_reuse_test()
374 uri = soup_uri_new_with_base (base_uri, "/redirect"); in do_msg_reuse_test()
378 g_assert_true (soup_uri_equal (soup_message_get_uri (msg), base_uri)); in do_msg_reuse_test()
382 uri = soup_uri_new_with_base (base_uri, "/auth"); in do_msg_reuse_test()
391 soup_message_set_uri (msg, base_uri); in do_msg_reuse_test()
[all …]
Dntlm-test.c308 do_message (SoupSession *session, SoupURI *base_uri, const char *path, in do_message() argument
317 uri = soup_uri_new_with_base (base_uri, path); in do_message()
392 do_ntlm_round (SoupURI *base_uri, gboolean use_ntlm, in do_ntlm_round() argument
417 soup_auth_manager_use_auth (auth_manager, base_uri, ntlm); in do_ntlm_round()
427 do_message (session, base_uri, "/noauth/", in do_ntlm_round()
443 do_message (session, base_uri, "/alice/", in do_ntlm_round()
456 do_message (session, base_uri, "/alice/404", in do_ntlm_round()
463 do_message (session, base_uri, "/alice/", in do_ntlm_round()
475 do_message (session, base_uri, "/bob/", in do_ntlm_round()
487 do_message (session, base_uri, "/alice/", in do_ntlm_round()
[all …]
Dcontext-test.c8 static char *base_uri; variable
152 uri = g_build_filename (base_uri, "slow", NULL); in test1_thread()
211 uri = g_build_filename (base_uri, "slow", NULL); in do_test2()
279 msg1 = soup_message_new ("GET", base_uri); in do_multicontext_test()
288 msg2 = soup_message_new ("GET", base_uri); in do_multicontext_test()
341 base_uri = soup_uri_to_string (uri, FALSE); in main()
352 g_free (base_uri); in main()
Dserver-test.c12 SoupURI *base_uri, *ssl_base_uri; member
44 sd->base_uri = soup_test_server_get_uri (sd->server, "http", NULL); in server_setup_nohandler()
88 g_clear_pointer (&sd->base_uri, soup_uri_free); in server_teardown()
128 star_uri = soup_uri_copy (sd->base_uri); in do_star_test()
247 do_one_server_aliases_test (sd->base_uri, http_good[i], TRUE); in do_server_aliases_test()
249 do_one_server_aliases_test (sd->base_uri, http_bad[i], FALSE); in do_server_aliases_test()
270 uri = soup_uri_new_with_base (sd->base_uri, "/..%2ftest"); in do_dot_dot_test()
278 uri = soup_uri_new_with_base (sd->base_uri, "/%2e%2e%2ftest"); in do_dot_dot_test()
287 uri = soup_uri_new_with_base (sd->base_uri, "\\..%5Ctest"); in do_dot_dot_test()
295 uri = soup_uri_new_with_base (sd->base_uri, "\\../test"); in do_dot_dot_test()
[all …]
Dconnection-test.c11 SoupURI *base_uri; variable
184 request_uri = soup_uri_new_with_base (base_uri, "/content-length/long"); in do_content_length_framing_test()
199 request_uri = soup_uri_new_with_base (base_uri, "/content-length/noclose"); in do_content_length_framing_test()
251 timeout_uri = soup_uri_new_with_base (base_uri, "/timeout-persistent"); in do_timeout_test_for_session()
270 msg = soup_message_new_from_uri ("GET", base_uri); in do_timeout_test_for_session()
304 timeout_uri = soup_uri_new_with_base (base_uri, "/timeout-persistent"); in do_timeout_req_test_for_session()
340 req = soup_session_request_uri (session, base_uri, NULL); in do_timeout_req_test_for_session()
429 timeout_uri = soup_uri_new_with_base (base_uri, "/timeout-persistent"); in do_persistent_connection_timeout_test_with_cancellation()
459 msg = soup_message_new_from_uri ("GET", base_uri); in do_persistent_connection_timeout_test_with_cancellation()
548 msgs[i] = soup_message_new_from_uri ("GET", base_uri); in do_max_conns_test_for_session()
[all …]
Dchunk-test.c9 static SoupURI *base_uri; variable
153 uri = soup_uri_new_with_base (base_uri, "/redirect"); in do_request_test()
155 uri = soup_uri_copy (base_uri); in do_request_test()
262 msg = soup_message_new_from_uri ("GET", base_uri); in do_response_test()
320 msg = soup_message_new_from_uri ("PUT", base_uri); in do_temporary_test()
369 msg = soup_message_new_from_uri ("PUT", base_uri); in do_large_chunk_test()
441 base_uri = soup_test_server_get_uri (server, "http", NULL); in main()
457 soup_uri_free (base_uri); in main()
Duri-parsing-test.c274 do_uri (SoupURI *base_uri, const char *base_str, in do_uri() argument
281 if (base_uri) { in do_uri()
284 uri = soup_uri_new_with_base (base_uri, in_uri); in do_uri()
330 SoupURI *base_uri; in do_relative_uri_tests() local
334 base_uri = soup_uri_new (base); in do_relative_uri_tests()
335 if (!base_uri) { in do_relative_uri_tests()
340 uri_string = soup_uri_to_string (base_uri, FALSE); in do_relative_uri_tests()
345 do_uri (base_uri, base, rel_tests[i].uri_string, in do_relative_uri_tests()
348 soup_uri_free (base_uri); in do_relative_uri_tests()
Dforms-test.c423 SoupURI *base_uri, *uri; in main() local
433 base_uri = soup_test_server_get_uri (server, "http", NULL); in main()
438 uri = soup_uri_new_with_base (base_uri, "/hello"); in main()
442 uri = soup_uri_new_with_base (base_uri, "/md5"); in main()
451 g_print ("Listening on port %d\n", base_uri->port); in main()
458 soup_uri_free (base_uri); in main()
Dproxy-test.c265 SoupURI *base_uri = (SoupURI *)data; in do_proxy_fragment_test() local
278 req_uri = soup_uri_new_with_base (base_uri, "/#foo"); in do_proxy_fragment_test()
407 SoupURI *base_uri; in main() local
421 base_uri = soup_test_server_get_uri (server, "http", NULL); in main()
434 g_test_add_data_func ("/proxy/fragment", base_uri, do_proxy_fragment_test); in main()
440 soup_uri_free (base_uri); in main()
Dauth-test.c5 static const char *base_uri; variable
305 uri = g_strconcat (base_uri, "Basic/realm1/", NULL); in do_pipelined_auth_test()
464 uri = g_strconcat (base_uri, "Digest/realm1/", NULL); in do_digest_expiration_test()
468 uri = g_strconcat (base_uri, "Digest/realm1/expire/", NULL); in do_digest_expiration_test()
567 uri = g_strconcat (base_uri, "Basic/realm1/", NULL); in do_async_auth_good_password_test()
654 uri = g_strconcat (base_uri, "Basic/realm1/", NULL); in do_async_auth_bad_password_test()
707 uri = g_strconcat (base_uri, "Basic/realm1/", NULL); in do_async_auth_no_password_test()
1085 uri = g_strconcat (base_uri, "Basic/realm1/", NULL); in do_infinite_auth_test()
1223 base = soup_uri_new (base_uri); in do_batch_tests()
1290 uri = g_strconcat (base_uri, "Digest/realm1/", NULL); in do_clear_credentials_test()
[all …]
Dredirect-test.c8 SoupURI *base_uri; variable
169 uri = soup_uri_new_with_base (base_uri, test->requests[0].path); in do_message_api_test()
206 uri = soup_uri_new_with_base (base_uri, test->requests[0].path); in do_request_api_test()
407 base_uri = soup_test_server_get_uri (server, "http", NULL); in main()
453 soup_uri_free (base_uri); in main()
Dsniffing-test.c9 SoupURI *base_uri; variable
205 SoupURI *uri = soup_uri_new_with_base (base_uri, "/mbox"); in do_signals_test()
349 uri = soup_uri_new_with_base (base_uri, path); in test_sniffing()
403 uri = soup_uri_new_with_base (base_uri, path); in test_disabled()
449 base_uri = soup_test_server_get_uri (server, "http", NULL); in main()
615 soup_uri_free (base_uri); in main()
Drequester-test.c322 do_test_for_thread_and_context (SoupSession *session, SoupURI *base_uri) in do_test_for_thread_and_context() argument
335 do_async_test (session, base_uri, test_sent, in do_test_for_thread_and_context()
340 uri = soup_uri_new_with_base (base_uri, "/chunked"); in do_test_for_thread_and_context()
347 uri = soup_uri_new_with_base (base_uri, "/auth"); in do_test_for_thread_and_context()
354 uri = soup_uri_new_with_base (base_uri, "/non-persistent"); in do_test_for_thread_and_context()
361 uri = soup_uri_new_with_base (base_uri, "/"); in do_test_for_thread_and_context()
368 uri = soup_uri_new_with_base (base_uri, "/"); in do_test_for_thread_and_context()
556 do_sync_tests_for_session (SoupSession *session, SoupURI *base_uri) in do_sync_tests_for_session() argument
564 uri = soup_uri_copy (base_uri); in do_sync_tests_for_session()
Dcontinue-test.c13 static SoupURI *base_uri; variable
63 uri = soup_uri_copy (base_uri); in EVENT_HANDLER()
487 base_uri = soup_test_server_get_uri (server, "http", NULL); in main()
505 soup_uri_free (base_uri); in main()
/third_party/node/deps/npm/node_modules/oauth-sign/
Dindex.js44 function generateBase (httpMethod, base_uri, params) { argument
72 rfc3986(base_uri),
79 function hmacsign (httpMethod, base_uri, params, consumer_secret, token_secret) { argument
80 var base = generateBase(httpMethod, base_uri, params)
89 function hmacsign256 (httpMethod, base_uri, params, consumer_secret, token_secret) { argument
90 var base = generateBase(httpMethod, base_uri, params)
99 function rsasign (httpMethod, base_uri, params, private_key, token_secret) { argument
100 var base = generateBase(httpMethod, base_uri, params)
115 function sign (signMethod, httpMethod, base_uri, params, consumer_secret, token_secret) { argument
/third_party/nghttp2/src/
DHtmlParser.cc33 ParserData::ParserData(const std::string &base_uri) in ParserData() argument
34 : base_uri(base_uri), inside_head(0) {} in ParserData()
36 HtmlParser::HtmlParser(const std::string &base_uri) in HtmlParser() argument
37 : base_uri_(base_uri), parser_ctx_(nullptr), parser_data_(base_uri) {} in HtmlParser()
78 reinterpret_cast<const xmlChar *>(parser_data->base_uri.c_str())); in add_link()
DHtmlParser.h50 std::string base_uri; member
54 ParserData(const std::string &base_uri);
61 HtmlParser(const std::string &base_uri);
79 HtmlParser(const std::string &base_uri) {} in HtmlParser() argument
/third_party/glib/glib/
Dguri.c1405 g_uri_parse_relative (GUri *base_uri, in g_uri_parse_relative() argument
1414 g_return_val_if_fail (base_uri == NULL || base_uri->scheme != NULL, NULL); in g_uri_parse_relative()
1432 if (!uri->scheme && !base_uri) in g_uri_parse_relative()
1440 if (base_uri) in g_uri_parse_relative()
1451 uri->scheme = g_strdup (base_uri->scheme); in g_uri_parse_relative()
1459 uri->path = g_strdup (base_uri->path); in g_uri_parse_relative()
1461 uri->query = g_strdup (base_uri->query); in g_uri_parse_relative()
1471 last = strrchr (base_uri->path, '/'); in g_uri_parse_relative()
1475 (gint)(last - base_uri->path), in g_uri_parse_relative()
1476 base_uri->path, in g_uri_parse_relative()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/hls/
Dm3u8.c61 gst_m3u8_take_uri (GstM3U8 * self, gchar * uri, gchar * base_uri, gchar * name) in gst_m3u8_take_uri() argument
69 if (self->base_uri != base_uri) { in gst_m3u8_take_uri()
70 g_free (self->base_uri); in gst_m3u8_take_uri()
71 self->base_uri = base_uri; in gst_m3u8_take_uri()
80 gst_m3u8_set_uri (GstM3U8 * m3u8, const gchar * uri, const gchar * base_uri, in gst_m3u8_set_uri() argument
84 gst_m3u8_take_uri (m3u8, g_strdup (uri), g_strdup (base_uri), in gst_m3u8_set_uri()
105 g_free (self->base_uri); in gst_m3u8_unref()
558 data = uri_join (self->base_uri ? self->base_uri : self->uri, data); in gst_m3u8_update()
666 uri_join (self->base_uri ? self->base_uri : self->uri, v); in gst_m3u8_update()
721 uri_join (self->base_uri ? self->base_uri : self->uri, v); in gst_m3u8_update()
[all …]
Dm3u8.h56 gchar *base_uri; /* URI to use as base for resolving relative URIs. member
124 const gchar * base_uri,
233 const gchar * base_uri);
/third_party/gstreamer/gstreamer/gst/
Dgsturi.c1839 gst_uri_join (GstUri * base_uri, GstUri * ref_uri) in gst_uri_join() argument
1844 g_return_val_if_fail ((base_uri == NULL || GST_IS_URI (base_uri)) && in gst_uri_join()
1847 if (base_uri == NULL && ref_uri == NULL) in gst_uri_join()
1849 if (base_uri == NULL) { in gst_uri_join()
1854 g_return_val_if_fail (GST_IS_URI (base_uri), NULL); in gst_uri_join()
1855 return gst_uri_ref (base_uri); in gst_uri_join()
1858 g_return_val_if_fail (GST_IS_URI (base_uri) && GST_IS_URI (ref_uri), NULL); in gst_uri_join()
1867 if (r_scheme != NULL && g_strcmp0 (base_uri->scheme, r_scheme) == 0) { in gst_uri_join()
1886 t->path = g_list_copy_deep (base_uri->path, (GCopyFunc) g_strdup, NULL); in gst_uri_join()
1890 t->query = _gst_uri_copy_query_table (base_uri->query); in gst_uri_join()
[all …]

12