Lines Matching refs:data_size
1349 size_t * const data_size) in php_mysqlnd_read_row_ex() argument
1372 *data_size = 0; in php_mysqlnd_read_row_ex()
1382 buf = erealloc(buf, *data_size + header.size); in php_mysqlnd_read_row_ex()
1383 p = buf + *data_size; in php_mysqlnd_read_row_ex()
1384 *data_size += header.size; in php_mysqlnd_read_row_ex()
1399 buffer->ptr = pool->get_chunk(pool, *data_size + header.size + prealloc_more_bytes); in php_mysqlnd_read_row_ex()
1401 memcpy(buffer->ptr, buf, *data_size); in php_mysqlnd_read_row_ex()
1404 p = (zend_uchar *) buffer->ptr + *data_size; in php_mysqlnd_read_row_ex()
1405 *data_size += header.size; in php_mysqlnd_read_row_ex()
1519 const size_t data_size = row_buffer->size; in php_mysqlnd_rowp_read_text_protocol() local
1520 const zend_uchar * const packet_end = (zend_uchar*) p + data_size; in php_mysqlnd_rowp_read_text_protocol()
1667 size_t data_size = 0; in php_mysqlnd_rowp_read() local
1672 packet->result_set_memory_pool, &packet->row_buffer, &data_size); in php_mysqlnd_rowp_read()
1690 packet->header.size = data_size; in php_mysqlnd_rowp_read()
1691 packet->row_buffer.size = data_size; in php_mysqlnd_rowp_read()
1700 php_mysqlnd_read_error_from_line(p + 1, data_size - 1, in php_mysqlnd_rowp_read()
1706 } else if (EODATA_MARKER == *p && data_size < 8) { /* EOF */ in php_mysqlnd_rowp_read()
1709 if (data_size > 1) { in php_mysqlnd_rowp_read()
1787 unsigned int data_size; in php_mysqlnd_prepare_read() local
1796 data_size = packet->header.size; in php_mysqlnd_prepare_read()
1802 php_mysqlnd_read_error_from_line(p, data_size - 1, in php_mysqlnd_prepare_read()
1811 if (data_size != PREPARE_RESPONSE_SIZE_41 && in php_mysqlnd_prepare_read()
1812 data_size != PREPARE_RESPONSE_SIZE_50 && in php_mysqlnd_prepare_read()
1813 !(data_size > PREPARE_RESPONSE_SIZE_50)) { in php_mysqlnd_prepare_read()
1814 DBG_ERR_FMT("Wrong COM_STMT_PREPARE response size. Received %u", data_size); in php_mysqlnd_prepare_read()
1815 php_error(E_WARNING, "Wrong COM_STMT_PREPARE response size. Received %u", data_size); in php_mysqlnd_prepare_read()
1832 if (data_size > 9) { in php_mysqlnd_prepare_read()