Searched refs:g_random_int_range (Results 1 - 12 of 12) sorted by relevance

/external/bluetooth/glib/glib/
H A Dgrand.h76 gint32 g_random_int_range (gint32 begin,
H A Dgrand.c551 * g_random_int_range:
561 g_random_int_range (gint32 begin, gint32 end) function
H A Dgaliasdef.c2265 #undef g_random_int_range macro
2266 extern __typeof (g_random_int_range) g_random_int_range __attribute((alias("IA__g_random_int_range"), visibility("default")));
H A Dgalias.h2258 extern __typeof (g_random_int_range) IA__g_random_int_range __attribute((visibility("hidden")));
2259 #define g_random_int_range IA__g_random_int_range macro
/external/bluetooth/glib/tests/
H A Dthread-test.c248 g_usleep (g_random_int_range (20,1000));
269 g_usleep (g_random_int_range (20,1000));
311 g_usleep (g_random_int_range (20,1000));
313 g_usleep (g_random_int_range (20,1000));
326 guint pos = g_random_int_range (0, G_ONCE_SIZE);
H A Dmainloop-test.c309 other_source = crawler_array->pdata[g_random_int_range (0, crawler_array->len)];
337 GSource *source = g_timeout_source_new (g_random_int_range (0, CRAWLER_TIMEOUT_RANGE));
344 g_source_attach (source, context_array->pdata[g_random_int_range (0, context_array->len)]);
387 context = context_array->pdata[g_random_int_range (0, context_array->len)];
H A Dqueue-test.c81 return g_random_int_range (0, 2);
158 where = g_random_int_range (OFF_QUEUE, LAST);
160 where = g_random_int_range (HEAD, LAST);
183 n = g_random_int_range (0, queue->length);
214 #define RANDOM_QUEUE() &(queues[g_random_int_range(0, N_QUEUES)])
247 op = g_random_int_range (IS_EMPTY, LAST_OP);
365 int x = g_random_int_range (0, 435435);
376 int x = g_random_int_range (0, 236546);
388 int x = g_random_int_range (0, 236546);
474 int x = g_random_int_range (
[all...]
H A Dasyncqueue-test.c112 ms = g_random_int_range (MIN_TIME * 1000, MAX_TIME * 1000);
H A Dlist-test.c195 array[i] = g_random_int_range (NUMBER_MIN, NUMBER_MAX);
H A Dslist-test.c187 array[i] = g_random_int_range (NUMBER_MIN, NUMBER_MAX);
H A Dthreadpool-test.c159 g_usleep (g_random_int_range (0, 4000));
296 id = g_random_int_range (1, limit) + 1;
H A Dsequence-test.c302 int b = g_random_int_range (0, length + 1);
303 int e = g_random_int_range (b, length + 1);
336 return g_random_int_range (-2, length + 5);
405 #define RANDOM_SEQUENCE() &(sequences[g_random_int_range (0, N_SEQUENCES)])
411 int op = g_random_int_range (0, N_OPS);

Completed in 48 milliseconds