Home
last modified time | relevance | path

Searched refs:__seed (Results 1 – 3 of 3) sorted by relevance

/external/fio/lib/
Drand.c44 static inline uint64_t __seed(uint64_t x, uint64_t m) in __seed() function
55 state->s1 = __seed(LCG((2^31) + (2^17) + (2^7), seed), 1); in __init_rand32()
56 state->s2 = __seed(LCG(state->s1, seed), 7); in __init_rand32()
57 state->s3 = __seed(LCG(state->s2, seed), 15); in __init_rand32()
69 state->s1 = __seed(LCG64((2^31) + (2^17) + (2^7), seed), 1); in __init_rand64()
70 state->s2 = __seed(LCG64(state->s1, seed), 7); in __init_rand64()
71 state->s3 = __seed(LCG64(state->s2, seed), 15); in __init_rand64()
72 state->s4 = __seed(LCG64(state->s3, seed), 33); in __init_rand64()
73 state->s5 = __seed(LCG64(state->s4, seed), 49); in __init_rand64()
/external/libcxx/include/
Drandom1881 {__seed(__q, integral_constant<unsigned,
1914 void __seed(_Sseq& __q, integral_constant<unsigned, 1>);
1916 void __seed(_Sseq& __q, integral_constant<unsigned, 2>);
1952 linear_congruential_engine<_UIntType, __a, __c, __m>::__seed(_Sseq& __q,
1965 linear_congruential_engine<_UIntType, __a, __c, __m>::__seed(_Sseq& __q,
2125 {__seed(__q, integral_constant<unsigned, 1 + (__w - 1) / 32>());}
2174 void __seed(_Sseq& __q, integral_constant<unsigned, 1>);
2176 void __seed(_Sseq& __q, integral_constant<unsigned, 2>);
2322 __t, __c, __l, __f>::__seed(_Sseq& __q, integral_constant<unsigned, 1>)
2347 __t, __c, __l, __f>::__seed(_Sseq& __q, integral_constant<unsigned, 2>)
[all …]
/external/valgrind/perf/
Dtest_input_for_tinycc.c546 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
552 extern char *initstate (unsigned int __seed, char *__statebuf,
579 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
582 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
598 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
603 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));