Lines Matching refs:buf_len
198 php_mysqlnd_read_error_from_line(const zend_uchar * const buf, const size_t buf_len, in php_mysqlnd_read_error_from_line() argument
210 if (buf_len > 2) { in php_mysqlnd_read_error_from_line()
219 if ((buf_len - (p - buf)) >= MYSQLND_SQLSTATE_LENGTH) { in php_mysqlnd_read_error_from_line()
226 if ((buf_len - (p - buf)) > 0) { in php_mysqlnd_read_error_from_line()
227 error_msg_len = MIN((int)((buf_len - (p - buf))), (int) (error_buf_len - 1)); in php_mysqlnd_read_error_from_line()
348 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_greet_read() local
355 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "greeting", PROT… in php_mysqlnd_greet_read()
680 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_auth_response_read() local
687 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "OK", PROT_OK_PA… in php_mysqlnd_auth_response_read()
839 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_ok_read() local
847 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "OK", PROT_OK_PA… in php_mysqlnd_ok_read()
881 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_ok_read()
933 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_eof_read() local
940 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "EOF", PROT_EOF_… in php_mysqlnd_eof_read()
1061 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_rset_header_read() local
1069 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "resultset heade… in php_mysqlnd_rset_header_read()
1200 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_rset_field_read() local
1211 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "field", PROT_RS… in php_mysqlnd_rset_field_read()
1791 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_stats_read() local
1796 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "statistics", PR… in php_mysqlnd_stats_read()
1835 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_prepare_read() local
1843 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "prepare", PROT_… in php_mysqlnd_prepare_read()
1918 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_chg_user_read() local
1925 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "change user res… in php_mysqlnd_chg_user_read()
2029 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_sha256_pk_request_response_read() local
2037 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "SHA256_PK_REQUE… in php_mysqlnd_sha256_pk_request_response_read()
2111 const size_t buf_len = pfc->cmd_buffer.length; in php_mysqlnd_cached_sha2_result_read() local
2117 …y(&(packet->header), pfc, vio, stats, error_info, connection_state, buf, buf_len, "PROT_CACHED_SHA… in php_mysqlnd_cached_sha2_result_read()