Home
last modified time | relevance | path

Searched refs:g_test_rand_int_range (Results 1 – 15 of 15) sorted by relevance

/third_party/glib/gobject/tests/
Dsignal-handler.c137 j = g_test_rand_int_range (0, HANDLERS); in test_disconnect_many_random()
176 j = g_test_rand_int_range (0, HANDLERS); in test_disconnect_2_signals()
223 j = g_test_rand_int_range (0, HANDLERS); in test_disconnect_2_objects()
261 j = g_test_rand_int_range (0, HANDLERS); in test_block_many()
/third_party/glib/gio/tests/
Dsleepy-stream.c26 symbols = g_test_rand_int_range (1, MAX_PIECE_SIZE + 1); in cook_piece()
30 gint c = g_test_rand_int_range (0, 30); in cook_piece()
65 pieces = g_test_rand_int_range (0, MAX_PIECES + 1); in cook_pieces()
Dcontexts.c379 for (i = 0; i < g_test_rand_int_range (1, 5); i++) in test_context_specific_emit()
Dglistmodel.c178 str[i] = g_test_rand_int_range ('a', 'z'); in make_random_string()
/third_party/glib/glib/tests/
Dgvariant.c60 gchar b = BASIC[g_test_rand_int_range (0, N_BASIC - definite)]; in append_type_string()
102 switch (g_test_rand_int_range (0, definite ? 5 : 7)) in append_type_string()
202 size = g_test_rand_int_range (0, 20); in append_tuple_type_string()
262 np = g_test_rand_int_range (0, np) + 1; in invalid_mutation()
263 nb = g_test_rand_int_range (0, nb) + 1; in invalid_mutation()
296 np = g_test_rand_int_range (0, np) + 1; in invalid_mutation()
327 p = INVALIDS[g_test_rand_int_range (0, N_INVALIDS)]; in invalid_mutation()
338 n = g_test_rand_int_range (0, length); in invalid_mutation()
502 n = g_test_rand_int_range (0, n) + 1; in generate_subtype()
1109 base_type = base_types[g_test_rand_int_range (0, 4)]; in random_type_string()
[all …]
Dgwakeuptest.c161 next_ctx = g_test_rand_int_range (0, NUM_THREADS); in dispatch_token()
Dslist.c445 array[i] = g_test_rand_int_range (NUMBER_MIN, NUMBER_MAX); in main()
Dtesting.c433 shared_rand_state.irange = g_test_rand_int_range (17, 35); in test_rand1()
452 g_assert_cmpint (shared_rand_state.irange, ==, g_test_rand_int_range (17, 35)); in test_rand2()
Dlist.c629 array[i] = g_test_rand_int_range (NUMBER_MIN, NUMBER_MAX); in main()
Dsequence.c1412 seed = g_test_rand_int_range (0, G_MAXINT); in main()
Dqueue.c1292 seed = g_test_rand_int_range (0, G_MAXINT); in main()
/third_party/glib/glib/
Dgtestutils.h476 gint32 g_test_rand_int_range (gint32 begin,
Dgtestutils.c1809 g_test_rand_int_range (gint32 begin, in g_test_rand_int_range() function
/third_party/glib/docs/reference/glib/
Dglib-sections.txt3559 g_test_rand_int_range
/third_party/glib/
DNEWS2337 - !443 tests: Avoid multithreaded use of g_test_rand_int_range