Home
last modified time | relevance | path

Searched refs:g_str_has_suffix (Results 1 – 25 of 74) sorted by relevance

123

/third_party/glib/gio/
Dgosxcontenttype.m375 if (g_str_has_suffix (mime_type, "*"))
392 if (g_str_has_suffix (mime_type, "x-icns"))
394 if (g_str_has_suffix (mime_type, "x-tga"))
396 if (g_str_has_suffix (mime_type, "x-ico"))
405 if (g_str_has_suffix (mime_type, "directory"))
407 if (g_str_has_suffix (mime_type, "symlink"))
441 if (g_str_has_suffix (type, ".image"))
443 if (g_str_has_suffix (type, ".movie"))
445 if (g_str_has_suffix (type, ".text"))
447 if (g_str_has_suffix (type, ".audio"))
[all …]
Dgio-querymodules.c37 g_str_has_suffix (basename, ".so"); in is_valid_module_name()
39 return g_str_has_suffix (basename, ".dll"); in is_valid_module_name()
Dgiowin32-private.c302 g_str_has_suffix (ex_folded, "\\rundll32.exe") || in _g_win32_extract_executable()
303 g_str_has_suffix (ex_folded, "/rundll32.exe")) && in _g_win32_extract_executable()
Dglib-compile-resources.c824 if (g_str_has_suffix (base, ".xml")) in main()
829 if (g_str_has_suffix (base, ".gresource")) in main()
835 if (g_str_has_suffix (base, ".gresource")) in main()
841 if (g_str_has_suffix (base, ".gresource")) in main()
Dglib-compile-schemas.c1221 if (path && !(g_str_has_prefix (path, "/") && g_str_has_suffix (path, "/"))) in parse_state_start_schema()
1228 if (path && list_of && !g_str_has_suffix (path, ":/")) in parse_state_start_schema()
1874 cmp = g_str_has_suffix (two, ".enums.xml") - in compare_strings()
1875 g_str_has_suffix (one, ".enums.xml"); in compare_strings()
2257 if (g_str_has_suffix (file, ".gschema.xml") || in main()
2258 g_str_has_suffix (file, ".enums.xml")) in main()
2261 else if (g_str_has_suffix (file, ".gschema.override")) in main()
Dgthemedicon.c274 is_symbolic = g_str_has_suffix (themed->init_names[i], "-symbolic"); in g_themed_icon_update_names()
330 is_symbolic = g_str_has_suffix (name, "-symbolic"); in g_themed_icon_update_names()
Dghttpproxy.c275 if (g_str_has_suffix (buffer, HTTP_END_MARKER)) in g_http_proxy_connect()
Dgsettingsschema.c1072 if (g_str_has_suffix (key, "/")) in g_settings_schema_list_children()
1117 if (!g_str_has_suffix (key, "/")) in g_settings_schema_list_keys()
1161 if (g_str_has_suffix (name, "/")) in g_settings_schema_list()
/third_party/glib/glib/tests/
Dstrfuncs.c1255 res = g_str_has_suffix ("foo", NULL); in test_has_suffix()
1261 res = g_str_has_suffix (NULL, "foo"); in test_has_suffix()
1266 res = g_str_has_suffix ("foo", "bar"); in test_has_suffix()
1269 res = g_str_has_suffix ("bar", "foobar"); in test_has_suffix()
1272 res = g_str_has_suffix ("foobar", "foo"); in test_has_suffix()
1275 res = g_str_has_suffix ("foobar", "bar"); in test_has_suffix()
1278 res = g_str_has_suffix ("foo", ""); in test_has_suffix()
1281 res = g_str_has_suffix ("foo", "foo"); in test_has_suffix()
1284 res = g_str_has_suffix ("", ""); in test_has_suffix()
1832 g_str_has_suffix (string, "but maybe this will..."); in test_bounds()
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dsouphttpsrc.c210 if (g_str_has_suffix (err->message, "Not Found")) in run_test()
212 else if (g_str_has_suffix (err->message, "Forbidden")) in run_test()
214 else if (g_str_has_suffix (err->message, "Unauthorized")) in run_test()
216 else if (g_str_has_suffix (err->message, "Found")) in run_test()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dhls_demux.c93 if (g_str_has_suffix (inputTestData[itd].uri, ".ts")) { in setup_test_variables()
154 if (g_str_has_suffix (input->uri, ".m3u8")) { in gst_hlsdemux_test_set_input_data()
157 } else if (g_str_has_suffix (input->uri, ".ts")) { in gst_hlsdemux_test_set_input_data()
246 if (g_str_has_suffix (input->uri, failure_suffix) in gst_hlsdemux_test_network_error_src_create()
Dcurlhttpsrc.c465 if (g_str_has_suffix (err->message, "Not Found")) in run_test()
467 else if (g_str_has_suffix (err->message, "Forbidden")) in run_test()
469 else if (g_str_has_suffix (err->message, "Unauthorized")) in run_test()
471 else if (g_str_has_suffix (err->message, "Found")) in run_test()
/third_party/gstreamer/gstplugins_bad/ext/ladspa/
Dgstladspa.c307 if (!g_str_has_suffix (entry_name, "." G_MODULE_SUFFIX) in ladspa_plugin_directory_search()
309 && !g_str_has_suffix (entry_name, GST_EXTRA_MODULE_SUFFIX) in ladspa_plugin_directory_search()
/third_party/libsoup/libsoup/
Dsoup-misc.c269 return g_str_has_suffix (compare_with, host); in soup_host_matches_host()
/third_party/gstreamer/gstreamer/gst/
Dgstregistry.c1236 if (g_str_has_suffix (target + 7, "/debug") in skip_directory()
1238 || g_str_has_suffix (target + 7, "\\debug") in skip_directory()
1239 || g_str_has_suffix (target + 7, "\\release") in skip_directory()
1241 || g_str_has_suffix (target + 7, "/release")) { in skip_directory()
1318 if (!g_str_has_suffix (dirent, "." G_MODULE_SUFFIX) in gst_registry_scan_path_level()
1320 && !g_str_has_suffix (dirent, GST_EXTRA_MODULE_SUFFIX) in gst_registry_scan_path_level()
Dgsttracerrecord.c106 g_return_if_fail (g_str_has_suffix (name, ".class")); in gst_tracer_record_build_format()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dpbutils.c701 fail_unless (g_str_has_suffix (detail1, "|urisource-http")); in GST_START_TEST()
715 fail_unless (g_str_has_suffix (detail1, "|urisink-http")); in GST_START_TEST()
729 fail_unless (g_str_has_suffix (detail1, "|element-deinterlace")); in GST_START_TEST()
745 fail_unless (g_str_has_suffix (detail1, in GST_START_TEST()
762 fail_unless (g_str_has_suffix (detail1, in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavpp.c2229 if (g_str_has_suffix (channel->label, "HUE")) in gst_va_vpp_colorbalance_set_value()
2231 else if (g_str_has_suffix (channel->label, "BRIGHTNESS")) in gst_va_vpp_colorbalance_set_value()
2233 else if (g_str_has_suffix (channel->label, "CONTRAST")) in gst_va_vpp_colorbalance_set_value()
2235 else if (g_str_has_suffix (channel->label, "SATURATION")) in gst_va_vpp_colorbalance_set_value()
2270 if (g_str_has_suffix (channel->label, "HUE")) in gst_va_vpp_colorbalance_get_value()
2272 else if (g_str_has_suffix (channel->label, "BRIGHTNESS")) in gst_va_vpp_colorbalance_get_value()
2274 else if (g_str_has_suffix (channel->label, "CONTRAST")) in gst_va_vpp_colorbalance_get_value()
2276 else if (g_str_has_suffix (channel->label, "SATURATION")) in gst_va_vpp_colorbalance_get_value()
/third_party/glib/gio/tests/
Dgdbus-connection-slow.c175 g_assert (g_str_has_suffix (reply, "6789'. Thanks!")); in large_message_on_name_appeared()
Dg-file-info.c389 g_assert_true (g_str_has_suffix (allusers_target, "ProgramData")); in test_internal_enhanced_stdio()
393 g_assert_true (g_str_has_suffix (commondata_target, "ProgramData")); in test_internal_enhanced_stdio()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dbrowser.c81 if (g_str_has_suffix(uri, "/favicon.ico")) in view_cb_resource_request_starting()
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dgstrfuncs.in.h137 gboolean g_str_has_suffix (const gchar *str,
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dplay.c303 fail_unless (g_str_has_suffix (new_state->uri_loaded, in test_play_audio_video_eos_cb()
306 fail_unless (g_str_has_suffix (new_state->uri_loaded, in test_play_audio_video_eos_cb()
1285 fail_unless (g_str_has_suffix (new_state->uri_loaded, "audio-short.ogg")); in test_play_error_invalid_uri_and_play_cb()
1498 fail_unless (g_str_has_suffix (new_state->uri_loaded, "sintel.mkv")); in test_restart_cb()
1515 fail_unless (g_str_has_suffix (new_state->uri_loaded, "audio-short.ogg")); in test_restart_cb2()
/third_party/gstreamer/gstplugins_bad/gst/frei0r/
Dgstfrei0r.c638 if ((g_str_has_suffix (filename, G_MODULE_SUFFIX) in register_plugins()
640 || g_str_has_suffix (filename, GST_EXTRA_MODULE_SUFFIX) in register_plugins()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtspurl.c355 has_slash = g_str_has_suffix (url->abspath, "/"); in gst_rtsp_url_get_request_uri_with_control()

123