MYSQLND_HEADER_SIZE 161 ext/mysqlnd/mysqlnd_loaddata.c zend_uchar empty_packet[MYSQLND_HEADER_SIZE]; MYSQLND_HEADER_SIZE 200 ext/mysqlnd/mysqlnd_loaddata.c while ((bufsize = infile.local_infile_read (info, buf + MYSQLND_HEADER_SIZE, buflen - MYSQLND_HEADER_SIZE TSRMLS_CC)) > 0) { MYSQLND_HEADER_SIZE 341 ext/mysqlnd/mysqlnd_net.c zend_uchar safe_buf[((MYSQLND_HEADER_SIZE) + (sizeof(zend_uchar)) - 1) / (sizeof(zend_uchar))]; MYSQLND_HEADER_SIZE 353 ext/mysqlnd/mysqlnd_net.c size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(left, MYSQLND_MAX_PACKET_SIZE); MYSQLND_HEADER_SIZE 370 ext/mysqlnd/mysqlnd_net.c if (PASS == net->data->m.encode((compress_buf + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE), &tmp_complen, MYSQLND_HEADER_SIZE 371 ext/mysqlnd/mysqlnd_net.c uncompressed_payload, to_be_sent + MYSQLND_HEADER_SIZE TSRMLS_CC)) MYSQLND_HEADER_SIZE 373 ext/mysqlnd/mysqlnd_net.c int3store(compress_buf + MYSQLND_HEADER_SIZE, to_be_sent + MYSQLND_HEADER_SIZE); MYSQLND_HEADER_SIZE 376 ext/mysqlnd/mysqlnd_net.c int3store(compress_buf + MYSQLND_HEADER_SIZE, 0); MYSQLND_HEADER_SIZE 377 ext/mysqlnd/mysqlnd_net.c memcpy(compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, uncompressed_payload, to_be_sent + MYSQLND_HEADER_SIZE); MYSQLND_HEADER_SIZE 378 ext/mysqlnd/mysqlnd_net.c payload_size = to_be_sent + MYSQLND_HEADER_SIZE; MYSQLND_HEADER_SIZE 384 ext/mysqlnd/mysqlnd_net.c DBG_INF_FMT("writing "MYSQLND_SZ_T_SPEC" bytes to the network", payload_size + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE); MYSQLND_HEADER_SIZE 385 ext/mysqlnd/mysqlnd_net.c bytes_sent = net->data->m.network_write_ex(net, compress_buf, payload_size + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, MYSQLND_HEADER_SIZE 390 ext/mysqlnd/mysqlnd_net.c size_t decompressed_size = left + MYSQLND_HEADER_SIZE; MYSQLND_HEADER_SIZE 393 ext/mysqlnd/mysqlnd_net.c compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, payload_size); MYSQLND_HEADER_SIZE 417 ext/mysqlnd/mysqlnd_net.c bytes_sent = net->data->m.network_write_ex(net, p, to_be_sent + MYSQLND_HEADER_SIZE, conn_stats, error_info TSRMLS_CC); MYSQLND_HEADER_SIZE 438 ext/mysqlnd/mysqlnd_net.c STAT_BYTES_SENT, count + packets_sent * MYSQLND_HEADER_SIZE, MYSQLND_HEADER_SIZE 439 ext/mysqlnd/mysqlnd_net.c STAT_PROTOCOL_OVERHEAD_OUT, packets_sent * MYSQLND_HEADER_SIZE, MYSQLND_HEADER_SIZE 647 ext/mysqlnd/mysqlnd_net.c zend_uchar net_header[MYSQLND_HEADER_SIZE]; MYSQLND_HEADER_SIZE 651 ext/mysqlnd/mysqlnd_net.c if (FAIL == net->data->m.network_read_ex(net, net_header, MYSQLND_HEADER_SIZE, conn_stats, error_info TSRMLS_CC)) { MYSQLND_HEADER_SIZE 58 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_HEADER_SIZE + (packet)->header.size, \ MYSQLND_HEADER_SIZE 282 ext/mysqlnd/mysqlnd_wireprotocol.c zend_uchar buffer[MYSQLND_HEADER_SIZE]; MYSQLND_HEADER_SIZE 286 ext/mysqlnd/mysqlnd_wireprotocol.c if (FAIL == net->data->m.receive_ex(net, buffer, MYSQLND_HEADER_SIZE, conn_stats, error_info TSRMLS_CC)) { MYSQLND_HEADER_SIZE 297 ext/mysqlnd/mysqlnd_wireprotocol.c STAT_PROTOCOL_OVERHEAD_IN, MYSQLND_HEADER_SIZE, MYSQLND_HEADER_SIZE 480 ext/mysqlnd/mysqlnd_wireprotocol.c #define AUTH_WRITE_BUFFER_LEN (MYSQLND_HEADER_SIZE + MYSQLND_MAX_ALLOWED_USER_LEN + SCRAMBLE_LENGTH + MYSQLND_MAX_ALLOWED_DB_LEN + 1 + 4096) MYSQLND_HEADER_SIZE 487 ext/mysqlnd/mysqlnd_wireprotocol.c zend_uchar *p = buffer + MYSQLND_HEADER_SIZE; /* start after the header */ MYSQLND_HEADER_SIZE 609 ext/mysqlnd/mysqlnd_wireprotocol.c if (PASS != conn->m->simple_command(conn, COM_CHANGE_USER, buffer + MYSQLND_HEADER_SIZE, p - buffer - MYSQLND_HEADER_SIZE, MYSQLND_HEADER_SIZE 614 ext/mysqlnd/mysqlnd_wireprotocol.c DBG_RETURN(p - buffer - MYSQLND_HEADER_SIZE); MYSQLND_HEADER_SIZE 616 ext/mysqlnd/mysqlnd_wireprotocol.c size_t sent = conn->net->data->m.send_ex(conn->net, buffer, p - buffer - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info TSRMLS_CC); MYSQLND_HEADER_SIZE 766 ext/mysqlnd/mysqlnd_wireprotocol.c zend_uchar *p = buffer + MYSQLND_HEADER_SIZE; /* start after the header */ MYSQLND_HEADER_SIZE 776 ext/mysqlnd/mysqlnd_wireprotocol.c size_t sent = conn->net->data->m.send_ex(conn->net, buffer, p - buffer - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info TSRMLS_CC); MYSQLND_HEADER_SIZE 995 ext/mysqlnd/mysqlnd_wireprotocol.c zend_uchar buffer[MYSQLND_HEADER_SIZE + 1]; MYSQLND_HEADER_SIZE 997 ext/mysqlnd/mysqlnd_wireprotocol.c int1store(buffer + MYSQLND_HEADER_SIZE, packet->command); MYSQLND_HEADER_SIZE 1000 ext/mysqlnd/mysqlnd_wireprotocol.c size_t tmp_len = packet->arg_len + 1 + MYSQLND_HEADER_SIZE; MYSQLND_HEADER_SIZE 1006 ext/mysqlnd/mysqlnd_wireprotocol.c p = tmp + MYSQLND_HEADER_SIZE; /* skip the header */ MYSQLND_HEADER_SIZE 1013 ext/mysqlnd/mysqlnd_wireprotocol.c sent = net->data->m.send_ex(net, tmp, tmp_len - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info TSRMLS_CC); MYSQLND_HEADER_SIZE 1787 ext/mysqlnd/mysqlnd_wireprotocol.c MYSQLND_HEADER_SIZE + packet->header.size, MYSQLND_HEADER_SIZE 2105 ext/mysqlnd/mysqlnd_wireprotocol.c zend_uchar buffer[MYSQLND_HEADER_SIZE + 1]; MYSQLND_HEADER_SIZE 2110 ext/mysqlnd/mysqlnd_wireprotocol.c int1store(buffer + MYSQLND_HEADER_SIZE, '\1');