Searched refs:MYSQLND_HEADER_SIZE (Results 1 – 4 of 4) sorted by relevance
/PHP-5.4/ext/mysqlnd/ |
H A D | mysqlnd_net.c | 315 …size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(le… in MYSQLND_METHOD() 333 uncompressed_payload, to_be_sent + MYSQLND_HEADER_SIZE TSRMLS_CC)) in MYSQLND_METHOD() 335 int3store(compress_buf + MYSQLND_HEADER_SIZE, to_be_sent + MYSQLND_HEADER_SIZE); in MYSQLND_METHOD() 338 int3store(compress_buf + MYSQLND_HEADER_SIZE, 0); in MYSQLND_METHOD() 339 …memcpy(compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, uncompressed_payload, to_be_se… in MYSQLND_METHOD() 340 payload_size = to_be_sent + MYSQLND_HEADER_SIZE; in MYSQLND_METHOD() 352 size_t decompressed_size = left + MYSQLND_HEADER_SIZE; in MYSQLND_METHOD() 355 compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, payload_size); in MYSQLND_METHOD() 400 STAT_BYTES_SENT, count + packets_sent * MYSQLND_HEADER_SIZE, in MYSQLND_METHOD() 401 STAT_PROTOCOL_OVERHEAD_OUT, packets_sent * MYSQLND_HEADER_SIZE, in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_loaddata.c | 161 zend_uchar empty_packet[MYSQLND_HEADER_SIZE]; in mysqlnd_handle_local_infile() 200 …e ((bufsize = infile.local_infile_read (info, buf + MYSQLND_HEADER_SIZE, buflen - MYSQLND_HEADER_S… in mysqlnd_handle_local_infile()
|
H A D | mysqlnd_wireprotocol.c | 58 MYSQLND_HEADER_SIZE + (packet)->header.size, \ 265 zend_uchar buffer[MYSQLND_HEADER_SIZE]; in mysqlnd_read_header() 280 STAT_PROTOCOL_OVERHEAD_IN, MYSQLND_HEADER_SIZE, in mysqlnd_read_header() 470 zend_uchar *p = buffer + MYSQLND_HEADER_SIZE; /* start after the header */ in php_mysqlnd_auth_write() 546 …m->simple_command(conn, COM_CHANGE_USER, buffer + MYSQLND_HEADER_SIZE, p - buffer - MYSQLND_HEADER… in php_mysqlnd_auth_write() 551 DBG_RETURN(p - buffer - MYSQLND_HEADER_SIZE); in php_mysqlnd_auth_write() 932 zend_uchar buffer[MYSQLND_HEADER_SIZE + 1]; in php_mysqlnd_cmd_write() 934 int1store(buffer + MYSQLND_HEADER_SIZE, packet->command); in php_mysqlnd_cmd_write() 937 size_t tmp_len = packet->arg_len + 1 + MYSQLND_HEADER_SIZE; in php_mysqlnd_cmd_write() 943 p = tmp + MYSQLND_HEADER_SIZE; /* skip the header */ in php_mysqlnd_cmd_write() [all …]
|
H A D | mysqlnd_wireprotocol.h | 28 #define MYSQLND_HEADER_SIZE 4 macro
|
Completed in 40 milliseconds