Lines Matching refs:options

168 	zval options;  in PHP_FUNCTION()  local
174 array_init(&options); in PHP_FUNCTION()
184 add_assoc_long(&options, "cost", cost); in PHP_FUNCTION()
196 add_assoc_long(&options, "memory_cost", memory_cost); in PHP_FUNCTION()
197 add_assoc_long(&options, "time_cost", time_cost); in PHP_FUNCTION()
198 add_assoc_long(&options, "threads", threads); in PHP_FUNCTION()
211 add_assoc_zval(return_value, "options", &options); in PHP_FUNCTION()
222 HashTable *options = 0; in PHP_FUNCTION() local
229 Z_PARAM_ARRAY_OR_OBJECT_HT(options) in PHP_FUNCTION()
243 … if (options && (option_buffer = zend_hash_str_find(options, "cost", sizeof("cost")-1)) != NULL) { in PHP_FUNCTION()
261 …if (options && (option_buffer = zend_hash_str_find(options, "memory_cost", sizeof("memory_cost")-1… in PHP_FUNCTION()
265 …if (options && (option_buffer = zend_hash_str_find(options, "time_cost", sizeof("time_cost")-1)) !… in PHP_FUNCTION()
269 …if (options && (option_buffer = zend_hash_str_find(options, "threads", sizeof("threads")-1)) != NU… in PHP_FUNCTION()
344 …d_string* php_password_get_salt(zval *return_value, size_t required_salt_len, HashTable *options) { in php_password_get_salt() argument
348 if (!options || !(option_buffer = zend_hash_str_find(options, "salt", sizeof("salt") - 1))) { in php_password_get_salt()
416 HashTable *options = NULL; in PHP_FUNCTION() local
425 Z_PARAM_ARRAY_OR_OBJECT_HT(options) in PHP_FUNCTION()
437 … if (options && (option_buffer = zend_hash_str_find(options, "cost", sizeof("cost")-1)) != NULL) { in PHP_FUNCTION()
447 if (!(salt = php_password_get_salt(return_value, Z_UL(22), options))) { in PHP_FUNCTION()
486 …if (options && (option_buffer = zend_hash_str_find(options, "memory_cost", sizeof("memory_cost")-1… in PHP_FUNCTION()
495 …if (options && (option_buffer = zend_hash_str_find(options, "time_cost", sizeof("time_cost")-1)) !… in PHP_FUNCTION()
504 …if (options && (option_buffer = zend_hash_str_find(options, "threads", sizeof("threads")-1)) != NU… in PHP_FUNCTION()
513 if (!(salt = php_password_get_salt(return_value, Z_UL(16), options))) { in PHP_FUNCTION()