Lines Matching refs:copies

517 mysqlnd_stmt_copy_it(zval *** copies, zval * original, unsigned int param_count, unsigned int curre…  in mysqlnd_stmt_copy_it()  argument
519 if (!*copies) { in mysqlnd_stmt_copy_it()
520 *copies = mnd_ecalloc(param_count, sizeof(zval *)); in mysqlnd_stmt_copy_it()
522 if (*copies) { in mysqlnd_stmt_copy_it()
523 MAKE_STD_ZVAL((*copies)[current]); in mysqlnd_stmt_copy_it()
524 *(*copies)[current] = *original; in mysqlnd_stmt_copy_it()
525 Z_SET_REFCOUNT_P((*copies)[current], 1); in mysqlnd_stmt_copy_it()
526 zval_copy_ctor((*copies)[current]); in mysqlnd_stmt_copy_it()
536 mysqlnd_stmt_free_copies(MYSQLND_STMT_DATA * stmt, zval ** copies TSRMLS_DC) in mysqlnd_stmt_free_copies()
538 if (copies) { in mysqlnd_stmt_free_copies()
541 if (copies[i]) { in mysqlnd_stmt_free_copies()
542 zval_ptr_dtor(&copies[i]); in mysqlnd_stmt_free_copies()
545 mnd_efree(copies); in mysqlnd_stmt_free_copies()
589 zval ** copies; in mysqlnd_stmt_execute_prepare_param_types() local
597 copies = *copies_param; in mysqlnd_stmt_execute_prepare_param_types()
603 zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_prepare_param_types()
641 mysqlnd_stmt_execute_store_types(MYSQLND_STMT_DATA * stmt, zval ** copies, zend_uchar ** p) in mysqlnd_stmt_execute_store_types() argument
658 const zval *tmp_data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_types()
769 mysqlnd_stmt_execute_store_param_values(MYSQLND_STMT_DATA * stmt, zval ** copies, zend_uchar * buf,… in mysqlnd_stmt_execute_store_param_values() argument
773 zval * data = (copies && copies[i])? copies[i]: stmt->param_bind[i].zv; in mysqlnd_stmt_execute_store_param_values()
837 zval **copies = NULL;/* if there are different types */ in mysqlnd_stmt_execute_store_params() local
864 …if (FAIL == mysqlnd_stmt_execute_prepare_param_types(stmt, &copies, &resend_types_next_time TSRMLS… in mysqlnd_stmt_execute_store_params()
876 mysqlnd_stmt_execute_store_types(stmt, copies, p); in mysqlnd_stmt_execute_store_params()
883 …if (FAIL == mysqlnd_stmt_execute_calculate_param_values_size(stmt, &copies, &data_size TSRMLS_CC))… in mysqlnd_stmt_execute_store_params()
894 mysqlnd_stmt_execute_store_param_values(stmt, copies, *buf, p, null_byte_offset); in mysqlnd_stmt_execute_store_params()
898 mysqlnd_stmt_free_copies(stmt, copies TSRMLS_CC); in mysqlnd_stmt_execute_store_params()