Home
last modified time | relevance | path

Searched refs:evutil_weakrand_ (Results 1 – 8 of 8) sorted by relevance

/external/libevent/test/
Dtest-time.c57 return evutil_weakrand_(&weakrand_state) % n; in rand_int()
Dregress.h58 #define test_weakrand() (evutil_weakrand_(&test_weakrand_state))
Dtest-ratelim.c117 int r = evutil_weakrand_(&weakrand_state); in loud_writecb()
Dregress_util.c880 int startpoint = evutil_weakrand_(&seed) % 4; in test_evutil_rand()
881 int endpoint = 32 - (evutil_weakrand_(&seed) % 4); in test_evutil_rand()
Dregress_buffer.c1005 data[i] = (char)evutil_weakrand_(&seed); in test_evbuffer_add_file()
/external/libevent/
Dutil-internal.h297 ev_int32_t evutil_weakrand_(struct evutil_weakrand_state *seed);
Devutil.c2417 evutil_weakrand_(struct evutil_weakrand_state *state) in evutil_weakrand_() function
2442 result = evutil_weakrand_(state) / divisor; in evutil_weakrand_range_()
DChangeLog1048 o Change evutil_weakrand_() to avoid platform random() (e86af4b Nicholas