Home
last modified time | relevance | path

Searched refs:sniffed_type (Results 1 – 4 of 4) sorted by relevance

/third_party/libsoup/libsoup/
Dsoup-content-sniffer.c84 const char *sniffed_type; member
111 return g_strdup (type_row->sniffed_type); in sniff_media()
260 char *sniffed_type; in sniff_audio_video() local
262 sniffed_type = sniff_media (sniffer, in sniff_audio_video()
267 if (sniffed_type != NULL) in sniff_audio_video()
268 return sniffed_type; in sniff_audio_video()
289 const char *sniffed_type; member
491 char *sniffed_type = NULL; in sniff_unknown() local
538 return g_strdup (type_row->sniffed_type); in sniff_unknown()
553 return g_strdup (type_row->sniffed_type); in sniff_unknown()
[all …]
Dsoup-request-http.c172 GString *sniffed_type; in content_sniffed() local
174 sniffed_type = g_string_new (content_type); in content_sniffed()
181 g_string_append (sniffed_type, "; "); in content_sniffed()
182 soup_header_g_string_append_param (sniffed_type, key, value); in content_sniffed()
186 http->priv->content_type = g_string_free (sniffed_type, FALSE); in content_sniffed()
Dsoup-content-sniffer-stream.c33 char *sniffed_type; member
53 g_free (sniffer->priv->sniffed_type); in G_DEFINE_TYPE_WITH_CODE()
136 priv->sniffed_type = in read_and_sniff()
356 return sniffer->priv->sniffed_type; in soup_content_sniffer_stream_sniff()
/third_party/libsoup/tests/
Dsniffing-test.c319 char **sniffed_type = (char **)data; in sniffing_content_sniffed() local
335 *sniffed_type = g_string_free (full_header, FALSE); in sniffing_content_sniffed()
345 char *sniffed_type = NULL; in test_sniffing() local
353 G_CALLBACK (sniffing_content_sniffed), &sniffed_type); in test_sniffing()
356 g_assert_cmpstr (sniffed_type, ==, expected_type); in test_sniffing()
357 g_free (sniffed_type); in test_sniffing()
397 char *sniffed_type = NULL; in test_disabled() local
411 G_CALLBACK (sniffing_content_sniffed), &sniffed_type); in test_disabled()
415 g_assert_null (sniffed_type); in test_disabled()