Home
last modified time | relevance | path

Searched refs:g_str_has_prefix (Results 1 – 25 of 168) sorted by relevance

1234567

/third_party/glib/gio/
Dgiomodule-priv.c52 if (g_str_has_prefix (bname, "libgio")) in _g_io_module_extract_name()
55 else if (g_str_has_prefix (bname, "lib") || g_str_has_prefix (bname, "gio")) in _g_io_module_extract_name()
Dgunixmounts.c282 if (g_str_has_prefix (mount_path, "/dev/") || in g_unix_is_mount_path_system_internal()
283 g_str_has_prefix (mount_path, "/proc/") || in g_unix_is_mount_path_system_internal()
284 g_str_has_prefix (mount_path, "/sys/")) in g_unix_is_mount_path_system_internal()
1523 if (monitor_file && !g_str_has_prefix (monitor_file, "/proc/")) in get_mounts_timestamp()
1966 if (g_str_has_prefix (mtab_path, "/proc/")) in mount_monitor_start()
2596 else if (g_str_has_prefix (device_path, "/vol/dev/diskette/") || in guess_mount_type()
2597 g_str_has_prefix (device_path, "/dev/fd") || in guess_mount_type()
2598 g_str_has_prefix (device_path, "/dev/floppy")) in guess_mount_type()
2600 else if (g_str_has_prefix (device_path, "/dev/cdrom") || in guess_mount_type()
2601 g_str_has_prefix (device_path, "/dev/acd") || in guess_mount_type()
[all …]
Dgosxcontenttype.m186 if (g_str_has_prefix (type, "dyn."))
377 if (g_str_has_prefix (mime_type, "audio"))
379 if (g_str_has_prefix (mime_type, "image"))
381 if (g_str_has_prefix (mime_type, "text"))
383 if (g_str_has_prefix (mime_type, "video"))
390 if (g_str_has_prefix (mime_type, "image"))
403 if (g_str_has_prefix (mime_type, "inode"))
439 if (g_str_has_prefix (type, "public"))
564 if (g_str_has_prefix ((const gchar*)data, "#!/"))
Dgdbuserror.c232 if (g_str_has_prefix (dbus_name, "org.gtk.GDBus.UnmappedGError.Quark._")) in _g_dbus_error_decode_gerror()
277 if (!g_str_has_prefix (dbus_name + n, ".Code")) in _g_dbus_error_decode_gerror()
500 return g_str_has_prefix (error->message, "GDBus.Error:"); in g_dbus_error_is_remote_error()
551 if (g_str_has_prefix (error->message, "GDBus.Error:")) in g_dbus_error_get_remote_error()
777 if (g_str_has_prefix (error->message, "GDBus.Error:")) in g_dbus_error_strip_remote_error()
Dgdbusauth.c650 if (!g_str_has_prefix (line, "REJECTED ")) in _g_dbus_auth_run_client()
690 if (g_str_has_prefix (line, "OK ")) in _g_dbus_auth_run_client()
723 else if (g_str_has_prefix (line, "REJECTED ")) in _g_dbus_auth_run_client()
757 else if (g_str_has_prefix (line, "ERROR") && (line[5] == 0 || g_ascii_isspace (line[5]))) in _g_dbus_auth_run_client()
787 if (g_str_has_prefix (line, "DATA ")) in _g_dbus_auth_run_client()
827 else if (g_str_has_prefix (line, "REJECTED ")) in _g_dbus_auth_run_client()
1070 else if (g_str_has_prefix (line, "AUTH ")) in _g_dbus_auth_run_server()
1267 if (g_str_has_prefix (line, "DATA ")) in _g_dbus_auth_run_server()
Dgunixvolume.c113 g_str_has_prefix (g_unix_mount_point_get_device_path (mountpoint), "/vol/")) || in _g_unix_volume_new()
133 else if (g_str_has_prefix (volume->device_path, "LABEL=")) in _g_unix_volume_new()
138 else if (g_str_has_prefix (volume->device_path, "UUID=")) in _g_unix_volume_new()
/third_party/libsoup/libsoup/
Dsoup-content-sniffer.c243 if (!g_str_has_prefix (resource + 4, "ftyp")) in sniff_mp4()
246 if (!g_str_has_prefix (resource + 8, "mp4")) in sniff_mp4()
250 if (g_str_has_prefix (resource + i, "mp4")) in sniff_mp4()
660 if (g_str_has_prefix (resource + pos, "!--")) { in sniff_feed_or_html()
666 while (!g_str_has_prefix (resource + pos, "-->")) { in sniff_feed_or_html()
698 } while (!g_str_has_prefix (resource + pos, "?>")); in sniff_feed_or_html()
708 if (g_str_has_prefix (resource + pos, "rss")) in sniff_feed_or_html()
714 if (g_str_has_prefix (resource + pos, "feed")) in sniff_feed_or_html()
720 if (g_str_has_prefix (resource + pos, "rdf:RDF")) { in sniff_feed_or_html()
729 if (g_str_has_prefix (resource + pos, "xmlns=\"http://purl.org/rss/1.0/\"")) { in sniff_feed_or_html()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtsptransport.c515 } else if (g_str_has_prefix (split[i], "destination=")) { in gst_rtsp_transport_parse()
518 } else if (g_str_has_prefix (split[i], "source=")) { in gst_rtsp_transport_parse()
521 } else if (g_str_has_prefix (split[i], "layers=")) { in gst_rtsp_transport_parse()
524 } else if (g_str_has_prefix (split[i], "mode=")) { in gst_rtsp_transport_parse()
532 } else if (g_str_has_prefix (split[i], "interleaved=")) { in gst_rtsp_transport_parse()
537 } else if (g_str_has_prefix (split[i], "ttl=")) { in gst_rtsp_transport_parse()
542 } else if (g_str_has_prefix (split[i], "port=")) { in gst_rtsp_transport_parse()
548 } else if (g_str_has_prefix (split[i], "client_port=")) { in gst_rtsp_transport_parse()
554 } else if (g_str_has_prefix (split[i], "server_port=")) { in gst_rtsp_transport_parse()
560 } else if (g_str_has_prefix (split[i], "ssrc=")) { in gst_rtsp_transport_parse()
Dgstrtsprange.c280 if (g_str_has_prefix (p, "npt=")) { in gst_rtsp_range_parse()
282 } else if (g_str_has_prefix (p, "clock=")) { in gst_rtsp_range_parse()
284 } else if (g_str_has_prefix (p, "smpte=")) { in gst_rtsp_range_parse()
287 } else if (g_str_has_prefix (p, "smpte-30-drop=")) { in gst_rtsp_range_parse()
290 } else if (g_str_has_prefix (p, "smpte-25=")) { in gst_rtsp_range_parse()
/third_party/gstreamer/gstplugins_bad/ext/hls/
Dm3u8.c475 if (!g_str_has_prefix (data, "#EXTM3U")) { in gst_m3u8_update()
566 } else if (g_str_has_prefix (data, "#EXTINF:")) { in gst_m3u8_update()
585 } else if (g_str_has_prefix (data, "#EXT-X-")) { in gst_m3u8_update()
589 if (g_str_has_prefix (data_ext_x, "ENDLIST")) { in gst_m3u8_update()
591 } else if (g_str_has_prefix (data_ext_x, "VERSION:")) { in gst_m3u8_update()
594 } else if (g_str_has_prefix (data_ext_x, "TARGETDURATION:")) { in gst_m3u8_update()
597 } else if (g_str_has_prefix (data_ext_x, "MEDIA-SEQUENCE:")) { in gst_m3u8_update()
602 } else if (g_str_has_prefix (data_ext_x, "DISCONTINUITY-SEQUENCE:")) { in gst_m3u8_update()
608 } else if (g_str_has_prefix (data_ext_x, "DISCONTINUITY")) { in gst_m3u8_update()
611 } else if (g_str_has_prefix (data_ext_x, "PROGRAM-DATE-TIME:")) { in gst_m3u8_update()
[all …]
/third_party/libsoup/tests/
Dsniffing-test.c52 if (g_str_has_prefix (path, "/nosniff/")) { in server_callback()
66 if (g_str_has_prefix (path, "/text_or_binary/") || g_str_has_prefix (path, "/apache_bug/")) { in server_callback()
77 if (g_str_has_prefix (path, "/unknown/")) { in server_callback()
88 if (g_str_has_prefix (path, "/type/")) { in server_callback()
107 if (g_str_has_prefix (path, "/multiple_headers/")) { in server_callback()
Dntlm-test-helper.c77 } else if (g_str_has_prefix (buf, "TT ")) { in main()
/third_party/gstreamer/gstplugins_bad/sys/nvenc/
Dgstnvh264enc.c482 } else if (g_str_has_prefix (profile, "high-4:4:4")) { in gst_nv_h264_enc_set_encoder_config()
484 } else if (g_str_has_prefix (profile, "high-10")) { in gst_nv_h264_enc_set_encoder_config()
486 } else if (g_str_has_prefix (profile, "high-4:2:2")) { in gst_nv_h264_enc_set_encoder_config()
488 } else if (g_str_has_prefix (profile, "high")) { in gst_nv_h264_enc_set_encoder_config()
490 } else if (g_str_has_prefix (profile, "main")) { in gst_nv_h264_enc_set_encoder_config()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dmklicensestables.c219 if (!g_str_has_prefix (ref, "http://creativecommons.org/licenses/")) in parse_start()
226 if (!g_str_has_prefix (ref, "http://creativecommons.org/international/")) in parse_start()
235 if (!g_str_has_prefix (ref, "http://creativecommons.org/licenses/")) in parse_start()
285 if (!g_str_has_prefix (ref, "http://creativecommons.org/licenses/")) in parse_start()
301 if (!g_str_has_prefix (ref, "http://creativecommons.org/licenses/")) in parse_start()
381 if (!g_str_has_prefix (text, "<?xml ")) { in parse_passthrough()
463 if (!g_str_has_prefix (ref, "http://creativecommons.org/")) in find_license()
Dlicenses.c256 if (!g_str_has_prefix (license_ref, CC_LICENSE_REF_PREFIX)) { in gst_tag_get_license_idx()
285 if (!g_str_has_prefix (ref, lref)) in gst_tag_get_license_idx()
/third_party/glib/gio/tests/
Dhttpd.c60 if (!g_str_has_prefix (line, "GET ")) in handler()
78 if (!g_str_has_prefix (version, "HTTP/1.")) in handler()
Dgapplication-example-cmdline2.c36 if (g_str_has_prefix (argv[i], "--local-")) in test_local_cmdline()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dpbutils.c53 fail_unless (g_str_has_prefix (str, "gstreamer|")); in missing_msg_check_getters()
700 fail_unless (g_str_has_prefix (detail1, "gstreamer|1.0|")); in GST_START_TEST()
714 fail_unless (g_str_has_prefix (detail1, "gstreamer|1.0|")); in GST_START_TEST()
728 fail_unless (g_str_has_prefix (detail1, "gstreamer|1.0|")); in GST_START_TEST()
744 fail_unless (g_str_has_prefix (detail1, "gstreamer|1.0|")); in GST_START_TEST()
761 fail_unless (g_str_has_prefix (detail1, "gstreamer|1.0|")); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstplayback.c52 if (env && g_str_has_prefix (env, "1")) in plugin_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dbrowser.c83 if (g_str_has_prefix(uri, "osu://")) { in view_cb_resource_request_starting()
87 if (g_str_has_prefix(uri, "http://localhost:12345")) { in view_cb_resource_request_starting()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dbrowser.c83 if (g_str_has_prefix(uri, "osu://")) { in view_cb_resource_request_starting()
87 if (g_str_has_prefix(uri, "http://localhost:12345")) { in view_cb_resource_request_starting()
/third_party/gstreamer/gstplugins_good/gst/debugutils/
Dprogressreport.c288 if (g_str_has_prefix (mime_type, "video/") || in gst_progress_report_do_query()
289 g_str_has_prefix (mime_type, "image/")) { in gst_progress_report_do_query()
291 } else if (g_str_has_prefix (mime_type, "audio/")) { in gst_progress_report_do_query()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpssrcdemux.c92 if (g_str_has_prefix (GST_PAD_NAME (src_pad), "src_")) { in rtpssrcdemux_pad_added()
95 } else if (g_str_has_prefix (GST_PAD_NAME (src_pad), "rtcp_src_")) { in rtpssrcdemux_pad_added()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dgstdiscoverer.c609 if (g_str_has_prefix (name, "text/") || in is_subtitle_caps()
610 g_str_has_prefix (name, "subpicture/") || in is_subtitle_caps()
611 g_str_has_prefix (name, "subtitle/") || in is_subtitle_caps()
612 g_str_has_prefix (name, "closedcaption/") || in is_subtitle_caps()
613 g_str_has_prefix (name, "application/x-subtitle")) in is_subtitle_caps()
948 if (g_str_has_prefix (name, "audio/")) { in collect_information()
1008 } else if (g_str_has_prefix (name, "video/") || in collect_information()
1009 g_str_has_prefix (name, "image/")) { in collect_information()
1207 if ((g_str_has_prefix (name1, "audio/") && in child_is_raw_stream()
1208 g_str_has_prefix (name2, "audio/x-raw")) || in child_is_raw_stream()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dlibvisual.c29 return (g_str_has_prefix (GST_OBJECT_NAME (feature), "libvisual_")); in filter_func()

1234567