HomeSort by relevance Sort by last modified time
    Searched refs:g_rand_int (Results 1 - 8 of 8) sorted by null

  /external/bluetooth/glib/glib/
grand.h 61 #define g_rand_boolean(rand_) ((g_rand_int (rand_) & (1 << 15)) != 0)
63 guint32 g_rand_int (GRand *rand_);
grand.c 360 * g_rand_int:
369 g_rand_int (GRand* rand) function
431 /* This method, which only calls g_rand_int once is only good
433 * from the one call to g_rand_int (). */
435 /* we are using (trans + trans * trans), because g_rand_int only
436 * covers [0..2^32-1] and thus g_rand_int * trans only covers
440 gdouble double_rand = g_rand_int (rand) *
473 random = g_rand_int (rand);
500 32. Thats why we need two calls to g_rand_int */
501 gdouble retval = g_rand_int (rand) * G_RAND_DOUBLE_TRANSFORM
    [all...]
gtestutils.c 510 guint32 t1 = g_rand_int (rg), t2 = g_rand_int (rg), t3 = g_rand_int (rg), t4 = g_rand_int (rg);
583 return g_rand_int (test_run_rand);
    [all...]
galiasdef.c 2241 #undef g_rand_int macro
    [all...]
galias.h 2235 #define g_rand_int macro
    [all...]
  /external/bluetooth/glib/gio/tests/
data-input-stream.c 291 x = (guchar)g_rand_int (rand);
data-output-stream.c 265 while (! x) x = (guchar)g_rand_int (rand);
  /external/bluetooth/glib/tests/refcount/
signals.c 200 test->value = g_rand_int (rand);

Completed in 60 milliseconds