Lines Matching refs:copies
890 php_mysqli_stmt_copy_it(zval *** copies, zval *original, uint param_count, uint current) argument
892 if (!*copies) {
893 *copies = ecalloc(param_count, sizeof(zval *));
895 MAKE_STD_ZVAL((*copies)[current]);
896 *(*copies)[current] = *original;
897 Z_SET_REFCOUNT_P((*copies)[current], 1);
898 zval_copy_ctor((*copies)[current]);
911 zval **copies = NULL; local
926 php_mysqli_stmt_copy_it(&copies, stmt->param.vars[i], stmt->param.var_cnt, i);
935 zval *the_var = copies && copies[i]? copies[i]:stmt->param.vars[i];
939 php_mysqli_stmt_copy_it(&copies, stmt->param.vars[i], stmt->param.var_cnt, i);
940 the_var = copies[i];
948 php_mysqli_stmt_copy_it(&copies, stmt->param.vars[i], stmt->param.var_cnt, i);
949 the_var = copies[i];
957 php_mysqli_stmt_copy_it(&copies, stmt->param.vars[i], stmt->param.var_cnt, i);
958 the_var = copies[i];
979 if (copies) {
981 if (copies[i]) {
982 zval_ptr_dtor(&copies[i]);
985 efree(copies);