Lines Matching refs:copies
610 mysqlnd_stmt_copy_it(zval *** copies, zval *original, unsigned int param_count, unsigned int curren… in mysqlnd_stmt_copy_it() argument
612 if (!*copies) { in mysqlnd_stmt_copy_it()
613 *copies = mnd_ecalloc(param_count, sizeof(zval *)); in mysqlnd_stmt_copy_it()
615 if (*copies) { in mysqlnd_stmt_copy_it()
616 MAKE_STD_ZVAL((*copies)[current]); in mysqlnd_stmt_copy_it()
617 *(*copies)[current] = *original; in mysqlnd_stmt_copy_it()
618 Z_SET_REFCOUNT_P((*copies)[current], 1); in mysqlnd_stmt_copy_it()
619 zval_copy_ctor((*copies)[current]); in mysqlnd_stmt_copy_it()
636 zval **copies = NULL;/* if there are different types */ in mysqlnd_stmt_execute_store_params() local
684 PASS != mysqlnd_stmt_copy_it(&copies, stmt->param_bind[i].zv, stmt->param_count, i TSRMLS_CC)) in mysqlnd_stmt_execute_store_params()
694 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
761 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
795 if (!copies || !copies[i]) { in mysqlnd_stmt_execute_store_params()
796 if (PASS != mysqlnd_stmt_copy_it(&copies, the_var, stmt->param_count, i TSRMLS_CC)) { in mysqlnd_stmt_execute_store_params()
809 if (!copies || !copies[i]) { in mysqlnd_stmt_execute_store_params()
810 if (PASS != mysqlnd_stmt_copy_it(&copies, the_var, stmt->param_count, i TSRMLS_CC)) { in mysqlnd_stmt_execute_store_params()
819 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
829 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
856 if (!copies || !copies[i]) { in mysqlnd_stmt_execute_store_params()
857 if (PASS != mysqlnd_stmt_copy_it(&copies, the_var, stmt->param_count, i TSRMLS_CC)) { in mysqlnd_stmt_execute_store_params()
862 the_var = copies[i]; in mysqlnd_stmt_execute_store_params()
902 zval *data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
956 if (copies) { in mysqlnd_stmt_execute_store_params()
958 if (copies[i]) { in mysqlnd_stmt_execute_store_params()
959 zval_ptr_dtor(&copies[i]); in mysqlnd_stmt_execute_store_params()
962 mnd_efree(copies); in mysqlnd_stmt_execute_store_params()