/third_party/libsoup/tests/ |
D | xmlrpc-old-test.c | 113 val = g_random_int_range (0, 400) / 4.0; in test_sum() 195 data->data[i] = (char)(g_random_int_range (0, 256)); in test_md5sum() 228 date = soup_date_new (1970 + (g_random_int_range (0, 50)), in test_dateChange() 229 1 + g_random_int_range (0, 12), in test_dateChange() 230 1 + g_random_int_range (0, 28), in test_dateChange() 231 g_random_int_range (0, 24), in test_dateChange() 232 g_random_int_range (0, 60), in test_dateChange() 233 g_random_int_range (0, 60)); in test_dateChange() 242 #define MAYBE (g_random_int_range (0, 3) != 0) in test_dateChange() 245 date->year = 1970 + (g_random_int_range (0, 50)); in test_dateChange() [all …]
|
D | xmlrpc-test.c | 88 val = g_random_int_range (0, 400) / 4.0; in test_sum() 168 data->data[i] = (char)(g_random_int_range (0, 256)); in test_md5sum() 204 date = soup_date_new (1970 + (g_random_int_range (0, 50)), in test_dateChange() 205 1 + g_random_int_range (0, 12), in test_dateChange() 206 1 + g_random_int_range (0, 28), in test_dateChange() 207 g_random_int_range (0, 24), in test_dateChange() 208 g_random_int_range (0, 60), in test_dateChange() 209 g_random_int_range (0, 60)); in test_dateChange() 220 #define MAYBE (g_random_int_range (0, 3) != 0) in test_dateChange() 223 date->year = 1970 + (g_random_int_range (0, 50)); in test_dateChange() [all …]
|
/third_party/glib/glib/tests/ |
D | sort.c | 38 data[i] = g_random_int_range (0, 10000); in test_sort_basic() 78 data[i].val = g_random_int_range (0, 10000); in test_sort_stable() 102 data[i].val = g_random_int_range (0, 10000); in test_sort_big()
|
D | rand.c | 112 i = g_random_int_range (8,16); in test_rand() 146 if (g_random_int_range (0, 4) == 1) in test_rand()
|
D | queue.c | 78 return g_random_int_range (0, 2); in rnd_bool() 155 where = g_random_int_range (OFF_QUEUE, LAST); in get_random_position() 157 where = g_random_int_range (HEAD, LAST); in get_random_position() 180 n = g_random_int_range (0, queue->length); in get_random_position() 213 #define RANDOM_QUEUE() &(queues[g_random_int_range(0, N_QUEUES)]) in random_test() 243 op = g_random_int_range (IS_EMPTY, LAST_OP); in random_test() 361 int x = g_random_int_range (0, 435435); in random_test() 372 int x = g_random_int_range (0, 236546); in random_test() 384 int x = g_random_int_range (0, 236546); in random_test() 470 int x = g_random_int_range (0, 386538); in random_test() [all …]
|
D | slice.c | 114 b = g_random_int_range (0, 30); in thread_allocate() 115 size = g_random_int_range (0, 4096); in thread_allocate()
|
D | tree.c | 439 a = g_random_int_range (0, strlen (scrambled)); in test_tree_insert() 440 b = g_random_int_range (0, strlen (scrambled)); in test_tree_insert()
|
D | array-test.c | 599 cur = g_random_int_range (0, 10000); in array_sort() 635 cur = g_random_int_range (0, 10000); in array_sort_with_data() 674 cur = g_random_int_range (0, 100); in array_clear_func() 928 index = g_random_int_range (-1, i + 1); in pointer_array_insert() 1351 val = g_random_int_range (0, 10000); in pointer_array_sort() 1525 g_ptr_array_add (gparray, GINT_TO_POINTER (g_random_int_range (0, 10000))); in pointer_array_sort_with_data() 1885 val = 'a' + g_random_int_range (0, 26); in byte_array_sort() 1913 val = 'a' + g_random_int_range (0, 26); in byte_array_sort_with_data()
|
D | sequence.c | 341 int b = g_random_int_range (0, length + 1); in get_random_range() 342 int e = g_random_int_range (b, length + 1); in get_random_range() 375 return g_random_int_range (-2, length + 5); in get_random_position() 437 #define RANDOM_SEQUENCE() &(sequences[g_random_int_range (0, N_SEQUENCES)]) in run_random_tests() 443 int op = g_random_int_range (0, N_OPS); in run_random_tests()
|
/third_party/glib/tests/ |
D | thread-test.c | 246 g_usleep (g_random_int_range (20,1000)); in test_g_static_rw_lock_thread() 267 g_usleep (g_random_int_range (20,1000)); in test_g_static_rw_lock_thread() 309 g_usleep (g_random_int_range (20,1000)); in test_g_once_init_func() 311 g_usleep (g_random_int_range (20,1000)); in test_g_once_init_func() 324 guint pos = g_random_int_range (0, G_ONCE_SIZE); in test_g_once_thread()
|
D | mainloop-test.c | 309 other_source = crawler_array->pdata[g_random_int_range (0, crawler_array->len)]; in remove_crawler() 337 GSource *source = g_timeout_source_new (g_random_int_range (0, CRAWLER_TIMEOUT_RANGE)); in create_crawler() 345 g_source_attach (source, context_array->pdata[g_random_int_range (0, context_array->len)]); in create_crawler() 390 context = context_array->pdata[g_random_int_range (0, context_array->len)]; in recurser_start()
|
D | sources.c | 39 a = g_random_int_range (0, num); in shuffle() 40 b = g_random_int_range (0, num); in shuffle()
|
D | threadpool-test.c | 149 g_usleep (g_random_int_range (0, 4000)); in test_thread_pools_entry_func() 286 id = g_random_int_range (1, limit) + 1; in test_thread_sort()
|
D | asyncqueue-test.c | 112 ms = g_random_int_range (MIN_TIME * 1000, MAX_TIME * 1000); in enter_thread()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpvp9pay.c | 104 obj->picture_id = g_random_int_range (0, G_MAXUINT8) & 0x7F; in gst_rtp_vp9_pay_init() 106 obj->picture_id = g_random_int_range (0, G_MAXUINT16) & 0x7FFF; in gst_rtp_vp9_pay_init() 155 rtpvp9pay->picture_id = g_random_int_range (0, G_MAXUINT8) & 0x7F; in gst_rtp_vp9_pay_set_property() 157 rtpvp9pay->picture_id = g_random_int_range (0, G_MAXUINT16) & 0x7FFF; in gst_rtp_vp9_pay_set_property() 524 self->picture_id = g_random_int_range (0, G_MAXUINT8) & 0x7F; in gst_rtp_vp9_pay_sink_event() 526 self->picture_id = g_random_int_range (0, G_MAXUINT16) & 0x7FFF; in gst_rtp_vp9_pay_sink_event()
|
/third_party/gstreamer/gstplugins_base/tests/icles/ |
D | stress-playbin.c | 25 wait_nanosecs = g_random_int_range (0, GST_MSECOND * delay); in play_file() 138 idx = g_random_int_range (0, files->len); in main()
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstbufferlist.c | 377 idx = g_random_int_range (0, gst_buffer_list_length (list)); in GST_START_TEST() 391 num = g_random_int_range (1, 5); in GST_START_TEST() 392 idx = g_random_int_range (0, gst_buffer_list_length (list) - num); in GST_START_TEST() 415 idx = g_random_int_range (0, gst_buffer_list_length (list)); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/va/ |
D | multiple-vpp.c | 252 g_random_int_range (channel->min_value, channel->max_value + 1); in change_cb_randomly() 278 idx = g_random_int_range (0, enumclass->n_values); in change_dir_randomly() 293 idx = g_random_int_range (0, G_N_ELEMENTS (orientation)); in change_dir_randomly()
|
/third_party/glib/gobject/tests/ |
D | threadtests.c | 291 data.unref_delay = g_random_int_range (SLEEP_MIN_USEC / 2, SLEEP_MAX_USEC / 2); in test_threaded_weak_ref() 292 get_delay = g_random_int_range (SLEEP_MIN_USEC, SLEEP_MAX_USEC); in test_threaded_weak_ref()
|
D | qdata.c | 33 d = g_random_int_range (-10, 100); in thread_func()
|
/third_party/glib/glib/ |
D | grand.h | 88 gint32 g_random_int_range (gint32 begin,
|
/third_party/glib/gio/ |
D | gsrvtarget.c | 289 val = g_random_int_range (0, sum + 1); in g_srv_target_list_sort()
|
/third_party/gstreamer/gstreamer/tests/benchmarks/ |
D | controller.c | 144 j = g_random_int_range (0, NUM_CP - 1); in main()
|
/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/ |
D | gstdiffuse.c | 179 angle = g_random_int_range (0, 256); in diffuse_map()
|
/third_party/glib/gio/tests/ |
D | gdbus-threading.c | 601 unref_delay = g_random_int_range (SLEEP_MIN_USEC, SLEEP_MAX_USEC); in test_threaded_singleton() 602 get_delay = g_random_int_range (SLEEP_MIN_USEC / 2, SLEEP_MAX_USEC / 2); in test_threaded_singleton()
|