Home
last modified time | relevance | path

Searched refs:_seed (Results 1 – 8 of 8) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Dseed48.c22 sseed[0] = r->_seed[0]; in _seed48_r()
23 sseed[1] = r->_seed[1]; in _seed48_r()
24 sseed[2] = r->_seed[2]; in _seed48_r()
25 r->_seed[0] = xseed[0]; in _seed48_r()
26 r->_seed[1] = xseed[1]; in _seed48_r()
27 r->_seed[2] = xseed[2]; in _seed48_r()
Dlrand48.c19 __dorand48(r, r->_seed); in _lrand48_r()
20 return (long)((unsigned long) r->_seed[2] << 15) + in _lrand48_r()
21 ((unsigned long) r->_seed[1] >> 1); in _lrand48_r()
Dmrand48.c20 __dorand48(r, r->_seed); in _mrand48_r()
21 i = (int32_t) ((uint32_t) (r->_seed[2]) << 16 | (uint32_t) (r->_seed[1])); in _mrand48_r()
Dlcong48.c20 r->_seed[0] = p[0]; in _lcong48_r()
21 r->_seed[1] = p[1]; in _lcong48_r()
22 r->_seed[2] = p[2]; in _lcong48_r()
Dsrand48.c20 r->_seed[0] = _RAND48_SEED_0; in _srand48_r()
21 r->_seed[1] = (unsigned short) seed; in _srand48_r()
22 r->_seed[2] = (unsigned short) ((unsigned long)seed >> 16); in _srand48_r()
Ddrand48.c20 return _erand48_r(r, r->_seed); in _drand48_r()
Drand48.h44 unsigned short _seed[3]; member
Drand48.c134 ._seed = { _RAND48_SEED_0, _RAND48_SEED_1, _RAND48_SEED_2 },