Home
last modified time | relevance | path

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

/external/fio/lib/
Drand.c41 static inline int __seed(unsigned int x, unsigned int m) in __seed() function
52 state->s1 = __seed(LCG((2^31) + (2^17) + (2^7), seed), 1); in __init_rand()
53 state->s2 = __seed(LCG(state->s1, seed), 7); in __init_rand()
54 state->s3 = __seed(LCG(state->s2, seed), 15); in __init_rand()
/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__));