/third_party/glib/glib/tests/ |
D | asyncqueue.c | 35 i1 = GPOINTER_TO_INT (d1); in compare_func() 36 i2 = GPOINTER_TO_INT (d2); in compare_func() 57 g_assert_cmpint (GPOINTER_TO_INT (g_async_queue_pop (q)), ==, 1); in test_async_queue_sort() 58 g_assert_cmpint (GPOINTER_TO_INT (g_async_queue_pop (q)), ==, 2); in test_async_queue_sort() 59 g_assert_cmpint (GPOINTER_TO_INT (g_async_queue_pop (q)), ==, 7); in test_async_queue_sort() 60 g_assert_cmpint (GPOINTER_TO_INT (g_async_queue_pop (q)), ==, 8); in test_async_queue_sort() 61 g_assert_cmpint (GPOINTER_TO_INT (g_async_queue_pop (q)), ==, 10); in test_async_queue_sort() 107 gint pos = GPOINTER_TO_INT (data); in thread_func() 112 value = GPOINTER_TO_INT (g_async_queue_pop (q)); in thread_func() 239 g_assert_cmpint (GPOINTER_TO_INT (g_async_queue_pop (q)), ==, 10); in test_async_queue_remove() [all …]
|
D | private.c | 45 g_assert_cmpint (GPOINTER_TO_INT (value), ==, 1); in test_private1() 49 g_assert_cmpint (GPOINTER_TO_INT (value), ==, 2); in test_private1() 65 gint value = GPOINTER_TO_INT (data); in private2_func() 74 v2 = GPOINTER_TO_INT (g_private_get (&private2)); in private2_func() 178 g_assert_cmpint (GPOINTER_TO_INT(value), ==, 1); in test_static_private1() 182 g_assert_cmpint (GPOINTER_TO_INT(value), ==, 2); in test_static_private1() 201 gint value = GPOINTER_TO_INT (data); in sp2_destroy2() 223 g_assert_cmpint (GPOINTER_TO_INT(value), ==, 1); in test_static_private2() 228 g_assert_cmpint (GPOINTER_TO_INT(value), ==, 2); in test_static_private2() 233 g_assert_cmpint (GPOINTER_TO_INT(value), ==, 3); in test_static_private2() [all …]
|
D | slist.c | 16 a = GPOINTER_TO_INT (p1); in sort() 17 b = GPOINTER_TO_INT (p2); in sort() 42 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); in test_slist_sort() 65 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); in test_slist_sort_with_data() 119 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); in test_slist_insert_sorted() 144 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); in test_slist_insert_sorted_with_data() 304 return *(gint*)l - GPOINTER_TO_INT(data); in find_num()
|
D | list.c | 17 a = GPOINTER_TO_INT (p1); in sort() 18 b = GPOINTER_TO_INT (p2); in sort() 43 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); in test_list_sort() 66 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); in test_list_sort_with_data() 120 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); in test_list_insert_sorted() 145 g_assert (GPOINTER_TO_INT (p1) <= GPOINTER_TO_INT (p2)); in test_list_insert_sorted_with_data() 427 return GINT_TO_POINTER (GPOINTER_TO_INT (value) * GPOINTER_TO_INT (data)); in multiply_value() 445 g_assert_cmpint (GPOINTER_TO_INT (u->data) * 2, ==, GPOINTER_TO_INT (v->data)); in test_list_copy_deep()
|
D | thread-pool.c | 56 if (GPOINTER_TO_INT (shared)) in test_simple() 98 if (GPOINTER_TO_INT (shared_first)) in test_create_first_pool() 118 if (GPOINTER_TO_INT (shared_first)) in test_create_first_pool() 131 if (GPOINTER_TO_INT (shared_first)) in test_create_first_pool()
|
D | scannerapi.c | 81 g_assert_cmpint (GPOINTER_TO_INT (value), ==, g_ascii_strtoull (key, NULL, 0)); in check_keys() 99 g_assert_cmpint (GPOINTER_TO_INT (g_scanner_lookup_symbol (fix->scanner, "5")), ==, 5); in test_scanner_symbols() 103 g_assert_cmpint (GPOINTER_TO_INT (g_scanner_scope_lookup_symbol (fix->scanner, 1, "4")), ==, 4); in test_scanner_symbols() 104 g_assert_cmpint (GPOINTER_TO_INT (g_scanner_scope_lookup_symbol (fix->scanner, 1, "5")), ==, 0); in test_scanner_symbols()
|
D | thread.c | 70 g_assert_cmpint (GPOINTER_TO_INT (result), ==, 1); in test_thread1() 109 retval += GPOINTER_TO_INT (result); in thread3_func() 128 g_assert_cmpint (GPOINTER_TO_INT(result), ==, 9); in test_thread3() 165 g_assert_cmpint (GPOINTER_TO_INT (result), ==, 1); in test_thread4()
|
D | queue.c | 85 gint element = GPOINTER_TO_INT (elm); in check_max() 95 gint element = GPOINTER_TO_INT (elm); in check_min() 137 int ai = GPOINTER_TO_INT (a); in compare_int() 138 int bi = GPOINTER_TO_INT (b); in compare_int() 567 g_assert (GPOINTER_TO_INT (q->tail->data) == max + 1); in random_test() 570 g_assert (GPOINTER_TO_INT (q->head->data) == min - 1); in random_test() 979 return GPOINTER_TO_INT (a) - GPOINTER_TO_INT (b); in find_custom() 1142 g_assert_cmpint (GPOINTER_TO_INT (g_queue_peek_nth (q, 0)), ==, 1); in test_push_nth_link() 1150 g_assert_cmpint (GPOINTER_TO_INT (g_queue_peek_nth (q, 0)), ==, 2); in test_push_nth_link() 1158 g_assert_cmpint (GPOINTER_TO_INT (g_queue_peek_nth (q, 0)), ==, 3); in test_push_nth_link() [all …]
|
D | once.c | 53 g_assert_cmpint (GPOINTER_TO_INT (res), ==, 1); in test_once_single_threaded() 58 g_assert_cmpint (GPOINTER_TO_INT (res), ==, 1); in test_once_single_threaded() 101 g_assert_cmpint (GPOINTER_TO_INT (res), ==, 1); in once_thread_func()
|
D | cond.c | 127 total = GPOINTER_TO_INT (g_thread_join (producer)); in test_cond1() 128 acc1 = GPOINTER_TO_INT (g_thread_join (consumer1)); in test_cond1() 129 acc2 = GPOINTER_TO_INT (g_thread_join (consumer2)); in test_cond1() 189 gint value = GPOINTER_TO_INT (data); in cond2_func()
|
D | 1bit-mutex.c | 107 gboolean use_pointers = GPOINTER_TO_INT (data); in thread_func() 124 gboolean use_pointers = GPOINTER_TO_INT (data); in testcase()
|
/third_party/gstreamer/gstreamer/tests/check/libs/ |
D | queuearray.c | 51 fail_unless_equals_int (GPOINTER_TO_INT (gst_queue_array_pop_head (array)), in GST_START_TEST() 84 fail_unless_equals_int (GPOINTER_TO_INT (gst_queue_array_pop_head (array)), in GST_START_TEST() 118 fail_unless_equals_int (GPOINTER_TO_INT (gst_queue_array_pop_head (array)), in GST_START_TEST() 139 fail_unless_equals_int (GPOINTER_TO_INT (gst_queue_array_pop_head (array)), in GST_START_TEST() 155 fail_unless_equals_int (GPOINTER_TO_INT (gst_queue_array_pop_head (array)), in GST_START_TEST() 176 fail_unless_equals_int (GPOINTER_TO_INT (gst_queue_array_pop_head (array)), in GST_START_TEST() 192 fail_unless_equals_int (GPOINTER_TO_INT (gst_queue_array_pop_head (array)), in GST_START_TEST() 238 fail_unless_equals_int (i, GPOINTER_TO_INT (dropped)); in GST_START_TEST() 277 fail_unless_equals_int (GPOINTER_TO_INT (gst_queue_array_peek_nth (array, in GST_START_TEST() 283 fail_unless_equals_int (GPOINTER_TO_INT (gst_queue_array_peek_nth (array, in GST_START_TEST() [all …]
|
/third_party/glib/tests/ |
D | asyncqueue-test.c | 43 id1 = GPOINTER_TO_INT (p1); in sort_compare() 44 id2 = GPOINTER_TO_INT (p2); in sort_compare() 63 sort_multiplier = GPOINTER_TO_INT (user_data); in sort_queue() 87 DEBUG_MSG (("item %d ---> %d", i, GPOINTER_TO_INT (p))); in sort_queue() 90 g_assert (GPOINTER_TO_INT (last_p) <= GPOINTER_TO_INT (p)); in sort_queue() 110 id = GPOINTER_TO_INT (data); in enter_thread() 170 g_assert_cmpint (GPOINTER_TO_INT (item), ==, 1); in basic_tests()
|
D | thread-test.c | 16 g_assert (GPOINTER_TO_INT (data) == 42); in test_g_mutex_thread() 44 g_assert (GPOINTER_TO_INT (g_thread_join (thread)) == 41); in test_g_mutex() 56 g_assert (GPOINTER_TO_INT (data) == 42); in test_g_static_rec_mutex_thread() 102 g_assert (GPOINTER_TO_INT (g_thread_join (thread)) == 43); in test_g_static_rec_mutex() 137 guint number = GPOINTER_TO_INT (data); in test_g_static_private_thread() 186 return GINT_TO_POINTER (GPOINTER_TO_INT (data) * 3); in test_g_static_private_thread() 214 g_assert (GPOINTER_TO_INT (g_thread_join (threads[i])) == i * 3); in test_g_static_private()
|
D | child-test.c | 93 gint ttl = GPOINTER_TO_INT (data); in child_watch_callback() 123 gint ttl = GPOINTER_TO_INT (data); in test_thread()
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstiterator.c | 63 fail_unless (GPOINTER_TO_INT (g_value_get_pointer (&item)) == i); in GST_START_TEST() 103 fail_unless (GPOINTER_TO_INT (g_value_get_pointer (&item)) == i); in GST_START_TEST() 120 fail_unless (GPOINTER_TO_INT (g_value_get_pointer (&item)) == -1); in GST_START_TEST() 139 g_value_get_int (ret) + GPOINTER_TO_INT (g_value_get_pointer (item))); in add_fold_func() 221 ia = GPOINTER_TO_INT (g_value_get_pointer (va)); in filter2_cb() 248 value = GPOINTER_TO_INT (g_value_get_pointer (&item)); in GST_START_TEST() 270 ia = GPOINTER_TO_INT (g_value_get_pointer (va)); in filter2_lock_cb() 305 value = GPOINTER_TO_INT (g_value_get_pointer (&item)); in GST_START_TEST() 326 ia = GPOINTER_TO_INT (g_value_get_pointer (va)); in filter4_cb() 354 value = GPOINTER_TO_INT (g_value_get_pointer (&item)); in GST_START_TEST() [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | play.c | 293 gint step = GPOINTER_TO_INT (new_state->test_data); in test_play_audio_video_eos_cb() 547 fail_unless_equals_int (GPOINTER_TO_INT (state.test_data), 10); in START_TEST() 689 gint completed = GPOINTER_TO_INT (new_state->test_data); in test_play_media_info_cb() 723 fail_unless_equals_int (GPOINTER_TO_INT (state.test_data), 1); in START_TEST() 735 gint steps = GPOINTER_TO_INT (new_state->test_data) & 0xf; in test_play_stream_disable_cb() 736 gint mask = GPOINTER_TO_INT (new_state->test_data) & 0xf0; in test_play_stream_disable_cb() 786 fail_unless_equals_int (GPOINTER_TO_INT (state.test_data), 0x33); in START_TEST() 799 gint steps = GPOINTER_TO_INT (new_state->test_data); in test_play_stream_switch_audio_cb() 849 fail_unless_equals_int (GPOINTER_TO_INT (state.test_data), 2); in START_TEST() 862 gint steps = GPOINTER_TO_INT (new_state->test_data); in test_play_stream_switch_subtitle_cb() [all …]
|
/third_party/glib/gobject/tests/ |
D | qdata.c | 25 gint idx = GPOINTER_TO_INT (data); in thread_func() 36 value = GPOINTER_TO_INT (g_object_get_data (object, "test")); in thread_func() 78 result = GPOINTER_TO_INT (g_object_get_data (object, "test")); in test_qdata_threaded()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/ |
D | test-blob.c | 146 hb_memory_mode_t mm = (hb_memory_mode_t) GPOINTER_TO_INT (user_data); in fixture_init() 151 switch (GPOINTER_TO_INT (user_data)) in fixture_init() 209 hb_memory_mode_t mm = GPOINTER_TO_INT (user_data); in test_blob() 268 hb_memory_mode_t mm = GPOINTER_TO_INT (user_data); in test_blob_subblob()
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-blob.c | 146 hb_memory_mode_t mm = (hb_memory_mode_t) GPOINTER_TO_INT (user_data); in fixture_init() 151 switch (GPOINTER_TO_INT (user_data)) in fixture_init() 209 hb_memory_mode_t mm = GPOINTER_TO_INT (user_data); in test_blob() 268 hb_memory_mode_t mm = GPOINTER_TO_INT (user_data); in test_blob_subblob()
|
/third_party/harfbuzz/test/api/ |
D | test-blob.c | 146 hb_memory_mode_t mm = (hb_memory_mode_t) GPOINTER_TO_INT (user_data); in fixture_init() 151 switch (GPOINTER_TO_INT (user_data)) in fixture_init() 209 hb_memory_mode_t mm = GPOINTER_TO_INT (user_data); in test_blob() 268 hb_memory_mode_t mm = GPOINTER_TO_INT (user_data); in test_blob_subblob()
|
/third_party/glib/gio/tests/ |
D | vfs.c | 81 g_assert_cmpint (GPOINTER_TO_INT (g_object_get_data (G_OBJECT (file), "testfile")), ==, 1); in test_register_scheme() 85 g_assert_cmpint (GPOINTER_TO_INT (g_object_get_data (G_OBJECT (file), "testfile")), ==, 1); in test_register_scheme()
|
/third_party/glib/tests/gobject/ |
D | override.c | 122 g_assert (GPOINTER_TO_INT (pointer) == 23); in test_a_baz() 219 g_assert (GPOINTER_TO_INT (pointer) == 23); in test_b_baz() 307 g_assert (GPOINTER_TO_INT (pointer) == 23); in test_c_baz()
|
/third_party/gstreamer/gstplugins_bad/sys/ipcpipeline/ |
D | gstipcpipelinesrc.c | 327 id = GPOINTER_TO_INT (gst_mini_object_get_qdata (GST_MINI_OBJECT (object), in gst_ipc_pipeline_src_cancel_queued() 478 id = GPOINTER_TO_INT (gst_mini_object_get_qdata (GST_MINI_OBJECT (object), in gst_ipc_pipeline_src_loop() 585 skip = GPOINTER_TO_INT (gst_mini_object_get_qdata (GST_MINI_OBJECT (msg), in gst_ipc_pipeline_src_forward_message() 658 id = GPOINTER_TO_INT (gst_mini_object_get_qdata (GST_MINI_OBJECT in do_oob_event() 660 upstream = GPOINTER_TO_INT (gst_mini_object_get_qdata (GST_MINI_OBJECT in do_oob_event() 749 id = GPOINTER_TO_INT (gst_mini_object_get_qdata (GST_MINI_OBJECT in do_oob_query() 751 upstream = GPOINTER_TO_INT (gst_mini_object_get_qdata (GST_MINI_OBJECT in do_oob_query()
|
/third_party/gstreamer/gstplugins_base/tools/ |
D | gst-discoverer.c | 370 g_print ("%*s%s #%d: %s\n", 2 * GPOINTER_TO_INT (depth), " ", in print_stream_info() 382 GPOINTER_TO_INT (depth) + 1); in print_stream_info() 386 GPOINTER_TO_INT (depth) + 1); in print_stream_info() 390 GPOINTER_TO_INT (depth) + 1); in print_stream_info() 395 print_tags_topology (GPOINTER_TO_INT (depth) + 1, tags); in print_stream_info()
|