Searched refs:MYSQLND_HEADER_SIZE (Results 1 – 4 of 4) sorted by relevance
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_protocol_frame_codec.c | 63 int3store(compress_buf + MYSQLND_HEADER_SIZE, to_be_sent); in write_compressed_packet() 66 int3store(compress_buf + MYSQLND_HEADER_SIZE, 0); in write_compressed_packet() 79 size_t decompressed_size = left + MYSQLND_HEADER_SIZE; in write_compressed_packet() 82 compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, payload_size); in write_compressed_packet() 131 …size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(le… in MYSQLND_METHOD() 148 if (to_be_sent <= MYSQLND_MAX_PACKET_SIZE - MYSQLND_HEADER_SIZE) { in MYSQLND_METHOD() 151 uncompressed_payload, to_be_sent + MYSQLND_HEADER_SIZE, compress_buf); in MYSQLND_METHOD() 162 to_be_sent + MYSQLND_HEADER_SIZE - split_off_bytes, compress_buf); in MYSQLND_METHOD() 193 STAT_BYTES_SENT, count + packets_sent * MYSQLND_HEADER_SIZE, in MYSQLND_METHOD() 194 STAT_PROTOCOL_OVERHEAD_OUT, packets_sent * MYSQLND_HEADER_SIZE, in MYSQLND_METHOD() [all …]
|
H A D | mysqlnd_loaddata.c | 143 zend_uchar empty_packet[MYSQLND_HEADER_SIZE]; in mysqlnd_handle_local_infile() 223 …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 | 245 zend_uchar buffer[MYSQLND_HEADER_SIZE]; in mysqlnd_read_header() 258 STAT_PROTOCOL_OVERHEAD_IN, MYSQLND_HEADER_SIZE, in mysqlnd_read_header() 329 MYSQLND_HEADER_SIZE + packet_header->size, in mysqlnd_read_packet_header_and_body() 627 …onst MYSQLND_CSTRING payload = {(char*) buffer + MYSQLND_HEADER_SIZE, p - (buffer + MYSQLND_HEADER… in php_mysqlnd_auth_write() 987 zend_uchar buffer[MYSQLND_HEADER_SIZE + 1]; in php_mysqlnd_cmd_write() 989 int1store(buffer + MYSQLND_HEADER_SIZE, packet->command); in php_mysqlnd_cmd_write() 998 p = tmp + MYSQLND_HEADER_SIZE; /* skip the header */ in php_mysqlnd_cmd_write() 1677 MYSQLND_HEADER_SIZE + packet->header.size, in php_mysqlnd_rowp_read() 1954 zend_uchar buffer[MYSQLND_HEADER_SIZE + 1]; in php_mysqlnd_sha256_pk_request_write() 1959 int1store(buffer + MYSQLND_HEADER_SIZE, '\1'); in php_mysqlnd_sha256_pk_request_write() [all …]
|
H A D | mysqlnd_wireprotocol.h | 21 #define MYSQLND_HEADER_SIZE 4 macro
|
Completed in 27 milliseconds