Lines Matching refs:out_array
643 static int mysqlnd_zval_array_to_mysqlnd_array(zval *in_array, MYSQLND ***out_array TSRMLS_DC)
651 *out_array = ecalloc(zend_hash_num_elements(Z_ARRVAL_P(in_array)) + 1, sizeof(MYSQLND *));
672 (*out_array)[current++] = mysql->mysql;
681 static int mysqlnd_zval_array_from_mysqlnd_array(MYSQLND **in_array, zval *out_array TSRMLS_DC)
689 zend_hash_init(new_hash, zend_hash_num_elements(Z_ARRVAL_P(out_array)), NULL, ZVAL_PTR_DTOR, 0);
691 for (zend_hash_internal_pointer_reset(Z_ARRVAL_P(out_array));
692 zend_hash_get_current_data(Z_ARRVAL_P(out_array), (void **) &elem) == SUCCESS;
693 zend_hash_move_forward(Z_ARRVAL_P(out_array)))
720 zend_hash_destroy(Z_ARRVAL_P(out_array));
721 efree(Z_ARRVAL_P(out_array));
724 Z_ARRVAL_P(out_array) = new_hash;
732 …l_zval_array_from_mysqlnd_array(MYSQLND **in_array, zval *in_zval_array, zval *out_array TSRMLS_DC)
761 zend_hash_destroy(Z_ARRVAL_P(out_array));
762 efree(Z_ARRVAL_P(out_array));
765 Z_ARRVAL_P(out_array) = new_hash;