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()
649 size_t buf_len = pfc->cmd_buffer.buffer? pfc->cmd_buffer.length: AUTH_RESP_BUFFER_SIZE; in php_mysqlnd_auth_response_read() local
657 buf_len--; in php_mysqlnd_auth_response_read()
658 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "OK", PROT_OK_PA… in php_mysqlnd_auth_response_read()
715 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_auth_response_read()
808 size_t buf_len = pfc->cmd_buffer.buffer? pfc->cmd_buffer.length : OK_BUFFER_SIZE; in php_mysqlnd_ok_read() local
816 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "OK", PROT_OK_PA… in php_mysqlnd_ok_read()
850 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_ok_read()
902 size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_eof_read() local
909 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "EOF", PROT_EOF_… in php_mysqlnd_eof_read()
1039 size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_rset_header_read() local
1047 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "resultset heade… in php_mysqlnd_rset_header_read()
1180 size_t buf_len = pfc->cmd_buffer.length, total_len = 0; in php_mysqlnd_rset_field_read() local
1190 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "field", PROT_RS… in php_mysqlnd_rset_field_read()
1841 size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_stats_read() local
1846 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "statistics", PR… in php_mysqlnd_stats_read()
1888 size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_prepare_read() local
1896 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "prepare", PROT_… in php_mysqlnd_prepare_read()
1971 size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_chg_user_read() local
1978 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "change user res… in php_mysqlnd_chg_user_read()