Home
last modified time | relevance | path

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

/PHP-5.3/ext/mysqli/
H A Dmysqli_nonapi.c608 HashTable *new_hash; local
612 ALLOC_HASHTABLE(new_hash);
613 zend_hash_init(new_hash, zend_hash_num_elements(Z_ARRVAL_P(out_array)), NULL, ZVAL_PTR_DTOR, 0);
633 zend_hash_next_index_insert(new_hash, (void *)elem, sizeof(zval *), (void **)&dest_elem);
647 zend_hash_internal_pointer_reset(new_hash);
648 Z_ARRVAL_P(out_array) = new_hash;
659 HashTable *new_hash; local
663 ALLOC_HASHTABLE(new_hash);
674 zend_hash_next_index_insert(new_hash, (void *)elem, sizeof(zval *), (void **)&dest_elem);
688 zend_hash_internal_pointer_reset(new_hash);
[all …]
/PHP-5.3/ext/standard/
H A Dstreamsfuncs.c656 HashTable *new_hash; in stream_array_from_fd_set() local
662 ALLOC_HASHTABLE(new_hash); in stream_array_from_fd_set()
702 zend_hash_internal_pointer_reset(new_hash); in stream_array_from_fd_set()
703 Z_ARRVAL_P(stream_array) = new_hash; in stream_array_from_fd_set()
712 HashTable *new_hash; in stream_array_emulate_read_fd_set() local
718 ALLOC_HASHTABLE(new_hash); in stream_array_emulate_read_fd_set()
736 zend_hash_next_index_insert(new_hash, (void *)elem, sizeof(zval *), (void **)&dest_elem); in stream_array_emulate_read_fd_set()
750 zend_hash_internal_pointer_reset(new_hash); in stream_array_emulate_read_fd_set()
751 Z_ARRVAL_P(stream_array) = new_hash; in stream_array_emulate_read_fd_set()
753 zend_hash_destroy(new_hash); in stream_array_emulate_read_fd_set()
[all …]
H A Darray.c2043 HashTable *new_hash; /* New hashtable for the stack */ in PHP_FUNCTION() local
2053 new_hash = php_splice(Z_ARRVAL_P(stack), 0, 0, &args[0], argc, NULL); in PHP_FUNCTION()
2058 *Z_ARRVAL_P(stack) = *new_hash; in PHP_FUNCTION()
2059 FREE_HASHTABLE(new_hash); in PHP_FUNCTION()
2075 HashTable *new_hash = NULL, /* Output array's hash */ in PHP_FUNCTION() local
2139 *Z_ARRVAL_P(array) = *new_hash; in PHP_FUNCTION()
2140 FREE_HASHTABLE(new_hash); in PHP_FUNCTION()
2615 HashTable *new_hash;/* Return value from splice */ in PHP_FUNCTION() local
2662 new_hash = php_splice(Z_ARRVAL_P(return_value), 0, 0, pads, num_pads, NULL); in PHP_FUNCTION()
2670 *Z_ARRVAL_P(return_value) = *new_hash; in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/sockets/
H A Dsockets.c741 HashTable *new_hash; local
749 ALLOC_HASHTABLE(new_hash);
750 zend_hash_init(new_hash, zend_hash_num_elements(Z_ARRVAL_P(sock_array)), NULL, ZVAL_PTR_DTOR, 0);
762 zend_hash_add(new_hash, key, key_len, (void *)element, sizeof(zval *), (void **)&dest_element);
765 …zend_hash_index_update(new_hash, num_key, (void *)element, sizeof(zval *), (void **)&dest_element);
777 zend_hash_internal_pointer_reset(new_hash);
778 Z_ARRVAL_P(sock_array) = new_hash;

Completed in 31 milliseconds