Searched refs:__rand (Results 1 – 14 of 14) sorted by relevance
/external/fio/lib/ |
D | rand.c | 56 __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()
|
D | zipf.c | 39 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()
|
D | rand.h | 10 static inline unsigned int __rand(struct frand_state *state) in __rand() function
|
/external/wpa_supplicant_8/hostapd/ |
D | hlr_auc_gw.c | 845 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/ |
D | trim.c | 82 r = __rand(&td->__trim_state); in io_u_should_trim()
|
D | io_u.c | 102 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()
|
D | verify.c | 1146 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()
|
D | backend.c | 752 io_u->rand_seed = __rand(&td->__verify_state); in do_io() 754 io_u->rand_seed *= __rand(&td->__verify_state); in do_io()
|
D | filesetup.c | 269 r = __rand(&td->__file_size_state); in get_rand_file_size()
|
D | init.c | 448 r = __rand(&td->__delay_state); in get_rand_start_delay()
|
/external/stlport/stlport/stl/ |
D | _algo.c | 550 _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.h | 367 _RandomNumberGenerator& __rand); 380 _RandomNumberGenerator& __rand); 392 _RandomNumberGenerator& __rand);
|
/external/fio/engines/ |
D | rdma.c | 609 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/ |
D | algorithm | 3091 _RandomNumberGenerator&& __rand) 3093 _RandomNumberGenerator& __rand) 3102 difference_type __i = __rand(__d);
|