Lines Matching refs:stats
299 MYSQLND_STATS * stats, in mysqlnd_read_packet_header_and_body() argument
308 if (FAIL == mysqlnd_read_header(pfc, vio, packet_header, stats, error_info)) { in mysqlnd_read_packet_header_and_body()
322 if (FAIL == pfc->data->m.receive(pfc, vio, buf, packet_header->size, stats, error_info)) { in mysqlnd_read_packet_header_and_body()
328 MYSQLND_INC_CONN_STATISTIC_W_VALUE2(stats, packet_type_to_statistic_byte_count[packet_type], in mysqlnd_read_packet_header_and_body()
346 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_greet_read() local
355 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_greet_read()
536 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_auth_write() local
660 …const size_t sent = pfc->data->m.send(pfc, vio, buffer, p - buffer - MYSQLND_HEADER_SIZE, stats, e… in php_mysqlnd_auth_write()
678 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_auth_response_read() local
687 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_auth_response_read()
799 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_change_auth_response_write() local
816 …const size_t sent = pfc->data->m.send(pfc, vio, buffer, p - buffer - MYSQLND_HEADER_SIZE, stats, e… in php_mysqlnd_change_auth_response_write()
837 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_ok_read() local
847 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_ok_read()
931 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_eof_read() local
940 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_eof_read()
999 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_cmd_write() local
1008 pfc->data->m.reset(pfc, stats, error_info); in php_mysqlnd_cmd_write()
1010 MYSQLND_INC_CONN_STATISTIC(stats, STAT_PACKETS_SENT_CMD); in php_mysqlnd_cmd_write()
1020 sent = pfc->data->m.send(pfc, vio, buffer, 1, stats, error_info); in php_mysqlnd_cmd_write()
1035 sent = pfc->data->m.send(pfc, vio, tmp, tmp_len - MYSQLND_HEADER_SIZE, stats, error_info); in php_mysqlnd_cmd_write()
1037 MYSQLND_INC_CONN_STATISTIC(stats, STAT_CMD_BUFFER_TOO_SMALL); in php_mysqlnd_cmd_write()
1058 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rset_header_read() local
1069 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_rset_header_read()
1198 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rset_field_read() local
1211 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_rset_field_read()
1378 MYSQLND_STATS * stats, in php_mysqlnd_read_row_ex() argument
1407 if (UNEXPECTED(FAIL == mysqlnd_read_header(pfc, vio, &header, stats, error_info))) { in php_mysqlnd_read_row_ex()
1420 …if (UNEXPECTED(PASS != (ret = pfc->data->m.receive(pfc, vio, p, header.size, stats, error_info))))… in php_mysqlnd_read_row_ex()
1427 if (FAIL == mysqlnd_read_header(pfc, vio, &header, stats, error_info)) { in php_mysqlnd_read_row_ex()
1441 …if (UNEXPECTED(PASS != (ret = pfc->data->m.receive(pfc, vio, p, header.size, stats, error_info))))… in php_mysqlnd_read_row_ex()
1456 const bool as_int_or_float, MYSQLND_STATS * const stats) in php_mysqlnd_rowp_read_binary_protocol() argument
1544 MYSQLND_INC_CONN_STATISTIC_W_VALUE2(stats, statistic, 1, in php_mysqlnd_rowp_read_binary_protocol()
1564 bool as_int_or_float, MYSQLND_STATS * stats) in php_mysqlnd_rowp_read_text_protocol() argument
1630 … MYSQLND_INC_CONN_STATISTIC_W_VALUE2(stats, statistic, 1, STAT_BYTES_RECEIVED_PURE_DATA_TEXT, len); in php_mysqlnd_rowp_read_text_protocol()
1716 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_rowp_read() local
1723 ret = php_mysqlnd_read_row_ex(pfc, vio, stats, error_info, &conn->state, in php_mysqlnd_rowp_read()
1728 MYSQLND_INC_CONN_STATISTIC_W_VALUE2(stats, packet_type_to_statistic_byte_count[PROT_ROW_PACKET], in php_mysqlnd_rowp_read()
1770 MYSQLND_INC_CONN_STATISTIC(stats, in php_mysqlnd_rowp_read()
1789 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_stats_read() local
1796 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_stats_read()
1832 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_prepare_read() local
1843 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_prepare_read()
1915 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_chg_user_read() local
1925 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_chg_user_read()
2005 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_sha256_pk_request_write() local
2012 sent = pfc->data->m.send(pfc, vio, buffer, 1, stats, error_info); in php_mysqlnd_sha256_pk_request_write()
2027 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_sha256_pk_request_response_read() local
2037 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_sha256_pk_request_response_read()
2081 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_cached_sha2_result_write() local
2090 sent = pfc->data->m.send(pfc, vio, buffer, 1, stats, error_info); in php_mysqlnd_cached_sha2_result_write()
2095 sent = pfc->data->m.send(pfc, vio, buffer, packet->password_len, stats, error_info); in php_mysqlnd_cached_sha2_result_write()
2109 MYSQLND_STATS * stats = conn->stats; in php_mysqlnd_cached_sha2_result_read() local
2117 …if (FAIL == mysqlnd_read_packet_header_and_body(&(packet->header), pfc, vio, stats, error_info, co… in php_mysqlnd_cached_sha2_result_read()
2462 MYSQLND_STATS * stats, in MYSQLND_METHOD()
2499 MYSQLND_INC_CONN_STATISTIC(stats, STAT_COM_QUIT + command - 1 /* because of COM_SLEEP */ ); in MYSQLND_METHOD()