Home
last modified time | relevance | path

Searched refs:g_strdup (Results 1 – 25 of 693) sorted by relevance

12345678910>>...28

/third_party/gstreamer/gstplugins_base/gst-libs/gst/riff/
Driff-media.c107 *codec_name = g_strdup ("Uncompressed 8-bit monochrome"); in gst_riff_create_video_caps()
114 *codec_name = g_strdup ("Uncompressed packed RGB 10-bit 4:4:4"); in gst_riff_create_video_caps()
123 *codec_name = g_strdup ("Uncompressed planar YUV 4:2:0"); in gst_riff_create_video_caps()
133 *codec_name = g_strdup ("Uncompressed packed YUV 4:2:2"); in gst_riff_create_video_caps()
140 *codec_name = g_strdup ("Uncompressed packed YVU 4:1:0"); in gst_riff_create_video_caps()
149 *codec_name = g_strdup ("Uncompressed packed YUV 4:2:2"); in gst_riff_create_video_caps()
157 *codec_name = g_strdup ("Uncompressed packed YVU 4:2:2"); in gst_riff_create_video_caps()
163 *codec_name = g_strdup ("Uncompressed packed 10-bit YUV 4:2:2"); in gst_riff_create_video_caps()
177 *codec_name = g_strdup ("Motion JPEG"); in gst_riff_create_video_caps()
185 *codec_name = g_strdup ("JPEG Still Image"); in gst_riff_create_video_caps()
[all …]
/third_party/glib/glib/tests/
Dspawn-path-search.c45 g_ptr_array_add (argv, g_strdup ("--")); in test_do_not_search()
46 g_ptr_array_add (argv, g_strdup ("spawn-test-helper")); in test_do_not_search()
97 g_ptr_array_add (argv, g_strdup ("--search-path")); in test_search_path()
98 g_ptr_array_add (argv, g_strdup ("--")); in test_search_path()
99 g_ptr_array_add (argv, g_strdup ("spawn-test-helper")); in test_search_path()
150 g_ptr_array_add (argv, g_strdup ("--search-path-from-envp")); in test_search_path_from_envp()
151 g_ptr_array_add (argv, g_strdup ("--set-path-in-envp")); in test_search_path_from_envp()
152 g_ptr_array_add (argv, g_strdup (subdir)); in test_search_path_from_envp()
153 g_ptr_array_add (argv, g_strdup ("--")); in test_search_path_from_envp()
154 g_ptr_array_add (argv, g_strdup ("spawn-test-helper")); in test_search_path_from_envp()
[all …]
Dhash.c290 g_hash_table_insert (h, g_strdup (key), g_strdup (val)); in second_hash_test()
573 g_assert (g_hash_table_insert (hash_table, g_strdup ("a"), "b")); in set_hash_test()
574 g_assert (!g_hash_table_insert (hash_table, g_strdup ("a"), "b")); in set_hash_test()
576 g_assert (g_hash_table_replace (hash_table, g_strdup ("c"), "d")); in set_hash_test()
577 g_assert (!g_hash_table_replace (hash_table, g_strdup ("c"), "d")); in set_hash_test()
1022 ffd->string = g_strdup ("a"); in test_destroy_modify()
1027 ffd->string = g_strdup ("c"); in test_destroy_modify()
1032 ffd->string = g_strdup ("e"); in test_destroy_modify()
1037 ffd->string = g_strdup ("g"); in test_destroy_modify()
1042 ffd->string = g_strdup ("h"); in test_destroy_modify()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Ddescriptions.c444 return g_strdup (_(info->desc)); in format_info_get_desc()
456 return g_strdup (_("Uncompressed video")); in format_info_get_desc()
459 return g_strdup (_("Uncompressed video")); in format_info_get_desc()
464 ret = g_strdup (_("Uncompressed gray")); in format_info_get_desc()
509 ret = g_strdup (_("Uncompressed video")); in format_info_get_desc()
534 return g_strdup (ret); in format_info_get_desc()
557 return g_strdup (ret); in format_info_get_desc()
567 return g_strdup ("H.265"); in format_info_get_desc()
571 return g_strdup ("Dirac"); in format_info_get_desc()
579 return g_strdup ("Dirac"); in format_info_get_desc()
[all …]
Dinstall-plugins.c314 ctx->confirm_search = g_strdup ("show-confirm-search"); in gst_install_plugins_context_set_confirm_search()
316 ctx->confirm_search = g_strdup ("hide-confirm-search"); in gst_install_plugins_context_set_confirm_search()
341 ctx->desktop_id = g_strdup (desktop_id); in gst_install_plugins_context_set_desktop_id()
375 ctx->startup_notification_id = g_strdup (startup_id); in gst_install_plugins_context_set_startup_notification_id()
452 ret->confirm_search = g_strdup (ctx->confirm_search); in gst_install_plugins_context_copy()
453 ret->desktop_id = g_strdup (ctx->desktop_id); in gst_install_plugins_context_copy()
454 ret->startup_notification_id = g_strdup (ctx->startup_notification_id); in gst_install_plugins_context_copy()
501 g_ptr_array_add (arr, g_strdup (gst_install_plugins_get_helper ())); in gst_install_plugins_spawn_child()
522 g_ptr_array_add (arr, g_strdup (details[0])); in gst_install_plugins_spawn_child()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtspdefs.c271 return g_strdup ("OK"); in gst_rtsp_strresult()
273 return g_strdup ("System error"); in gst_rtsp_strresult()
275 return g_strdup ("Network error"); in gst_rtsp_strresult()
277 return g_strdup ("Generic error"); in gst_rtsp_strresult()
279 return g_strdup ("Invalid parameter specified"); in gst_rtsp_strresult()
281 return g_strdup ("Operation interrupted"); in gst_rtsp_strresult()
283 return g_strdup ("Out of memory"); in gst_rtsp_strresult()
285 return g_strdup ("Cannot resolve host"); in gst_rtsp_strresult()
287 return g_strdup ("Function not implemented"); in gst_rtsp_strresult()
289 return g_strdup ("Parse error"); in gst_rtsp_strresult()
[all …]
Dgstrtsptransport.c517 transport->destination = g_strdup (split[i] + 12); in gst_rtsp_transport_parse()
520 transport->source = g_strdup (split[i] + 7); in gst_rtsp_transport_parse()
614 g_ptr_array_add (strs, g_strdup ("/")); in gst_rtsp_transport_as_text()
626 g_ptr_array_add (strs, g_strdup ("/")); in gst_rtsp_transport_as_text()
641 g_ptr_array_add (strs, g_strdup (";multicast")); in gst_rtsp_transport_as_text()
643 g_ptr_array_add (strs, g_strdup (";unicast")); in gst_rtsp_transport_as_text()
647 g_ptr_array_add (strs, g_strdup (";destination=")); in gst_rtsp_transport_as_text()
648 g_ptr_array_add (strs, g_strdup (transport->destination)); in gst_rtsp_transport_as_text()
653 g_ptr_array_add (strs, g_strdup (";source=")); in gst_rtsp_transport_as_text()
654 g_ptr_array_add (strs, g_strdup (transport->source)); in gst_rtsp_transport_as_text()
[all …]
Dgstrtspurl.c176 res->host = g_strdup (p); in gst_rtsp_url_parse()
193 res->abspath = g_strdup (p); in gst_rtsp_url_parse()
201 res->abspath = g_strdup (""); in gst_rtsp_url_parse()
205 res->query = g_strdup (p + 1); in gst_rtsp_url_parse()
238 res->user = g_strdup (url->user); in gst_rtsp_url_copy()
239 res->passwd = g_strdup (url->passwd); in gst_rtsp_url_copy()
240 res->host = g_strdup (url->host); in gst_rtsp_url_copy()
242 res->abspath = g_strdup (url->abspath); in gst_rtsp_url_copy()
243 res->query = g_strdup (url->query); in gst_rtsp_url_copy()
/third_party/libsoup/libsoup/
Dsoup-content-sniffer.c111 return g_strdup (type_row->sniffed_type); in sniff_media()
271 return g_strdup ("video/mp4"); in sniff_audio_video()
538 return g_strdup (type_row->sniffed_type); in sniff_unknown()
553 return g_strdup (type_row->sniffed_type); in sniff_unknown()
569 return g_strdup ("application/octet-stream"); in sniff_unknown()
572 return g_strdup ("text/plain"); in sniff_unknown()
588 return g_strdup ("text/plain"); in sniff_text_or_binary()
594 return g_strdup ("text/plain"); in sniff_text_or_binary()
606 return g_strdup ("text/plain"); in sniff_text_or_binary()
652 return g_strdup ("text/html"); in sniff_feed_or_html()
[all …]
Dsoup-cookie.c83 copy->name = g_strdup (cookie->name); in G_DEFINE_BOXED_TYPE()
84 copy->value = g_strdup (cookie->value); in G_DEFINE_BOXED_TYPE()
85 copy->domain = g_strdup (cookie->domain); in G_DEFINE_BOXED_TYPE()
86 copy->path = g_strdup (cookie->path); in G_DEFINE_BOXED_TYPE()
194 cookie->name = g_strdup (""); in parse_one_cookie()
294 cookie->domain = g_strdup (origin->host); in parse_one_cookie()
309 cookie->path = g_strdup ("/"); in parse_one_cookie()
316 cookie->path = g_strdup ("/"); in parse_one_cookie()
330 cookie->name = g_strdup (name); in cookie_new_internal()
331 cookie->value = g_strdup (value); in cookie_new_internal()
[all …]
Dsoup-uri.c308 uri->path = g_strdup (""); in soup_uri_new_with_base()
395 uri->user = g_strdup (base->user); in soup_uri_new_with_base()
396 uri->password = g_strdup (base->password); in soup_uri_new_with_base()
397 uri->host = g_strdup (base->host); in soup_uri_new_with_base()
401 uri->path = g_strdup (base->path); in soup_uri_new_with_base()
403 uri->query = g_strdup (base->query); in soup_uri_new_with_base()
475 uri->path = g_strdup ("/"); in soup_uri_new_with_base()
492 uri->path = g_strdup (""); in soup_uri_new_with_base()
639 dup->user = g_strdup (uri->user); in soup_uri_copy()
640 dup->password = g_strdup (uri->password); in soup_uri_copy()
[all …]
/third_party/glib/gio/
Dgcontenttype-win32.c192 return g_strdup (_("Unknown type")); in g_content_type_get_description()
208 return g_strdup ("application/octet-stream"); in g_content_type_get_mime_type()
212 return g_strdup (type); in g_content_type_get_mime_type()
215 return g_strdup ("application/octet-stream"); in g_content_type_get_mime_type()
258 g_hash_table_insert (_type_icons, g_strdup (type), g_strdup (name)); in g_content_type_get_icon()
271 g_hash_table_insert (_type_icons, g_strdup (type), g_strdup (name)); in g_content_type_get_icon()
339 return g_strdup (mime_type); in g_content_type_from_mime_type()
365 g_return_val_if_fail (data_size != (gsize) -1, g_strdup ("*")); in g_content_type_guess()
372 type = g_strdup (dot); in g_content_type_guess()
380 return g_strdup (".txt"); in g_content_type_guess()
[all …]
Dgunixvolume.c119 volume->mount_path = g_strdup (g_unix_mount_point_get_mount_path (mountpoint)); in _g_unix_volume_new()
120 volume->device_path = g_strdup (g_unix_mount_point_get_device_path (mountpoint)); in _g_unix_volume_new()
130 volume->identifier_type = g_strdup (G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT); in _g_unix_volume_new()
131 volume->identifier = g_strdup (volume->device_path); in _g_unix_volume_new()
135 volume->identifier_type = g_strdup (G_VOLUME_IDENTIFIER_KIND_LABEL); in _g_unix_volume_new()
136 volume->identifier = g_strdup (volume->device_path + 6); in _g_unix_volume_new()
140 volume->identifier_type = g_strdup (G_VOLUME_IDENTIFIER_KIND_UUID); in _g_unix_volume_new()
141 volume->identifier = g_strdup (volume->device_path + 5); in _g_unix_volume_new()
145 volume->identifier_type = g_strdup (G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE); in _g_unix_volume_new()
146 volume->identifier = g_strdup (volume->device_path); in _g_unix_volume_new()
[all …]
Dglocalvfs.c99 stripped_uri = g_strdup (uri); in g_local_vfs_get_file_for_uri()
161 user_prefix = g_strdup (g_get_home_dir ()); in g_local_vfs_parse_name()
173 user_prefix = g_strdup (passwd_file_entry->pw_dir); in g_local_vfs_parse_name()
175 user_prefix = g_strdup (g_get_home_dir ()); in g_local_vfs_parse_name()
180 user_prefix = g_strdup (g_get_home_dir ()); in g_local_vfs_parse_name()
196 filename = g_strdup (parse_name); in g_local_vfs_parse_name()
Dgosxcontenttype.m98 return g_strdup (fallback);
260 icon_name = g_strdup (xdg_icon_name);
290 icon_names[n++] = g_strdup (xdg_icon);
292 mimetype_icon = g_strdup (mime_type);
378 return g_strdup ("public.audio");
380 return g_strdup ("public.image");
382 return g_strdup ("public.text");
384 return g_strdup ("public.movie");
393 return g_strdup ("com.apple.icns");
395 return g_strdup ("com.truevision.tga-image");
[all …]
Dgcontenttype.c81 res = g_strdup (xdg_mime_unalias_mime_type (type)); in _g_unix_content_type_unalias()
101 g_ptr_array_add (array, g_strdup (umime)); in _g_unix_content_type_get_parents()
105 g_ptr_array_add (array, g_strdup (parents[i])); in _g_unix_content_type_get_parents()
481 comment = g_strdup (comment); in g_content_type_get_description()
491 g_strdup (type), in g_content_type_get_description()
492 g_strdup (comment)); in g_content_type_get_description()
512 return g_strdup (type); in g_content_type_get_mime_type()
535 icon_names[n++] = g_strdup (xdg_icon); in g_content_type_get_icon_internal()
537 mimetype_icon = g_strdup (type); in g_content_type_get_icon_internal()
641 icon_name = g_strdup (xdg_icon_name); in g_content_type_get_generic_icon_name()
[all …]
/third_party/glib/gio/tests/
Dgdbus-testserver.c701 …g_hash_table_replace (properties, g_strdup ("PropertyThatWillBeInvalidated"), g_variant_ref_sink (… in handle_method_call()
847 g_hash_table_insert (properties, g_strdup ("y"), g_variant_ref_sink (g_variant_new_byte (1))); in main()
848 …g_hash_table_insert (properties, g_strdup ("b"), g_variant_ref_sink (g_variant_new_boolean (TRUE))… in main()
849 g_hash_table_insert (properties, g_strdup ("n"), g_variant_ref_sink (g_variant_new_int16 (2))); in main()
850 g_hash_table_insert (properties, g_strdup ("q"), g_variant_ref_sink (g_variant_new_uint16 (3))); in main()
851 g_hash_table_insert (properties, g_strdup ("i"), g_variant_ref_sink (g_variant_new_int32 (4))); in main()
852 g_hash_table_insert (properties, g_strdup ("u"), g_variant_ref_sink (g_variant_new_uint32 (5))); in main()
853 g_hash_table_insert (properties, g_strdup ("x"), g_variant_ref_sink (g_variant_new_int64 (6))); in main()
854 g_hash_table_insert (properties, g_strdup ("t"), g_variant_ref_sink (g_variant_new_uint64 (7))); in main()
855 g_hash_table_insert (properties, g_strdup ("d"), g_variant_ref_sink (g_variant_new_double (7.5))); in main()
[all …]
Dgdbus-example-subtree.c242 g_ptr_array_add (p, g_strdup ("sda")); in subtree_enumerate()
243 g_ptr_array_add (p, g_strdup ("sda1")); in subtree_enumerate()
244 g_ptr_array_add (p, g_strdup ("sda2")); in subtree_enumerate()
245 g_ptr_array_add (p, g_strdup ("sda3")); in subtree_enumerate()
246 g_ptr_array_add (p, g_strdup ("sdb")); in subtree_enumerate()
247 g_ptr_array_add (p, g_strdup ("sdb1")); in subtree_enumerate()
248 g_ptr_array_add (p, g_strdup ("sdc")); in subtree_enumerate()
249 g_ptr_array_add (p, g_strdup ("sdc1")); in subtree_enumerate()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavutils.c114 pix_fmt_info[AV_PIX_FMT_YUV420P].name = g_strdup ("yuv420p"); in gst_ffmpeg_init_pix_fmt_info()
122 pix_fmt_info[AV_PIX_FMT_YUV422P].name = g_strdup ("yuv422p"); in gst_ffmpeg_init_pix_fmt_info()
130 pix_fmt_info[AV_PIX_FMT_YUV444P].name = g_strdup ("yuv444p"); in gst_ffmpeg_init_pix_fmt_info()
138 pix_fmt_info[AV_PIX_FMT_YUYV422].name = g_strdup ("yuv422"); in gst_ffmpeg_init_pix_fmt_info()
146 pix_fmt_info[AV_PIX_FMT_YUV410P].name = g_strdup ("yuv410p"); in gst_ffmpeg_init_pix_fmt_info()
154 pix_fmt_info[AV_PIX_FMT_YUV411P].name = g_strdup ("yuv411p"); in gst_ffmpeg_init_pix_fmt_info()
163 pix_fmt_info[AV_PIX_FMT_YUVJ420P].name = g_strdup ("yuvj420p"); in gst_ffmpeg_init_pix_fmt_info()
171 pix_fmt_info[AV_PIX_FMT_YUVJ422P].name = g_strdup ("yuvj422p"); in gst_ffmpeg_init_pix_fmt_info()
179 pix_fmt_info[AV_PIX_FMT_YUVJ444P].name = g_strdup ("yuvj444p"); in gst_ffmpeg_init_pix_fmt_info()
188 pix_fmt_info[AV_PIX_FMT_RGB24].name = g_strdup ("rgb24"); in gst_ffmpeg_init_pix_fmt_info()
[all …]
Dgstavcfg.c45 g_hash_table_insert (generic_overrides, g_strdup ("b"), in make_generic_overrides()
47 g_hash_table_insert (generic_overrides, g_strdup ("ab"), in make_generic_overrides()
49 g_hash_table_insert (generic_overrides, g_strdup ("g"), in make_generic_overrides()
51 g_hash_table_insert (generic_overrides, g_strdup ("bt"), in make_generic_overrides()
53 g_hash_table_insert (generic_overrides, g_strdup ("bf"), in make_generic_overrides()
57 g_hash_table_insert (generic_overrides, g_strdup ("profile"), in make_generic_overrides()
59 g_hash_table_insert (generic_overrides, g_strdup ("level"), in make_generic_overrides()
61 g_hash_table_insert (generic_overrides, g_strdup ("color_primaries"), in make_generic_overrides()
64 g_hash_table_insert (generic_overrides, g_strdup ("color_trc"), in make_generic_overrides()
66 g_hash_table_insert (generic_overrides, g_strdup ("colorspace"), in make_generic_overrides()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dvb/
Dparsechannels.c491 g_hash_table_insert (params, g_strdup ("type"), in parse_channels_conf_from_zap_file()
492 g_strdup ("terrestrial")); in parse_channels_conf_from_zap_file()
494 g_hash_table_insert (params, g_strdup (terrestrial[j - 2]), in parse_channels_conf_from_zap_file()
495 g_strdup (fields[j])); in parse_channels_conf_from_zap_file()
497 g_hash_table_insert (params, g_strdup ("frequency"), in parse_channels_conf_from_zap_file()
498 g_strdup (fields[1])); in parse_channels_conf_from_zap_file()
501 g_hash_table_insert (params, g_strdup ("type"), g_strdup ("cable")); in parse_channels_conf_from_zap_file()
503 g_hash_table_insert (params, g_strdup (cable[j - 2]), in parse_channels_conf_from_zap_file()
504 g_strdup (fields[j])); in parse_channels_conf_from_zap_file()
506 g_hash_table_insert (params, g_strdup ("frequency"), in parse_channels_conf_from_zap_file()
[all …]
/third_party/glib/glib/
Dgutils.c343 return g_strdup (program); in inner_find_program_in_path()
383 path = g_strdup (path); in inner_find_program_in_path()
448 ret = g_strdup (startp); in inner_find_program_in_path()
584 return g_strdup ("C:\\"); in get_windows_directory_root()
593 return g_strdup ("C:\\"); in get_windows_directory_root()
681 e.user_name = g_strdup (pw->pw_name); in g_get_user_database_entry()
700 e.home_dir = g_strdup (pw->pw_dir); in g_get_user_database_entry()
715 e.real_name = g_strdup (e.user_name); in g_get_user_database_entry()
721 e.user_name = g_strdup ("somebody"); in g_get_user_database_entry()
723 e.real_name = g_strdup ("Unknown"); in g_get_user_database_entry()
[all …]
Dgcharset.c207 cache->raw = g_strdup (raw); in g_get_charset()
209 cache->charset = g_strdup (new_charset); in g_get_charset()
233 return g_strdup (charset); in g_get_codeset()
328 cache->raw = g_strdup (raw); in g_get_console_charset()
330 cache->charset = g_strdup (new_charset); in g_get_console_charset()
391 g_hash_table_insert (alias_table, g_strdup (buf), g_strdup (q)); in read_aliases()
464 *modifier = g_strdup (at_pos); in explode_locale()
735 g_ptr_array_add (array, g_strdup ("C")); in g_get_language_names_with_category()
739 name_cache->languages = g_strdup (languages); in g_get_language_names_with_category()
741 g_hash_table_insert (cache, g_strdup (category_name), name_cache); in g_get_language_names_with_category()
/third_party/weston/compositor/
Dcms-colord.c261 g_strdup(CD_DEVICE_PROPERTY_KIND), in colord_output_created()
262 g_strdup(cd_device_kind_to_string (CD_DEVICE_KIND_DISPLAY))); in colord_output_created()
264 g_strdup(CD_DEVICE_PROPERTY_FORMAT), in colord_output_created()
265 g_strdup("ColorModel.OutputMode.OutputResolution")); in colord_output_created()
267 g_strdup(CD_DEVICE_PROPERTY_COLORSPACE), in colord_output_created()
268 g_strdup(cd_colorspace_to_string(CD_COLORSPACE_RGB))); in colord_output_created()
274 g_strdup(CD_DEVICE_PROPERTY_VENDOR), in colord_output_created()
275 g_strdup(tmp)); in colord_output_created()
279 g_strdup(CD_DEVICE_PROPERTY_MODEL), in colord_output_created()
280 g_strdup(head->model)); in colord_output_created()
[all …]
/third_party/gstreamer/gstplugins_base/ext/pango/
Dgstclockoverlay.c98 return g_strdup ("--:--:--"); in gst_clock_overlay_render_time()
101 return g_strdup (""); in gst_clock_overlay_render_time()
102 return g_strdup (buf); in gst_clock_overlay_render_time()
113 txt = g_strdup (overlay->default_text); in gst_clock_overlay_get_text()
126 clock_overlay->text = g_strdup (ret); in gst_clock_overlay_get_text()
189 overlay->format = g_strdup (DEFAULT_PROP_TIMEFORMAT); in gst_clock_overlay_init()

12345678910>>...28