Lines Matching refs:copies

511 mysqlnd_stmt_copy_it(zval *** copies, zval * original, unsigned int param_count, unsigned int curre…  in mysqlnd_stmt_copy_it()  argument
513 if (!*copies) { in mysqlnd_stmt_copy_it()
514 *copies = mnd_ecalloc(param_count, sizeof(zval *)); in mysqlnd_stmt_copy_it()
516 if (*copies) { in mysqlnd_stmt_copy_it()
517 MAKE_STD_ZVAL((*copies)[current]); in mysqlnd_stmt_copy_it()
518 *(*copies)[current] = *original; in mysqlnd_stmt_copy_it()
519 Z_SET_REFCOUNT_P((*copies)[current], 1); in mysqlnd_stmt_copy_it()
520 zval_copy_ctor((*copies)[current]); in mysqlnd_stmt_copy_it()
537 zval **copies = NULL;/* if there are different types */ in mysqlnd_stmt_execute_store_params() local
585 PASS != mysqlnd_stmt_copy_it(&copies, stmt->param_bind[i].zv, stmt->param_count, i TSRMLS_CC)) in mysqlnd_stmt_execute_store_params()
595 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
662 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
696 if (!copies || !copies[i]) { in mysqlnd_stmt_execute_store_params()
697 if (PASS != mysqlnd_stmt_copy_it(&copies, the_var, stmt->param_count, i TSRMLS_CC)) { in mysqlnd_stmt_execute_store_params()
710 if (!copies || !copies[i]) { in mysqlnd_stmt_execute_store_params()
711 if (PASS != mysqlnd_stmt_copy_it(&copies, the_var, stmt->param_count, i TSRMLS_CC)) { in mysqlnd_stmt_execute_store_params()
720 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
730 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
752 if (!copies || !copies[i]) { in mysqlnd_stmt_execute_store_params()
753 if (PASS != mysqlnd_stmt_copy_it(&copies, the_var, stmt->param_count, i TSRMLS_CC)) { in mysqlnd_stmt_execute_store_params()
758 the_var = copies[i]; in mysqlnd_stmt_execute_store_params()
793 zval *data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_params()
847 if (copies) { in mysqlnd_stmt_execute_store_params()
849 if (copies[i]) { in mysqlnd_stmt_execute_store_params()
850 zval_ptr_dtor(&copies[i]); in mysqlnd_stmt_execute_store_params()
853 mnd_efree(copies); in mysqlnd_stmt_execute_store_params()