OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GRand
(Results
1 - 6
of
6
) sorted by null
/external/bluetooth/glib/glib/
grand.h
38
typedef struct _GRand
GRand
;
40
/*
GRand
- a good and fast random number generator: Mersenne Twister
49
GRand
* g_rand_new_with_seed (guint32 seed);
50
GRand
* g_rand_new_with_seed_array (const guint32 *seed,
52
GRand
* g_rand_new (void);
53
void g_rand_free (
GRand
*rand_);
54
GRand
* g_rand_copy (
GRand
*rand_);
55
void g_rand_set_seed (
GRand
*rand_,
57
void g_rand_set_seed_array (
GRand
*rand_
[
all
...]
grand.c
59
static
GRand
* global_random = NULL;
123
* Return value: the new #
GRand
.
125
GRand
*
128
GRand
*rand = g_new0 (
GRand
, 1);
140
* Return value: the new #
GRand
.
144
GRand
*
147
GRand
*rand = g_new0 (
GRand
, 1);
159
* Return value: the new #
GRand
[
all
...]
gtestutils.c
85
static
GRand
*test_run_rand = NULL;
506
/* verify
GRand
reliability, needed for reliable seeds */
509
GRand
*rg = g_rand_new_with_seed (0xc8c49fb6);
511
/* g_print ("
GRand
-current: 0x%x 0x%x 0x%x 0x%x\n", t1, t2, t3, t4); */
513
g_warning ("random numbers are not
GRand
-2.2 compatible, seeds may be broken (check $G_RANDOM_VERSION)");
534
if (strncmp (rseed, "R02S", 4) == 0) /* seed for random generator 02 (
GRand
-2.2) */
[
all
...]
/external/bluetooth/glib/gio/tests/
data-input-stream.c
279
GRand
*rand;
data-output-stream.c
254
GRand
*rand;
/external/bluetooth/glib/tests/refcount/
signals.c
12
static
GRand
*rand;
Completed in 67 milliseconds