Lines Matching refs:copies
547 mysqlnd_stmt_copy_it(zval ** copies, zval * original, unsigned int param_count, unsigned int curren… in mysqlnd_stmt_copy_it() argument
549 if (!*copies) { in mysqlnd_stmt_copy_it()
550 *copies = mnd_ecalloc(param_count, sizeof(zval)); in mysqlnd_stmt_copy_it()
552 if (*copies) { in mysqlnd_stmt_copy_it()
553 ZVAL_COPY(&(*copies)[current], original); in mysqlnd_stmt_copy_it()
563 mysqlnd_stmt_free_copies(MYSQLND_STMT_DATA * stmt, zval *copies) in mysqlnd_stmt_free_copies() argument
565 if (copies) { in mysqlnd_stmt_free_copies()
568 zval_ptr_dtor(&copies[i]); in mysqlnd_stmt_free_copies()
570 mnd_efree(copies); in mysqlnd_stmt_free_copies()
659 mysqlnd_stmt_execute_store_types(MYSQLND_STMT_DATA * stmt, zval * copies, zend_uchar ** p) in mysqlnd_stmt_execute_store_types() argument
678 const zval *tmp_data = (copies && !Z_ISUNDEF(copies[i]))? &copies[i] : parameter; in mysqlnd_stmt_execute_store_types()
794 mysqlnd_stmt_execute_store_param_values(MYSQLND_STMT_DATA * stmt, zval * copies, zend_uchar * buf, … in mysqlnd_stmt_execute_store_param_values() argument
801 data = (copies && !Z_ISUNDEF(copies[i]))? &copies[i]: parameter; in mysqlnd_stmt_execute_store_param_values()
871 zval *copies = NULL;/* if there are different types */ in mysqlnd_stmt_execute_store_params() local
898 if (FAIL == mysqlnd_stmt_execute_prepare_param_types(stmt, &copies, &resend_types_next_time)) { in mysqlnd_stmt_execute_store_params()
910 mysqlnd_stmt_execute_store_types(stmt, copies, p); in mysqlnd_stmt_execute_store_params()
917 if (FAIL == mysqlnd_stmt_execute_calculate_param_values_size(stmt, &copies, &data_size)) { in mysqlnd_stmt_execute_store_params()
928 mysqlnd_stmt_execute_store_param_values(stmt, copies, *buf, p, null_byte_offset); in mysqlnd_stmt_execute_store_params()
932 mysqlnd_stmt_free_copies(stmt, copies); in mysqlnd_stmt_execute_store_params()