Home
last modified time | relevance | path

Searched refs:g_ptr_array_add (Results 1 – 25 of 121) sorted by relevance

12345

/third_party/glib/glib/tests/
Dtesting.c869 g_ptr_array_add (argv, (char *) argv0); in test_combining()
870 g_ptr_array_add (argv, "--GTestSubprocess"); in test_combining()
871 g_ptr_array_add (argv, "-p"); in test_combining()
872 g_ptr_array_add (argv, "/misc/skip"); in test_combining()
873 g_ptr_array_add (argv, NULL); in test_combining()
887 g_ptr_array_add (argv, (char *) argv0); in test_combining()
888 g_ptr_array_add (argv, "--GTestSubprocess"); in test_combining()
889 g_ptr_array_add (argv, "-p"); in test_combining()
890 g_ptr_array_add (argv, "/misc/skip"); in test_combining()
891 g_ptr_array_add (argv, "-p"); in test_combining()
[all …]
Dspawn-path-search.c43 g_ptr_array_add (argv, in test_do_not_search()
45 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()
47 g_ptr_array_add (argv, NULL); in test_do_not_search()
95 g_ptr_array_add (argv, in test_search_path()
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()
100 g_ptr_array_add (argv, NULL); in test_search_path()
148 g_ptr_array_add (argv, in test_search_path_from_envp()
[all …]
Darray-test.c867 g_ptr_array_add (gparray, GINT_TO_POINTER (i)); in pointer_array_steal()
873 g_ptr_array_add (gparray, GINT_TO_POINTER (10)); in pointer_array_steal()
883 g_ptr_array_add (gparray, GINT_TO_POINTER (i)); in pointer_array_steal()
902 g_ptr_array_add (gparray, GINT_TO_POINTER (i)); in pointer_array_add()
948 g_ptr_array_add (gparray, GINT_TO_POINTER (i)); in pointer_array_ref_count()
996 g_ptr_array_add (gparray, g_strdup ("foo")); in pointer_array_free_func()
997 g_ptr_array_add (gparray, g_strdup ("bar")); in pointer_array_free_func()
998 g_ptr_array_add (gparray, g_strdup ("baz")); in pointer_array_free_func()
1004 g_ptr_array_add (gparray, s); in pointer_array_free_func()
1010 g_ptr_array_add (gparray, s); in pointer_array_free_func()
[all …]
Dspawn-singlethread.c131 g_ptr_array_add (argv, echo_prog_path); in test_spawn_async()
132 g_ptr_array_add (argv, arg); in test_spawn_async()
133 g_ptr_array_add (argv, NULL); in test_spawn_async()
205 g_ptr_array_add (argv, echo_prog_path); in test_spawn_async_with_fds()
206 g_ptr_array_add (argv, arg); in test_spawn_async_with_fds()
207 g_ptr_array_add (argv, NULL); in test_spawn_async_with_fds()
373 g_ptr_array_add (argv, echo_prog_path); in test_posix_spawn()
374 g_ptr_array_add (argv, arg); in test_posix_spawn()
375 g_ptr_array_add (argv, NULL); in test_posix_spawn()
394 g_ptr_array_add (argv, echo_script_path); in test_spawn_script()
[all …]
Dspawn-multithreaded.c46 g_ptr_array_add (threads, thread); in multithreaded_test_run()
71 g_ptr_array_add (argv, echo_prog_path); in test_spawn_sync_multithreaded_instance()
72 g_ptr_array_add (argv, arg); in test_spawn_sync_multithreaded_instance()
73 g_ptr_array_add (argv, NULL); in test_spawn_sync_multithreaded_instance()
168 g_ptr_array_add (argv, echo_prog_path); in test_spawn_async_multithreaded_instance()
169 g_ptr_array_add (argv, arg); in test_spawn_async_multithreaded_instance()
170 g_ptr_array_add (argv, NULL); in test_spawn_async_multithreaded_instance()
/third_party/libsoup/tests/
Dforms-test.c52 g_ptr_array_add (args, "curl"); in do_hello_test()
53 g_ptr_array_add (args, "--noproxy"); in do_hello_test()
54 g_ptr_array_add (args, "*"); in do_hello_test()
55 g_ptr_array_add (args, "-G"); in do_hello_test()
58 g_ptr_array_add (args, "-d"); in do_hello_test()
59 g_ptr_array_add (args, title_arg); in do_hello_test()
63 g_ptr_array_add (args, "-d"); in do_hello_test()
64 g_ptr_array_add (args, name_arg); in do_hello_test()
67 g_ptr_array_add (args, "-d"); in do_hello_test()
68 g_ptr_array_add (args, "extra=something"); in do_hello_test()
[all …]
Dserver-auth-test.c48 g_ptr_array_add (args, "curl"); in do_test()
49 g_ptr_array_add (args, "--noproxy"); in do_test()
50 g_ptr_array_add (args, "*"); in do_test()
51 g_ptr_array_add (args, "-f"); in do_test()
52 g_ptr_array_add (args, "-s"); in do_test()
54 g_ptr_array_add (args, "-u"); in do_test()
57 g_ptr_array_add (args, "user:password"); in do_test()
59 g_ptr_array_add (args, "user:badpassword"); in do_test()
62 g_ptr_array_add (args, "baduser:password"); in do_test()
64 g_ptr_array_add (args, "baduser:badpassword"); in do_test()
[all …]
Dtest-utils.c169 g_ptr_array_add (argv, APACHE_HTTPD); in apache_cmd()
170 g_ptr_array_add (argv, "-d"); in apache_cmd()
171 g_ptr_array_add (argv, server_root); in apache_cmd()
172 g_ptr_array_add (argv, "-f"); in apache_cmd()
173 g_ptr_array_add (argv, "httpd.conf"); in apache_cmd()
176 g_ptr_array_add (argv, "-c"); in apache_cmd()
177 g_ptr_array_add (argv, default_runtime_dir); in apache_cmd()
179 g_ptr_array_add (argv, "-c"); in apache_cmd()
180 g_ptr_array_add (argv, pid_file); in apache_cmd()
182 g_ptr_array_add (argv, "-k"); in apache_cmd()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtsp/
Dgstrtsptransport.c612 g_ptr_array_add (strs, g_ascii_strup (tmp, -1)); in gst_rtsp_transport_as_text()
614 g_ptr_array_add (strs, g_strdup ("/")); in gst_rtsp_transport_as_text()
618 g_ptr_array_add (strs, g_ascii_strup (tmp, -1)); in gst_rtsp_transport_as_text()
626 g_ptr_array_add (strs, g_strdup ("/")); in gst_rtsp_transport_as_text()
631 g_ptr_array_add (strs, g_ascii_strup (tmp, -1)); 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()
[all …]
/third_party/glib/gio/tests/
Dglistmodel.c279 g_ptr_array_add (array, g_simple_action_new ("1", NULL)); in test_store_splice_replace_middle()
280 g_ptr_array_add (array, g_simple_action_new ("2", NULL)); in test_store_splice_replace_middle()
281 g_ptr_array_add (array, g_simple_action_new ("3", NULL)); in test_store_splice_replace_middle()
282 g_ptr_array_add (array, g_simple_action_new ("4", NULL)); in test_store_splice_replace_middle()
283 g_ptr_array_add (array, g_simple_action_new ("5", NULL)); in test_store_splice_replace_middle()
335 g_ptr_array_add (array, g_simple_action_new ("1", NULL)); in test_store_splice_replace_all()
336 g_ptr_array_add (array, g_simple_action_new ("2", NULL)); in test_store_splice_replace_all()
337 g_ptr_array_add (array, g_simple_action_new ("3", NULL)); in test_store_splice_replace_all()
338 g_ptr_array_add (array, g_simple_action_new ("4", NULL)); in test_store_splice_replace_all()
435 g_ptr_array_add (array, g_simple_action_new ("1", NULL)); in test_store_splice_remove_multiple()
[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()
250 g_ptr_array_add (p, NULL); in subtree_enumerate()
268 g_ptr_array_add (p, g_dbus_interface_info_ref (manager_interface_info)); in subtree_introspect()
[all …]
Dg-file-info-filesystem-readonly.c43 g_ptr_array_add (args, (gchar *) argv0); in run()
45 g_ptr_array_add (args, (gchar *) arg); in run()
46 g_ptr_array_add (args, NULL); in run()
Dtls-interaction.c869 g_ptr_array_add (fixtures, fixture); in test_with_async_ask_password()
883 g_ptr_array_add (fixtures, fixture); in test_with_async_ask_password()
904 g_ptr_array_add (fixtures, fixture); in test_with_unhandled_ask_password()
925 g_ptr_array_add (fixtures, fixture); in test_with_sync_ask_password()
939 g_ptr_array_add (fixtures, fixture); in test_with_sync_ask_password()
971 g_ptr_array_add (fixtures, fixture); in test_with_async_request_certificate()
985 g_ptr_array_add (fixtures, fixture); in test_with_async_request_certificate()
1006 g_ptr_array_add (fixtures, fixture); in test_with_unhandled_request_certificate()
1027 g_ptr_array_add (fixtures, fixture); in test_with_sync_request_certificate()
1041 g_ptr_array_add (fixtures, fixture); in test_with_sync_request_certificate()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dinstall-plugins.c501 g_ptr_array_add (arr, g_strdup (gst_install_plugins_get_helper ())); in gst_install_plugins_spawn_child()
505 g_ptr_array_add (arr, g_strdup_printf ("--interaction=%s", in gst_install_plugins_spawn_child()
509 g_ptr_array_add (arr, g_strdup_printf ("--desktop-id=%s", ctx->desktop_id)); in gst_install_plugins_spawn_child()
512 g_ptr_array_add (arr, g_strdup_printf ("--startup-notification-id=%s", in gst_install_plugins_spawn_child()
516 g_ptr_array_add (arr, g_strdup_printf ("--transient-for=%u", ctx->xid)); in gst_install_plugins_spawn_child()
522 g_ptr_array_add (arr, g_strdup (details[0])); in gst_install_plugins_spawn_child()
527 g_ptr_array_add (arr, NULL); in gst_install_plugins_spawn_child()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpstorage.c275 g_ptr_array_add (bufs_in, create_rtp_packet (96, ssrc, RTP_TSTAMP (0), in _single_ssrc_test()
277 g_ptr_array_add (bufs_in, create_rtp_packet (96, ssrc, RTP_TSTAMP (1), in _single_ssrc_test()
279 g_ptr_array_add (bufs_in, create_rtp_packet (100, ssrc, RTP_TSTAMP (1), in _single_ssrc_test()
281 g_ptr_array_add (bufs_in, create_rtp_packet (100, ssrc, RTP_TSTAMP (1), in _single_ssrc_test()
284 g_ptr_array_add (bufs_in, create_rtp_packet (96, ssrc, RTP_TSTAMP (2), in _single_ssrc_test()
286 g_ptr_array_add (bufs_in, create_rtp_packet (96, ssrc, RTP_TSTAMP (3), in _single_ssrc_test()
288 g_ptr_array_add (bufs_in, create_rtp_packet (96, ssrc, RTP_TSTAMP (4), in _single_ssrc_test()
290 g_ptr_array_add (bufs_in, create_rtp_packet (100, ssrc, RTP_TSTAMP (4), in _single_ssrc_test()
292 g_ptr_array_add (bufs_in, create_rtp_packet (100, ssrc, RTP_TSTAMP (4), in _single_ssrc_test()
294 g_ptr_array_add (bufs_in, create_rtp_packet (100, ssrc, RTP_TSTAMP (4), in _single_ssrc_test()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/
Dtsmuxstream.c748 g_ptr_array_add (pmt_stream->descriptors, descriptor); in tsmux_stream_get_es_descrs()
770 g_ptr_array_add (pmt_stream->descriptors, descriptor); in tsmux_stream_get_es_descrs()
775 g_ptr_array_add (pmt_stream->descriptors, descriptor); in tsmux_stream_get_es_descrs()
843 g_ptr_array_add (pmt_stream->descriptors, descriptor); in tsmux_stream_get_es_descrs()
977 g_ptr_array_add (pmt_stream->descriptors, descriptor); in tsmux_stream_get_es_descrs()
982 g_ptr_array_add (pmt_stream->descriptors, descriptor); in tsmux_stream_get_es_descrs()
998 g_ptr_array_add (pmt_stream->descriptors, descriptor); in tsmux_stream_get_es_descrs()
1015 g_ptr_array_add (pmt_stream->descriptors, descriptor); in tsmux_stream_get_es_descrs()
1020 g_ptr_array_add (pmt_stream->descriptors, descriptor); in tsmux_stream_get_es_descrs()
1027 g_ptr_array_add (pmt_stream->descriptors, descriptor); in tsmux_stream_get_es_descrs()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dmpegts.c89 g_ptr_array_add (pat, program); in GST_START_TEST()
149 g_ptr_array_add (pmt->descriptors, desc); in GST_START_TEST()
159 g_ptr_array_add (stream->descriptors, desc); in GST_START_TEST()
160 g_ptr_array_add (pmt->streams, stream); in GST_START_TEST()
235 g_ptr_array_add (nit->descriptors, desc); in GST_START_TEST()
244 g_ptr_array_add (stream->descriptors, desc); in GST_START_TEST()
245 g_ptr_array_add (nit->streams, stream); in GST_START_TEST()
337 g_ptr_array_add (service->descriptors, desc); in GST_START_TEST()
338 g_ptr_array_add (sdt->services, service); in GST_START_TEST()
/third_party/libsoup/libsoup/
Dsoup-multipart.c202 g_ptr_array_add (multipart->headers, part_headers); in soup_multipart_new_from_message()
218 g_ptr_array_add (multipart->bodies, part_body); in soup_multipart_new_from_message()
318 g_ptr_array_add (multipart->headers, headers_copy); in soup_multipart_append_part()
319 g_ptr_array_add (multipart->bodies, soup_buffer_copy (body)); in soup_multipart_append_part()
386 g_ptr_array_add (multipart->headers, headers); in soup_multipart_append_form_file()
387 g_ptr_array_add (multipart->bodies, soup_buffer_copy (body)); in soup_multipart_append_form_file()
/third_party/glib/glib/
Dgstrvbuilder.c113 g_ptr_array_add (&builder->array, g_strdup (value)); in g_strv_builder_add()
132 g_ptr_array_add (&builder->array, NULL); in g_strv_builder_end()
Dgcharset.c532 g_ptr_array_add (array, val); in append_locale_variants()
580 g_ptr_array_add (array, NULL); in g_get_locale_variants()
735 g_ptr_array_add (array, g_strdup ("C")); in g_get_language_names_with_category()
736 g_ptr_array_add (array, NULL); in g_get_language_names_with_category()
/third_party/gstreamer/gstplugins_good/gst/multifile/
Dgstsplitutils.c68 g_ptr_array_add (files, g_build_filename (dirname, name, NULL)); in gst_split_util_find_files()
76 g_ptr_array_add (files, NULL); in gst_split_util_find_files()
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxfessence.c77 g_ptr_array_add (_essence_element_writer_pad_templates, in mxf_essence_element_writer_register()
90 g_ptr_array_add (_essence_element_writer_pad_templates, NULL); in mxf_essence_element_writer_get_pad_templates()
/third_party/glib/gio/
Dgdbusintrospection.c888 g_ptr_array_add (data->annotations, NULL); in parse_data_steal_annotations()
906 g_ptr_array_add (data->args, NULL); in parse_data_steal_args()
924 g_ptr_array_add (data->out_args, NULL); in parse_data_steal_out_args()
942 g_ptr_array_add (data->methods, NULL); in parse_data_steal_methods()
960 g_ptr_array_add (data->signals, NULL); in parse_data_steal_signals()
978 g_ptr_array_add (data->properties, NULL); in parse_data_steal_properties()
996 g_ptr_array_add (data->interfaces, NULL); in parse_data_steal_interfaces()
1014 g_ptr_array_add (data->nodes, NULL); in parse_data_steal_nodes()
1110 g_ptr_array_add (data->annotations, g_new0 (GDBusAnnotationInfo, 1)); in parse_data_get_annotation()
1119 g_ptr_array_add (data->args, g_new0 (GDBusArgInfo, 1)); in parse_data_get_arg()
[all …]
Dgvfs.c288 g_ptr_array_add (supported_schemes, (gpointer) *default_schemes); in g_vfs_get_supported_uri_schemes()
295 g_ptr_array_add (supported_schemes, (gpointer) additional_scheme); in g_vfs_get_supported_uri_schemes()
299 g_ptr_array_add (supported_schemes, NULL); in g_vfs_get_supported_uri_schemes()
Dgcontenttype.c101 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()
111 g_ptr_array_add (array, NULL); in _g_unix_content_type_get_parents()
133 g_ptr_array_add (mime_dirs, g_build_filename (g_get_user_data_dir (), "mime", NULL)); in _g_content_type_set_mime_dirs_locked()
135 g_ptr_array_add (mime_dirs, g_build_filename (*system_dirs, "mime", NULL)); in _g_content_type_set_mime_dirs_locked()
136 g_ptr_array_add (mime_dirs, NULL); /* NULL terminator */ in _g_content_type_set_mime_dirs_locked()
1478 g_ptr_array_add (types, g_strdup (match->contenttype)); in match_match()
1525 g_ptr_array_add (types, NULL); in g_content_type_guess_for_tree()

12345