Lines Matching refs:copies
747 php_mysqli_stmt_copy_it(zval *** copies, zval *original, uint param_count, uint current) in php_mysqli_stmt_copy_it() argument
749 if (!*copies) { in php_mysqli_stmt_copy_it()
750 *copies = ecalloc(param_count, sizeof(zval *)); in php_mysqli_stmt_copy_it()
752 MAKE_STD_ZVAL((*copies)[current]); in php_mysqli_stmt_copy_it()
753 *(*copies)[current] = *original; in php_mysqli_stmt_copy_it()
754 Z_SET_REFCOUNT_P((*copies)[current], 1); in php_mysqli_stmt_copy_it()
755 zval_copy_ctor((*copies)[current]); in php_mysqli_stmt_copy_it()
768 zval **copies = NULL; in PHP_FUNCTION() local
783 php_mysqli_stmt_copy_it(&copies, stmt->param.vars[i], stmt->param.var_cnt, i); in PHP_FUNCTION()
792 zval *the_var = copies && copies[i]? copies[i]:stmt->param.vars[i]; in PHP_FUNCTION()
796 php_mysqli_stmt_copy_it(&copies, stmt->param.vars[i], stmt->param.var_cnt, i); in PHP_FUNCTION()
797 the_var = copies[i]; in PHP_FUNCTION()
805 php_mysqli_stmt_copy_it(&copies, stmt->param.vars[i], stmt->param.var_cnt, i); in PHP_FUNCTION()
806 the_var = copies[i]; in PHP_FUNCTION()
814 php_mysqli_stmt_copy_it(&copies, stmt->param.vars[i], stmt->param.var_cnt, i); in PHP_FUNCTION()
815 the_var = copies[i]; in PHP_FUNCTION()
836 if (copies) { in PHP_FUNCTION()
838 if (copies[i]) { in PHP_FUNCTION()
839 zval_ptr_dtor(&copies[i]); in PHP_FUNCTION()
842 efree(copies); in PHP_FUNCTION()