Home
last modified time | relevance | path

Searched refs:copy_hash (Results 1 – 1 of 1) sorted by relevance

/PHP-5.3/ext/hash/
H A Dhash.c535 php_hash_data *hash, *copy_hash; in PHP_FUNCTION() local
555 copy_hash = emalloc(sizeof(php_hash_data)); in PHP_FUNCTION()
556 copy_hash->ops = hash->ops; in PHP_FUNCTION()
557 copy_hash->context = context; in PHP_FUNCTION()
558 copy_hash->options = hash->options; in PHP_FUNCTION()
559 copy_hash->key = ecalloc(1, hash->ops->block_size); in PHP_FUNCTION()
561 memcpy(copy_hash->key, hash->key, hash->ops->block_size); in PHP_FUNCTION()
563 ZEND_REGISTER_RESOURCE(return_value, copy_hash, php_hash_le_hash); in PHP_FUNCTION()

Completed in 6 milliseconds