Lines Matching refs:threads
170 zend_long *time_cost, zend_long *threads) /* {{{ */ in extract_argon2_parameters() argument
173 …T "$m=" ZEND_LONG_FMT ",t=" ZEND_LONG_FMT ",p=" ZEND_LONG_FMT, v, memory_cost, time_cost, threads); in extract_argon2_parameters()
175 …T "$m=" ZEND_LONG_FMT ",t=" ZEND_LONG_FMT ",p=" ZEND_LONG_FMT, v, memory_cost, time_cost, threads); in extract_argon2_parameters()
214 zend_long threads = PHP_PASSWORD_ARGON2_THREADS; in PHP_FUNCTION() local
216 extract_argon2_parameters(algo, hash, &v, &memory_cost, &time_cost, &threads); in PHP_FUNCTION()
220 add_assoc_long(&options, "threads", threads); in PHP_FUNCTION()
282 zend_long new_threads = PHP_PASSWORD_ARGON2_THREADS, threads = 0; in PHP_FUNCTION() local
296 extract_argon2_parameters(algo, hash, &v, &memory_cost, &time_cost, &threads); in PHP_FUNCTION()
298 if (new_time_cost != time_cost || new_memory_cost != memory_cost || new_threads != threads) { in PHP_FUNCTION()
511 size_t threads = PHP_PASSWORD_ARGON2_THREADS; in PHP_FUNCTION() local
540 threads = zval_get_long(option_buffer); in PHP_FUNCTION()
543 if (threads > ARGON2_MAX_LANES || threads == 0) { in PHP_FUNCTION()
556 threads, in PHP_FUNCTION()
566 threads, in PHP_FUNCTION()