Lines Matching refs:state
32 s->state = php_random_uint128_add( in step()
33 …php_random_uint128_multiply(s->state, php_random_uint128_constant(2549297995355413924ULL,486554059… in step()
40 s->state = php_random_uint128_constant(0ULL, 0ULL); in php_random_pcgoneseq128xslrr64_seed128()
42 s->state = php_random_uint128_add(s->state, seed); in php_random_pcgoneseq128xslrr64_seed128()
46 static php_random_result generate(void *state) in generate() argument
48 php_random_status_state_pcgoneseq128xslrr64 *s = state; in generate()
54 .result = php_random_pcgoneseq128xslrr64_rotr64(s->state), in generate()
58 static zend_long range(void *state, zend_long min, zend_long max) in range() argument
62 .state = state, in range()
66 static bool serialize(void *state, HashTable *data) in serialize() argument
68 php_random_status_state_pcgoneseq128xslrr64 *s = state; in serialize()
72 u = php_random_uint128_hi(s->state); in serialize()
76 u = php_random_uint128_lo(s->state); in serialize()
83 static bool unserialize(void *state, HashTable *data) in unserialize() argument
85 php_random_status_state_pcgoneseq128xslrr64 *s = state; in unserialize()
103 s->state = php_random_uint128_constant(u[0], u[1]); in unserialize()
117 …m_pcgoneseq128xslrr64_advance(php_random_status_state_pcgoneseq128xslrr64 *state, uint64_t advance) in php_random_pcgoneseq128xslrr64_advance() argument
135 …state->state = php_random_uint128_add(php_random_uint128_multiply(acc_mult, state->state), acc_plu… in php_random_pcgoneseq128xslrr64_advance()
143 php_random_status_state_pcgoneseq128xslrr64 *state = engine.state; in PHP_METHOD() local
161 php_random_pcgoneseq128xslrr64_seed128(state, s); in PHP_METHOD()
176 php_random_pcgoneseq128xslrr64_seed128(state, php_random_uint128_constant(t[0], t[1])); in PHP_METHOD()
182 …php_random_pcgoneseq128xslrr64_seed128(state, php_random_uint128_constant(0ULL, (uint64_t) int_see… in PHP_METHOD()
192 php_random_status_state_pcgoneseq128xslrr64 *state = engine.state; in PHP_METHOD() local
204 php_random_pcgoneseq128xslrr64_advance(state, advance); in PHP_METHOD()