Lines Matching refs:copies
517 mysqlnd_stmt_copy_it(zval ** copies, zval * original, unsigned int param_count, unsigned int curren… 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 ZVAL_COPY(&(*copies)[current], original); in mysqlnd_stmt_copy_it()
533 mysqlnd_stmt_free_copies(MYSQLND_STMT_DATA * stmt, zval *copies) in mysqlnd_stmt_free_copies() argument
535 if (copies) { in mysqlnd_stmt_free_copies()
538 zval_ptr_dtor(&copies[i]); in mysqlnd_stmt_free_copies()
540 mnd_efree(copies); in mysqlnd_stmt_free_copies()
633 mysqlnd_stmt_execute_store_types(MYSQLND_STMT_DATA * stmt, zval * copies, zend_uchar ** p) in mysqlnd_stmt_execute_store_types() argument
652 const zval *tmp_data = (copies && !Z_ISUNDEF(copies[i]))? &copies[i] : parameter; in mysqlnd_stmt_execute_store_types()
768 mysqlnd_stmt_execute_store_param_values(MYSQLND_STMT_DATA * stmt, zval * copies, zend_uchar * buf, … in mysqlnd_stmt_execute_store_param_values() argument
775 data = (copies && !Z_ISUNDEF(copies[i]))? &copies[i]: parameter; in mysqlnd_stmt_execute_store_param_values()
838 zval *copies = NULL;/* if there are different types */ in mysqlnd_stmt_execute_store_params() local
865 if (FAIL == mysqlnd_stmt_execute_prepare_param_types(stmt, &copies, &resend_types_next_time)) { in mysqlnd_stmt_execute_store_params()
877 mysqlnd_stmt_execute_store_types(stmt, copies, p); in mysqlnd_stmt_execute_store_params()
884 if (FAIL == mysqlnd_stmt_execute_calculate_param_values_size(stmt, &copies, &data_size)) { in mysqlnd_stmt_execute_store_params()
895 mysqlnd_stmt_execute_store_param_values(stmt, copies, *buf, p, null_byte_offset); in mysqlnd_stmt_execute_store_params()
899 mysqlnd_stmt_free_copies(stmt, copies); in mysqlnd_stmt_execute_store_params()