Lines Matching refs:randomizer
31 static inline void randomizer_common_init(php_random_randomizer *randomizer, zend_object *engine_ob… in randomizer_common_init() argument
37 randomizer->engine = engine->engine; in randomizer_common_init()
41 randomizer->engine = (php_random_algo_with_state){ in randomizer_common_init()
58 randomizer->is_userland_algo = true; in randomizer_common_init()
65 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
89 randomizer_common_init(randomizer, Z_OBJ_P(&engine)); in PHP_METHOD()
96 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
97 php_random_algo_with_state engine = randomizer->engine; in PHP_METHOD()
139 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
175 RETURN_DOUBLE(php_random_gammasection_closed_open(randomizer->engine, min, max)); in PHP_METHOD()
182 RETURN_DOUBLE(php_random_gammasection_closed_closed(randomizer->engine, min, max)); in PHP_METHOD()
189 RETURN_DOUBLE(php_random_gammasection_open_closed(randomizer->engine, min, max)); in PHP_METHOD()
196 RETVAL_DOUBLE(php_random_gammasection_open_open(randomizer->engine, min, max)); in PHP_METHOD()
213 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
214 php_random_algo_with_state engine = randomizer->engine; in PHP_METHOD()
234 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
235 php_random_algo_with_state engine = randomizer->engine; in PHP_METHOD()
277 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
278 php_random_algo_with_state engine = randomizer->engine; in PHP_METHOD()
352 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
360 if (!php_array_data_shuffle(randomizer->engine, return_value)) { in PHP_METHOD()
369 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
381 …if (!php_binary_string_shuffle(randomizer->engine, Z_STRVAL_P(return_value), (zend_long) Z_STRLEN_… in PHP_METHOD()
390 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
400 randomizer->engine, in PHP_METHOD()
421 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
422 php_random_algo_with_state engine = randomizer->engine; in PHP_METHOD()
513 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
519 ZVAL_ARR(&t, zend_std_get_properties(&randomizer->std)); in PHP_METHOD()
528 php_random_randomizer *randomizer = Z_RANDOM_RANDOMIZER_P(ZEND_THIS); in PHP_METHOD() local
548 object_properties_load(&randomizer->std, Z_ARRVAL_P(members_zv)); in PHP_METHOD()
554 …zengine = zend_read_property(randomizer->std.ce, &randomizer->std, "engine", strlen("engine"), 1, … in PHP_METHOD()
560 randomizer_common_init(randomizer, Z_OBJ_P(zengine)); in PHP_METHOD()