Go to the source code of this file.
Typedefs | |
typedef rand_handle | rand_t |
Functions | |
__BEGIN_DECLS rand_t * | rand_open (void) |
int | rand_get (rand_t *r, void *buf, size_t len) |
int | rand_set (rand_t *r, const void *seed, size_t len) |
int | rand_add (rand_t *r, const void *buf, size_t len) |
uint8_t | rand_uint8 (rand_t *r) |
uint16_t | rand_uint16 (rand_t *r) |
uint32_t | rand_uint32 (rand_t *r) |
int | rand_shuffle (rand_t *r, void *base, size_t nmemb, size_t size) |
rand_t * | rand_close (rand_t *r) |
|
|
|
Definition at line 135 of file rand.c. References rand_addrandom(). Referenced by __pyx_f_4dnet_4rand_add(). |
|
Definition at line 203 of file rand.c. References NULL, and rand_handle::tmp. Referenced by __pyx_f_4dnet_4rand___dealloc__(), and START_TEST(). |
|
Definition at line 114 of file rand.c. References rand_getbyte(). Referenced by __pyx_f_4dnet_13__rand_xrange___init__(), __pyx_f_4dnet_4rand_get(), rand_main(), and START_TEST(). |
|
Definition at line 67 of file rand.c. References gettimeofday(), NULL, rand_addrandom(), and rand_init(). Referenced by __pyx_f_4dnet_4rand___init__(), rand_main(), and START_TEST(). |
|
Definition at line 126 of file rand.c. References rand_addrandom(), and rand_init(). Referenced by __pyx_f_4dnet_4rand_set(), and START_TEST(). |
|
Definition at line 170 of file rand.c. References memcpy, NULL, and rand_uint32(). Referenced by START_TEST(). |
|
Definition at line 148 of file rand.c. References rand_getbyte(). Referenced by __pyx_f_4dnet_4rand_uint16(). |
|
Definition at line 158 of file rand.c. References rand_getbyte(). Referenced by __pyx_f_4dnet_4rand_uint32(), and rand_shuffle(). |
|
Definition at line 142 of file rand.c. References rand_getbyte(). Referenced by __pyx_f_4dnet_4rand_uint8(). |