Home
last modified time | relevance | path

Searched refs:__rand (Results 1 – 14 of 14) sorted by relevance

/external/fio/lib/
Drand.c56 __rand(state); in __init_rand()
84 unsigned long r = __rand(fs); in fill_random_buf()
87 r *= (unsigned long) __rand(fs); in fill_random_buf()
97 unsigned long r = __rand(fs); in fill_random_buf_percentage()
109 r *= (unsigned long) __rand(fs); in fill_random_buf_percentage()
Dzipf.c39 zs->rand_off = __rand(&zs->rand); in shared_rand_init()
62 rand_uni = (double) __rand(&zs->rand) / (double) FRAND_MAX; in zipf_next()
84 double rand = (double) __rand(&zs->rand) / (double) FRAND_MAX; in pareto_next()
Drand.h10 static inline unsigned int __rand(struct frand_state *state) in __rand() function
/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.c845 char *auts, *__rand; in aka_auts() local
858 __rand = strchr(auts, ' '); in aka_auts()
859 if (__rand == NULL) in aka_auts()
861 *__rand++ = '\0'; in aka_auts()
865 imsi, auts, __rand); in aka_auts()
868 hexstr2bin(__rand, _rand, EAP_AKA_RAND_LEN)) { in aka_auts()
/external/fio/
Dtrim.c82 r = __rand(&td->__trim_state); in io_u_should_trim()
Dio_u.c102 r = __rand(&td->__random_state); in __get_next_rand_offset()
207 r = __rand(&td->__seq_rand_state[ddir]); in should_do_random()
455 r = __rand(&td->__bsrange_state); in __get_next_buflen()
524 r = __rand(&td->__rwmix_state); in get_rand_ddir()
975 r = __rand(&td->__next_file_state); in get_next_file_rand()
Dverify.c1146 io_u->rand_seed = __rand(&td->__verify_state); in get_next_verify()
1148 io_u->rand_seed *= __rand(&td->__verify_state); in get_next_verify()
Dbackend.c752 io_u->rand_seed = __rand(&td->__verify_state); in do_io()
754 io_u->rand_seed *= __rand(&td->__verify_state); in do_io()
Dfilesetup.c269 r = __rand(&td->__file_size_state); in get_rand_file_size()
Dinit.c448 r = __rand(&td->__delay_state); in get_rand_start_delay()
/external/stlport/stlport/stl/
D_algo.c550 _RandomNumberGenerator &__rand) { in random_shuffle() argument
554 iter_swap(__i, __first + __rand((__i - __first) + 1)); in random_shuffle()
584 _RandomNumberGenerator& __rand) { in random_sample_n() argument
590 if (__rand(__remaining) < __m) { in random_sample_n()
628 _RandomNumberGenerator& __rand, in __random_sample() argument
637 _Distance __M = __rand(__t); in __random_sample()
662 _RandomNumberGenerator& __rand) { in random_sample() argument
666 __out_first, __rand, in random_sample()
D_algo.h367 _RandomNumberGenerator& __rand);
380 _RandomNumberGenerator& __rand);
392 _RandomNumberGenerator& __rand);
/external/fio/engines/
Drdma.c609 index = __rand(&rd->rand_state) % rd->rmt_nr; in fio_rdmaio_send()
619 index = __rand(&rd->rand_state) % rd->rmt_nr; in fio_rdmaio_send()
/external/libcxx/include/
Dalgorithm3091 _RandomNumberGenerator&& __rand)
3093 _RandomNumberGenerator& __rand)
3102 difference_type __i = __rand(__d);