Home
last modified time | relevance | path

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

/external/fio/lib/
Drand.c57 __rand(state); in __init_rand()
100 unsigned long r = __rand(fs); in fill_random_buf()
103 r *= (unsigned long) __rand(fs); in fill_random_buf()
188 unsigned long r = __rand(fs); in fill_random_buf_percentage()
191 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.h18 static inline unsigned int __rand(struct frand_state *state) in __rand() function
/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.c813 char *auts, *__rand; in aka_auts() local
826 __rand = strchr(auts, ' '); in aka_auts()
827 if (__rand == NULL) in aka_auts()
829 *__rand++ = '\0'; in aka_auts()
833 imsi, auts, __rand); in aka_auts()
836 hexstr2bin(__rand, _rand, EAP_AKA_RAND_LEN)) { in aka_auts()
/external/fio/
Dtrim.c78 r = __rand(&td->trim_state); in io_u_should_trim()
Dio_u.c98 r = __rand(&td->random_state); in __get_next_rand_offset()
200 r = __rand(&td->seq_rand_state[ddir]); in should_do_random()
450 r = __rand(&td->bsrange_state); in __get_next_buflen()
515 r = __rand(&td->rwmix_state); in get_rand_ddir()
971 r = __rand(&td->next_file_state); in get_next_file_rand()
1852 r = __rand(&td->dedupe_state); in get_buf_state()
Dverify.c1134 io_u->rand_seed = __rand(&td->verify_state); in get_next_verify()
1136 io_u->rand_seed *= __rand(&td->verify_state); in get_next_verify()
Dbackend.c801 io_u->rand_seed = __rand(&td->verify_state); in do_io()
803 io_u->rand_seed *= __rand(&td->verify_state); in do_io()
Dfilesetup.c264 r = __rand(&td->file_size_state); in get_rand_file_size()
Dinit.c503 r = __rand(&td->delay_state); in get_rand_start_delay()
/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/
Dalgorithm3104 _RandomNumberGenerator&& __rand)
3106 _RandomNumberGenerator& __rand)
3115 difference_type __i = __rand(__d);