Home
last modified time | relevance | path

Searched refs:uri_string (Results 1 – 25 of 27) sorted by relevance

12

/third_party/libsoup/libsoup/
Dsoup-uri.c236 soup_uri_new_with_base (SoupURI *base, const char *uri_string) in soup_uri_new_with_base() argument
244 g_return_val_if_fail (uri_string != NULL, NULL); in soup_uri_new_with_base()
261 while (g_ascii_isspace (*uri_string)) in soup_uri_new_with_base()
262 uri_string++; in soup_uri_new_with_base()
264 len = strcspn (uri_string, "\t\n\r"); in soup_uri_new_with_base()
265 if (uri_string[len]) { in soup_uri_new_with_base()
266 char *clean = g_malloc (strlen (uri_string) + 1), *d; in soup_uri_new_with_base()
269 for (s = uri_string, d = clean; *s; s++) { in soup_uri_new_with_base()
279 end = uri_string + len; in soup_uri_new_with_base()
280 while (end > uri_string && g_ascii_isspace (end[-1])) in soup_uri_new_with_base()
[all …]
Dsoup-proxy-resolver-default.c186 char *uri_string; in get_proxy_uri_async() local
194 uri_string = soup_uri_to_string (uri, FALSE); in get_proxy_uri_async()
200 uri_string, in get_proxy_uri_async()
208 g_free (uri_string); in get_proxy_uri_async()
221 char *uri_string; in get_proxy_uri_sync() local
224 uri_string = soup_uri_to_string (uri, FALSE); in get_proxy_uri_sync()
227 uri_string, in get_proxy_uri_sync()
231 g_free (uri_string); in get_proxy_uri_sync()
Dsoup-message-client-io.c76 char *uri_string; in get_request_headers() local
89 uri_string = g_strdup_printf ("%s:%d", uri_host, uri->port); in get_request_headers()
96 uri_string = soup_uri_to_string (uri, !proxy); in get_request_headers()
100 char *fragment = strchr (uri_string, '#'); in get_request_headers()
107 msg->method, uri_string, in get_request_headers()
119 g_free (uri_string); in get_request_headers()
Dsoup-request.c149 char *uri_string = soup_uri_to_string (request->priv->uri, FALSE); in soup_request_initable_init() local
153 uri_string); in soup_request_initable_init()
154 g_free (uri_string); in soup_request_initable_init()
Dsoup-uri.h51 const char *uri_string);
53 SoupURI *soup_uri_new (const char *uri_string);
Dsoup-requester.c151 soup_requester_request (SoupRequester *requester, const char *uri_string, in soup_requester_request() argument
159 uri_string, error); in soup_requester_request()
Dsoup-session.h191 const char *uri_string,
200 const char *uri_string,
Dsoup-requester.h61 const char *uri_string,
Dsoup-form.c358 soup_form_request_for_data (const char *method, const char *uri_string, in soup_form_request_for_data() argument
364 uri = soup_uri_new (uri_string); in soup_form_request_for_data()
Dsoup-address.c1270 char *uri_string; in soup_address_connectable_proxy_enumerate() local
1280 uri_string = soup_uri_to_string_internal (uri, FALSE, FALSE, TRUE); in soup_address_connectable_proxy_enumerate()
1284 "uri", uri_string, in soup_address_connectable_proxy_enumerate()
1286 g_free (uri_string); in soup_address_connectable_proxy_enumerate()
Dsoup-message.h86 const char *uri_string);
/third_party/libsoup/tests/
Duri-parsing-test.c6 const char *uri_string, *result, *bugref; member
165 const char *uri_string, *result; member
279 char *uri_string; in do_uri() local
307 uri_string = soup_uri_to_string (uri, FALSE); in do_uri()
310 g_assert_cmpstr (uri_string, ==, out_uri); in do_uri()
311 g_free (uri_string); in do_uri()
322 do_uri (NULL, NULL, abs_tests[i].uri_string, in do_absolute_uri_tests()
331 char *uri_string; in do_relative_uri_tests() local
340 uri_string = soup_uri_to_string (base_uri, FALSE); in do_relative_uri_tests()
341 g_assert_cmpstr (uri_string, ==, base); in do_relative_uri_tests()
[all …]
Dresource-test.c130 do_request (const char *uri_string, gconstpointer type) in do_request() argument
140 request = soup_session_request (session, uri_string, &error); in do_request()
156 char *uri_string; in do_request_file_test() local
159 uri_string = g_file_get_uri (index); in do_request_file_test()
162 do_request (uri_string, type); in do_request_file_test()
163 g_free (uri_string); in do_request_file_test()
170 char *uri_string; in do_request_data_test() local
173 uri_string = g_strdup_printf ("data:text/plain;charset=utf8;base64,%s", base64); in do_request_data_test()
176 do_request (uri_string, type); in do_request_data_test()
177 g_free (uri_string); in do_request_data_test()
Dhsts-db-test.c23 char *uri_string; in server_callback() local
26 uri_string = soup_uri_to_string (uri, FALSE); in server_callback()
28 soup_message_set_redirect (msg, SOUP_STATUS_MOVED_PERMANENTLY, uri_string); in server_callback()
30 g_free (uri_string); in server_callback()
Dhsts-test.c29 char *uri_string; in server_callback() local
32 uri_string = soup_uri_to_string (uri, FALSE); in server_callback()
33 soup_message_set_redirect (msg, SOUP_STATUS_MOVED_PERMANENTLY, uri_string); in server_callback()
35 g_free (uri_string); in server_callback()
Drequester-test.c657 char *uri_string, buf[256]; in do_null_char_request() local
660 uri_string = g_strdup_printf ("data:text/html,%s", encoded_data); in do_null_char_request()
661 uri = soup_uri_new (uri_string); in do_null_char_request()
662 g_free (uri_string); in do_null_char_request()
/third_party/glib/fuzzing/
Dfuzz_uri_parse.c8 gchar *uri_string = NULL; in test_with_flags() local
15 uri_string = g_uri_to_string (uri); in test_with_flags()
18 if (uri_string == NULL) in test_with_flags()
21 g_free (uri_string); in test_with_flags()
/third_party/glib/glib/
Dguri.c733 uri_cleanup (const gchar *uri_string) in uri_cleanup() argument
739 while (g_ascii_isspace (*uri_string)) in uri_cleanup()
740 uri_string++; in uri_cleanup()
743 end = uri_string + strlen (uri_string); in uri_cleanup()
744 while (end > uri_string && g_ascii_isspace (*(end - 1))) in uri_cleanup()
748 copy = g_string_sized_new (end - uri_string); in uri_cleanup()
749 while (uri_string < end) in uri_cleanup()
751 if (*uri_string == ' ') in uri_cleanup()
753 else if (g_ascii_isspace (*uri_string)) in uri_cleanup()
756 g_string_append_c (copy, *uri_string); in uri_cleanup()
[all …]
Dguri.h118 gboolean g_uri_split_network (const gchar *uri_string,
126 gboolean g_uri_is_valid (const gchar *uri_string,
152 GUri * g_uri_parse (const gchar *uri_string,
/third_party/libsoup/examples/
Dget.c64 char *uri_string; in get_url() local
70 uri_string = soup_uri_to_string (uri, FALSE); in get_url()
71 get_url (uri_string); in get_url()
72 g_free (uri_string); in get_url()
/third_party/gstreamer/gstplugins_good/ext/soup/
Dgstsouploader.c367 gst_soup_uri_new (const char *uri_string) in gst_soup_uri_new() argument
372 uri->soup_uri = soup_uri_new (uri_string); in gst_soup_uri_new()
374 uri->uri = g_uri_parse (uri_string, SOUP_HTTP_URI_FLAGS, NULL); in gst_soup_uri_new()
379 uri->soup_uri = gst_soup_vtable._soup_uri_new_2 (uri_string); in gst_soup_uri_new()
382 uri->uri = g_uri_parse (uri_string, SOUP_HTTP_URI_FLAGS, NULL); in gst_soup_uri_new()
594 _soup_message_new (const char *method, const char *uri_string) in _soup_message_new() argument
597 return soup_message_new (method, uri_string); in _soup_message_new()
600 return gst_soup_vtable._soup_message_new (method, uri_string); in _soup_message_new()
Dgstsouploader.h52 GstSoupUri *gst_soup_uri_new (const char *uri_string);
72 SoupMessage *_soup_message_new (const char *method, const char *uri_string);
/third_party/grpc/test/core/client_channel/resolvers/
Dfake_resolver_test.cc94 std::string uri_string = absl::StrFormat("ipv4:127.0.0.1:100%" PRIuPTR, in create_new_resolver_result() local
96 grpc_uri* uri = grpc_uri_parse(uri_string.c_str(), true); in create_new_resolver_result()
/third_party/glib/glib/tests/
Duri.c1803 const gchar *uri_string; member
1956 char *uri_string; in test_uri_normalize() local
1969 uri_string = g_uri_to_string (uri); in test_uri_normalize()
1974 g_assert_cmpstr (uri_string, ==, normalize_parse_tests[i].uri_string); in test_uri_normalize()
1976 g_free (uri_string); in test_uri_normalize()
2004 uri_string = g_uri_join (normalize_join_tests[i].flags, normalize_join_tests[i].scheme, NULL, in test_uri_normalize()
2007 g_assert_cmpstr (uri_string, ==, normalize_join_tests[i].uri); in test_uri_normalize()
2008 g_free (uri_string); in test_uri_normalize()
/third_party/gstreamer/gstplugins_bad/ext/dash/
Dgstmpdclient.c199 gchar *uri_string; in gst_mpd_client_fetch_external_segment_list() local
248 uri_string = gst_uri_to_string (uri); in gst_mpd_client_fetch_external_segment_list()
254 uri_string, client->mpd_uri, TRUE, FALSE, TRUE, &err); in gst_mpd_client_fetch_external_segment_list()
255 g_free (uri_string); in gst_mpd_client_fetch_external_segment_list()
1132 gchar *uri_string, *wrapper; in gst_mpd_client_fetch_external_periods() local
1163 uri_string = gst_uri_to_string (uri); in gst_mpd_client_fetch_external_periods()
1169 uri_string, client->mpd_uri, TRUE, FALSE, TRUE, &err); in gst_mpd_client_fetch_external_periods()
1170 g_free (uri_string); in gst_mpd_client_fetch_external_periods()
1464 gchar *uri_string; in gst_mpd_client_fetch_external_adaptation_set() local
1498 uri_string = gst_uri_to_string (uri); in gst_mpd_client_fetch_external_adaptation_set()
[all …]

12