Lines Matching refs:buf_len

199 php_mysqlnd_read_error_from_line(const zend_uchar * const buf, const size_t buf_len,  in php_mysqlnd_read_error_from_line()  argument
211 if (buf_len > 2) { in php_mysqlnd_read_error_from_line()
220 if ((buf_len - (p - buf)) >= MYSQLND_SQLSTATE_LENGTH) { in php_mysqlnd_read_error_from_line()
227 if ((buf_len - (p - buf)) > 0) { in php_mysqlnd_read_error_from_line()
228 error_msg_len = MIN((int)((buf_len - (p - buf))), (int) (error_buf_len - 1)); in php_mysqlnd_read_error_from_line()
652 size_t buf_len = pfc->cmd_buffer.buffer? pfc->cmd_buffer.length: AUTH_RESP_BUFFER_SIZE; in php_mysqlnd_auth_response_read() local
660 buf_len--; in php_mysqlnd_auth_response_read()
661 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "OK", PROT_OK_PA… in php_mysqlnd_auth_response_read()
718 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_auth_response_read()
816 const size_t buf_len = pfc->cmd_buffer.buffer? pfc->cmd_buffer.length : OK_BUFFER_SIZE; in php_mysqlnd_ok_read() local
824 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "OK", PROT_OK_PA… in php_mysqlnd_ok_read()
858 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_ok_read()
910 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_eof_read() local
917 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "EOF", PROT_EOF_… in php_mysqlnd_eof_read()
1047 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_rset_header_read() local
1055 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "resultset heade… in php_mysqlnd_rset_header_read()
1188 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_rset_field_read() local
1199 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "field", PROT_RS… in php_mysqlnd_rset_field_read()
1866 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_stats_read() local
1871 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "statistics", PR… in php_mysqlnd_stats_read()
1913 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_prepare_read() local
1921 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "prepare", PROT_… in php_mysqlnd_prepare_read()
1996 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_chg_user_read() local
2003 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "change user res… in php_mysqlnd_chg_user_read()