/third_party/glib/glib/tests/ |
D | asyncqueue.c | 48 g_async_queue_push (q, GINT_TO_POINTER (10)); in test_async_queue_sort() 49 g_async_queue_push (q, GINT_TO_POINTER (2)); in test_async_queue_sort() 50 g_async_queue_push (q, GINT_TO_POINTER (7)); in test_async_queue_sort() 54 g_async_queue_push_sorted (q, GINT_TO_POINTER (1), compare_func, NULL); in test_async_queue_sort() 55 g_async_queue_push_sorted (q, GINT_TO_POINTER (8), compare_func, NULL); in test_async_queue_sort() 85 g_async_queue_push (q, GINT_TO_POINTER (1)); in test_async_queue_destroy() 86 g_async_queue_push (q, GINT_TO_POINTER (1)); in test_async_queue_destroy() 87 g_async_queue_push (q, GINT_TO_POINTER (1)); in test_async_queue_destroy() 88 g_async_queue_push (q, GINT_TO_POINTER (1)); in test_async_queue_destroy() 136 threads[i] = g_thread_new ("test", thread_func, GINT_TO_POINTER (i)); in test_async_queue_threads() [all …]
|
D | queue.c | 319 g_assert (g_queue_find (q, GINT_TO_POINTER (first))); in random_test() 320 g_assert (g_queue_find (q, GINT_TO_POINTER (second))); in random_test() 324 g_assert (!g_queue_find (q, GINT_TO_POINTER (first))); in random_test() 325 g_assert (!g_queue_find (q, GINT_TO_POINTER (second))); in random_test() 337 g_queue_remove_all (q, GINT_TO_POINTER (max)); in random_test() 339 g_queue_remove_all (q, GINT_TO_POINTER (min)); in random_test() 341 g_queue_push_head (q, GINT_TO_POINTER (max)); in random_test() 343 g_queue_push_head (q, GINT_TO_POINTER (min)); in random_test() 353 qinf->head = g_queue_find (q, GINT_TO_POINTER (find_min(q))); in random_test() 354 qinf->tail = g_queue_find (q, GINT_TO_POINTER (find_max(q))); in random_test() [all …]
|
D | base64.c | 500 g_test_add_data_func ("/base64/full/1", GINT_TO_POINTER (DATA_SIZE), test_full); in main() 501 g_test_add_data_func ("/base64/full/2", GINT_TO_POINTER (1), test_full); in main() 502 g_test_add_data_func ("/base64/full/3", GINT_TO_POINTER (2), test_full); in main() 503 g_test_add_data_func ("/base64/full/4", GINT_TO_POINTER (3), test_full); in main() 505 …g_test_add_data_func ("/base64/encode/incremental/small-block/1", GINT_TO_POINTER (1), test_base64… in main() 506 …g_test_add_data_func ("/base64/encode/incremental/small-block/2", GINT_TO_POINTER (2), test_base64… in main() 507 …g_test_add_data_func ("/base64/encode/incremental/small-block/3", GINT_TO_POINTER (3), test_base64… in main() 508 …g_test_add_data_func ("/base64/encode/incremental/small-block/4", GINT_TO_POINTER (4), test_base64… in main() 510 …g_test_add_data_func ("/base64/incremental/nobreak/1", GINT_TO_POINTER (DATA_SIZE), test_increment… in main() 511 …g_test_add_data_func ("/base64/incremental/break/1", GINT_TO_POINTER (DATA_SIZE), test_incremental… in main() [all …]
|
D | private.c | 43 g_private_set (&private, GINT_TO_POINTER(1)); in test_private1() 47 g_private_set (&private, GINT_TO_POINTER(2)); in test_private1() 72 g_private_set (&private2, GINT_TO_POINTER (v)); in private2_func() 97 g_private_set (&private2, GINT_TO_POINTER (234)); in test_private2() 98 g_private_replace (&private2, GINT_TO_POINTER (123)); in test_private2() 101 thread[i] = g_thread_create (private2_func, GINT_TO_POINTER (i), TRUE, NULL); in test_private2() 176 g_static_private_set (&sp1, GINT_TO_POINTER(1), NULL); in test_static_private1() 180 g_static_private_set (&sp1, GINT_TO_POINTER(2), NULL); in test_static_private1() 220 g_static_private_set (&sp2, GINT_TO_POINTER(1), sp2_destroy); in test_static_private2() 225 g_static_private_set (&sp2, GINT_TO_POINTER(2), sp2_destroy2); in test_static_private2() [all …]
|
D | list.c | 33 list = g_list_append (list, GINT_TO_POINTER (array[i])); in test_list_sort() 56 list = g_list_append (list, GINT_TO_POINTER (array[i])); in test_list_sort_with_data() 111 list = g_list_insert_sorted (list, GINT_TO_POINTER (array[i]), sort); in test_list_insert_sorted() 134 GINT_TO_POINTER (array[i]), in test_list_insert_sorted_with_data() 409 l = g_list_append (l, GINT_TO_POINTER (1)); in test_list_copy() 410 l = g_list_append (l, GINT_TO_POINTER (2)); in test_list_copy() 411 l = g_list_append (l, GINT_TO_POINTER (3)); in test_list_copy() 427 return GINT_TO_POINTER (GPOINTER_TO_INT (value) * GPOINTER_TO_INT (data)); in multiply_value() 437 l = g_list_append (l, GINT_TO_POINTER (1)); in test_list_copy_deep() 438 l = g_list_append (l, GINT_TO_POINTER (2)); in test_list_copy_deep() [all …]
|
D | hook.c | 48 hook->data = GINT_TO_POINTER(1); in test_hook1() 59 hook->data = GINT_TO_POINTER(2); in test_hook1() 68 hook->data = GINT_TO_POINTER(3); in test_hook1() 75 hook->data = GINT_TO_POINTER(4); in test_hook1()
|
D | thread-pool.c | 150 g_test_add_data_func ("/thread_pool/shared", GINT_TO_POINTER (TRUE), test_simple); in main() 151 g_test_add_data_func ("/thread_pool/exclusive", GINT_TO_POINTER (FALSE), test_simple); in main() 152 …g_test_add_data_func ("/thread_pool/create_shared_after_exclusive", GINT_TO_POINTER (FALSE), test_… in main() 153 …g_test_add_data_func ("/thread_pool/create_exclusive_after_shared", GINT_TO_POINTER (TRUE), test_c… in main()
|
/third_party/gstreamer/gstreamer/tests/check/libs/ |
D | queuearray.c | 45 gst_queue_array_push_tail (array, GINT_TO_POINTER (i)); in GST_START_TEST() 72 gst_queue_array_push_tail (array, GINT_TO_POINTER (i)); in GST_START_TEST() 78 gst_queue_array_push_tail (array, GINT_TO_POINTER (10)); in GST_START_TEST() 104 gst_queue_array_push_tail (array, GINT_TO_POINTER (i)); in GST_START_TEST() 110 gst_queue_array_push_tail (array, GINT_TO_POINTER (i)); in GST_START_TEST() 138 gst_queue_array_push_tail (array, GINT_TO_POINTER (i)); in GST_START_TEST() 145 gst_queue_array_push_tail (array, GINT_TO_POINTER (i)); in GST_START_TEST() 150 gst_queue_array_push_tail (array, GINT_TO_POINTER (10)); in GST_START_TEST() 175 gst_queue_array_push_tail (array, GINT_TO_POINTER (i)); in GST_START_TEST() 182 gst_queue_array_push_tail (array, GINT_TO_POINTER (i)); in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | play.c | 309 GINT_TO_POINTER ((video ? 0x10 : 0x00) | (step + 1)); in test_play_audio_video_eos_cb() 316 GINT_TO_POINTER ((video ? 0x10 : 0x00) | (step + 1)); in test_play_audio_video_eos_cb() 321 GINT_TO_POINTER ((video ? 0x10 : 0x00) | (step + 1)); in test_play_audio_video_eos_cb() 333 GINT_TO_POINTER ((video ? 0x10 : 0x00) | (step + 1)); in test_play_audio_video_eos_cb() 340 GINT_TO_POINTER ((video ? 0x10 : 0x00) | (step + 1)); in test_play_audio_video_eos_cb() 345 GINT_TO_POINTER ((video ? 0x10 : 0x00) | (step + 1)); in test_play_audio_video_eos_cb() 352 GINT_TO_POINTER ((video ? 0x10 : 0x00) | (step + 1)); in test_play_audio_video_eos_cb() 359 GINT_TO_POINTER ((video ? 0x10 : 0x00) | (step + 1)); in test_play_audio_video_eos_cb() 365 GINT_TO_POINTER ((video ? 0x10 : 0x00) | (step + 1)); in test_play_audio_video_eos_cb() 372 GINT_TO_POINTER ((video ? 0x10 : 0x00) | (step + 1)); in test_play_audio_video_eos_cb() [all …]
|
/third_party/libsoup/tests/ |
D | coding-test.c | 494 GINT_TO_POINTER (CODING_TEST_NO_DECODER), in main() 497 GINT_TO_POINTER (CODING_TEST_DEFAULT), in main() 500 GINT_TO_POINTER (CODING_TEST_DEFAULT), in main() 503 GINT_TO_POINTER (CODING_TEST_DEFAULT), in main() 506 GINT_TO_POINTER (CODING_TEST_DEFAULT), in main() 509 GINT_TO_POINTER (CODING_TEST_DEFAULT), in main() 512 GINT_TO_POINTER (CODING_TEST_DEFAULT), in main() 515 GINT_TO_POINTER (CODING_TEST_DEFAULT), in main() 518 GINT_TO_POINTER (CODING_TEST_DEFAULT), in main() 522 GINT_TO_POINTER (CODING_TEST_NO_DECODER | CODING_TEST_REQUEST_API), in main() [all …]
|
D | sniffing-test.c | 154 g_object_set_data (G_OBJECT (msg), "content-sniffed", GINT_TO_POINTER (TRUE)); in content_sniffed() 173 g_object_set_data (G_OBJECT (msg), "got-headers", GINT_TO_POINTER (TRUE)); in got_headers() 189 g_object_set_data (G_OBJECT (msg), "got-chunk", GINT_TO_POINTER (TRUE)); in got_chunk() 235 "signal::got-headers", got_headers, GINT_TO_POINTER (should_pause), in do_signals_test() 236 "signal::got-chunk", got_chunk, GINT_TO_POINTER (should_accumulate), in do_signals_test() 237 "signal::content_sniffed", content_sniffed, GINT_TO_POINTER (should_pause), in do_signals_test() 457 GINT_TO_POINTER (FALSE), in main() 460 GINT_TO_POINTER (TRUE), in main()
|
D | context-test.c | 93 g_idle_add (idle_start_test1_thread, GINT_TO_POINTER (use_thread_context)); in do_test1() 344 g_test_add_data_func ("/context/blocking/explicit", GINT_TO_POINTER (FALSE), do_test1); in main() 345 g_test_add_data_func ("/context/blocking/thread-default", GINT_TO_POINTER (TRUE), do_test1); in main() 346 g_test_add_data_func ("/context/nested/explicit", GINT_TO_POINTER (FALSE), do_test2); in main() 347 g_test_add_data_func ("/context/nested/thread-default", GINT_TO_POINTER (TRUE), do_test2); in main()
|
/third_party/glib/gio/inotify/ |
D | inotify-path.c | 156 dir_list = g_hash_table_lookup (wd_dir_hash, GINT_TO_POINTER (wd)); in ip_map_wd_dir() 158 g_hash_table_replace (wd_dir_hash, GINT_TO_POINTER (dir->wd), dir_list); in ip_map_wd_dir() 168 file_list = g_hash_table_lookup (wd_file_hash, GINT_TO_POINTER (wd)); in ip_map_wd_file() 170 g_hash_table_replace (wd_file_hash, GINT_TO_POINTER (wd), file_list); in ip_map_wd_file() 177 GList *file_list = g_hash_table_lookup (wd_file_hash, GINT_TO_POINTER (wd)); in ip_unmap_wd_file() 185 g_hash_table_remove (wd_file_hash, GINT_TO_POINTER (wd)); in ip_unmap_wd_file() 187 g_hash_table_replace (wd_file_hash, GINT_TO_POINTER (wd), file_list); in ip_unmap_wd_file() 317 GList *dir_list = g_hash_table_lookup (wd_dir_hash, GINT_TO_POINTER (wd)); in ip_unmap_wd_dir() 325 g_hash_table_remove (wd_dir_hash, GINT_TO_POINTER (dir->wd)); in ip_unmap_wd_dir() 327 g_hash_table_replace (wd_dir_hash, GINT_TO_POINTER (dir->wd), dir_list); in ip_unmap_wd_dir() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/examples/dynamic/ |
D | addstream.c | 154 GINT_TO_POINTER (1)); in perform_step() 163 GINT_TO_POINTER (2)); in perform_step() 171 GINT_TO_POINTER (3)); in perform_step() 180 GINT_TO_POINTER (4)); in perform_step() 190 GINT_TO_POINTER (5)); in perform_step() 204 GINT_TO_POINTER (6)); in perform_step() 247 g_idle_add ((GSourceFunc) perform_step, GINT_TO_POINTER (0)); in main()
|
/third_party/glib/tests/ |
D | asyncqueue-test.c | 118 g_async_queue_push_sorted (async_queue, GINT_TO_POINTER (id), sort_compare, NULL); in enter_thread() 120 g_async_queue_push (async_queue, GINT_TO_POINTER (id)); in enter_thread() 161 g_async_queue_push (q, GINT_TO_POINTER (1)); in basic_tests() 162 g_async_queue_push (q, GINT_TO_POINTER (2)); in basic_tests() 163 g_async_queue_push (q, GINT_TO_POINTER (3)); in basic_tests() 210 g_thread_pool_push (thread_pool, GINT_TO_POINTER (i), &error); in main() 220 g_timeout_add (sort_interval, sort_queue, GINT_TO_POINTER (sort_multiplier)); in main()
|
D | child-test.c | 176 g_thread_create (test_thread, GINT_TO_POINTER (10), FALSE, NULL); in main() 177 g_thread_create (test_thread, GINT_TO_POINTER (20), FALSE, NULL); in main() 181 GINT_TO_POINTER (10)); in main() 184 GINT_TO_POINTER (20)); in main()
|
D | thread-test.c | 24 return GINT_TO_POINTER (41); in test_g_mutex_thread() 35 thread = g_thread_create (test_g_mutex_thread, GINT_TO_POINTER (42), in test_g_mutex() 67 g_thread_exit (GINT_TO_POINTER (43)); in test_g_static_rec_mutex_thread() 81 GINT_TO_POINTER (42), TRUE, NULL); in test_g_static_rec_mutex() 186 return GINT_TO_POINTER (GPOINTER_TO_INT (data) * 3); in test_g_static_private_thread() 200 GINT_TO_POINTER (i), TRUE, NULL); in test_g_static_private()
|
/third_party/glib/gobject/tests/ |
D | qdata.c | 39 g_object_set_data (object, "test", GINT_TO_POINTER (new_value)); in thread_func() 43 GINT_TO_POINTER (value), in thread_func() 44 GINT_TO_POINTER (new_value), in thread_func() 63 g_object_set_data (object, "test", GINT_TO_POINTER (0)); in test_qdata_threaded() 69 threads[i] = g_thread_new ("qdata", thread_func, GINT_TO_POINTER (i)); in test_qdata_threaded()
|
/third_party/glib/gio/ |
D | gmenuexporter.c | 424 g_hash_table_remove (group->menus, GINT_TO_POINTER (id)); in g_menu_exporter_group_remove_menu() 438 g_hash_table_insert (group->menus, GINT_TO_POINTER (id), menu); in g_menu_exporter_group_add_menu() 477 count = (gsize) g_hash_table_lookup (remote->watches, GINT_TO_POINTER (group_id)); in g_menu_exporter_remote_subscribe() 478 g_hash_table_insert (remote->watches, GINT_TO_POINTER (group_id), GINT_TO_POINTER (count + 1)); in g_menu_exporter_remote_subscribe() 492 count = (gsize) g_hash_table_lookup (remote->watches, GINT_TO_POINTER (group_id)); in g_menu_exporter_remote_unsubscribe() 498 g_hash_table_insert (remote->watches, GINT_TO_POINTER (group_id), GINT_TO_POINTER (count - 1)); in g_menu_exporter_remote_unsubscribe() 500 g_hash_table_remove (remote->watches, GINT_TO_POINTER (group_id)); in g_menu_exporter_remote_unsubscribe() 675 g_hash_table_remove (exporter->groups, GINT_TO_POINTER (id)); in g_menu_exporter_remove_group() 684 group = g_hash_table_lookup (exporter->groups, GINT_TO_POINTER (group_id)); in g_menu_exporter_lookup_group() 689 g_hash_table_insert (exporter->groups, GINT_TO_POINTER (group_id), group); in g_menu_exporter_lookup_group() [all …]
|
D | gdbusmenumodel.c | 295 group = g_hash_table_lookup (path->groups, GINT_TO_POINTER (group_id)); in g_dbus_menu_path_signal() 390 g_hash_table_remove (group->path->groups, GINT_TO_POINTER (group->id)); in g_dbus_menu_group_unref() 604 items = g_hash_table_lookup (group->menus, GINT_TO_POINTER (menu_id)); in g_dbus_menu_group_changed() 609 g_hash_table_insert (group->menus, GINT_TO_POINTER (menu_id), items); in g_dbus_menu_group_changed() 630 g_hash_table_remove (group->menus, GINT_TO_POINTER (menu_id)); in g_dbus_menu_group_changed() 634 if ((proxy = g_hash_table_lookup (group->proxies, GINT_TO_POINTER (menu_id)))) in g_dbus_menu_group_changed() 644 group = g_hash_table_lookup (path->groups, GINT_TO_POINTER (group_id)); in g_dbus_menu_group_get_from_path() 657 g_hash_table_insert (path->groups, GINT_TO_POINTER (group->id), group); in g_dbus_menu_group_get_from_path() 797 g_hash_table_remove (proxy->group->proxies, GINT_TO_POINTER (proxy->id)); in g_dbus_menu_model_finalize() 841 proxy = g_hash_table_lookup (group->proxies, GINT_TO_POINTER (menu_id)); in g_dbus_menu_model_get_from_group() [all …]
|
/third_party/gstreamer/gstplugins_base/ext/libvisual/ |
D | plugin.c | 90 GINT_TO_POINTER (GST_LEVEL_INFO)); in plugin_init() 92 GINT_TO_POINTER (GST_LEVEL_WARNING)); in plugin_init() 94 GINT_TO_POINTER (GST_LEVEL_ERROR)); in plugin_init() 96 GINT_TO_POINTER (GST_LEVEL_ERROR)); in plugin_init()
|
/third_party/gstreamer/gstplugins_bad/sys/dvb/ |
D | camsession.c | 357 GINT_TO_POINTER ((guint) session_nb), session); in handle_open_session_request() 404 GINT_TO_POINTER ((guint) session_nb)); in handle_create_session_response() 453 GINT_TO_POINTER ((guint) session_nb)); in handle_close_session_request() 480 GINT_TO_POINTER ((guint) session->session_nb)); in handle_close_session_request() 514 GINT_TO_POINTER ((guint) session_nb)); in handle_close_session_response() 526 GINT_TO_POINTER ((guint) session->session_nb)); in handle_close_session_response() 553 GINT_TO_POINTER ((guint) session_nb)); in handle_session_data()
|
D | camapplication.c | 123 GINT_TO_POINTER (application->resource_id)) != NULL) in cam_al_install() 129 GINT_TO_POINTER (application->resource_id), application); in cam_al_install() 140 GINT_TO_POINTER (application->resource_id)); in cam_al_uninstall() 149 GINT_TO_POINTER (resource_id))); in cam_al_get() 239 GINT_TO_POINTER (resource_id)); in open_session_request_cb()
|
/third_party/glib/tests/gobject/ |
D | performance.c | 905 GINT_TO_POINTER (COMPLEX_SIGNAL), 915 GINT_TO_POINTER (COMPLEX_SIGNAL_EMPTY), 925 GINT_TO_POINTER (COMPLEX_SIGNAL_GENERIC), 935 GINT_TO_POINTER (COMPLEX_SIGNAL_GENERIC_EMPTY), 945 GINT_TO_POINTER (COMPLEX_SIGNAL_ARGS), 955 GINT_TO_POINTER (COMPLEX_SIGNAL), 965 GINT_TO_POINTER (COMPLEX_SIGNAL_EMPTY), 975 GINT_TO_POINTER (COMPLEX_SIGNAL_GENERIC), 985 GINT_TO_POINTER (COMPLEX_SIGNAL_GENERIC_EMPTY), 995 GINT_TO_POINTER (COMPLEX_SIGNAL_ARGS),
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstformat.c | 71 g_hash_table_insert (_format_to_nick, GINT_TO_POINTER (standards->value), in _priv_gst_format_initialize() 163 g_hash_table_insert (_format_to_nick, GINT_TO_POINTER (format->value), in gst_format_register() 240 result = g_hash_table_lookup (_format_to_nick, GINT_TO_POINTER (format)); in gst_format_get_details()
|