Lines Matching refs:options

188 	zval options;  in PHP_FUNCTION()  local
194 array_init(&options); in PHP_FUNCTION()
204 add_assoc_long(&options, "cost", cost); in PHP_FUNCTION()
218 add_assoc_long(&options, "memory_cost", memory_cost); in PHP_FUNCTION()
219 add_assoc_long(&options, "time_cost", time_cost); in PHP_FUNCTION()
220 add_assoc_long(&options, "threads", threads); in PHP_FUNCTION()
233 add_assoc_zval(return_value, "options", &options); in PHP_FUNCTION()
244 HashTable *options = 0; in PHP_FUNCTION() local
251 Z_PARAM_ARRAY_OR_OBJECT_HT(options) in PHP_FUNCTION()
265 … if (options && (option_buffer = zend_hash_str_find(options, "cost", sizeof("cost")-1)) != NULL) { in PHP_FUNCTION()
284 …if (options && (option_buffer = zend_hash_str_find(options, "memory_cost", sizeof("memory_cost")-1… in PHP_FUNCTION()
288 …if (options && (option_buffer = zend_hash_str_find(options, "time_cost", sizeof("time_cost")-1)) !… in PHP_FUNCTION()
292 …if (options && (option_buffer = zend_hash_str_find(options, "threads", sizeof("threads")-1)) != NU… in PHP_FUNCTION()
376 …d_string* php_password_get_salt(zval *return_value, size_t required_salt_len, HashTable *options) { in php_password_get_salt() argument
380 if (!options || !(option_buffer = zend_hash_str_find(options, "salt", sizeof("salt") - 1))) { in php_password_get_salt()
448 HashTable *options = NULL; in PHP_FUNCTION() local
454 Z_PARAM_ARRAY_OR_OBJECT_HT(options) in PHP_FUNCTION()
466 … if (options && (option_buffer = zend_hash_str_find(options, "cost", sizeof("cost")-1)) != NULL) { in PHP_FUNCTION()
476 if (!(salt = php_password_get_salt(return_value, Z_UL(22), options))) { in PHP_FUNCTION()
521 …if (options && (option_buffer = zend_hash_str_find(options, "memory_cost", sizeof("memory_cost")-1… in PHP_FUNCTION()
530 …if (options && (option_buffer = zend_hash_str_find(options, "time_cost", sizeof("time_cost")-1)) !… in PHP_FUNCTION()
539 …if (options && (option_buffer = zend_hash_str_find(options, "threads", sizeof("threads")-1)) != NU… in PHP_FUNCTION()
548 if (!(salt = php_password_get_salt(return_value, Z_UL(16), options))) { in PHP_FUNCTION()