Lines Matching refs:MYSQLND_HEADER_SIZE
303 zend_uchar safe_buf[((MYSQLND_HEADER_SIZE) + (sizeof(zend_uchar)) - 1) / (sizeof(zend_uchar))]; in MYSQLND_METHOD()
315 …size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(le… in MYSQLND_METHOD()
332 …if (PASS == net->m.encode((compress_buf + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE), &tmp_comp… 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()
346 …"writing "MYSQLND_SZ_T_SPEC" bytes to the network", payload_size + MYSQLND_HEADER_SIZE + COMPRESSE… in MYSQLND_METHOD()
347 …bytes_sent = net->m.network_write_ex(net, compress_buf, payload_size + MYSQLND_HEADER_SIZE + COMPR… 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()
379 …bytes_sent = net->m.network_write_ex(net, p, to_be_sent + MYSQLND_HEADER_SIZE, conn_stats, error_i… 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()
609 zend_uchar net_header[MYSQLND_HEADER_SIZE]; in MYSQLND_METHOD()
613 …if (FAIL == net->m.network_read_ex(net, net_header, MYSQLND_HEADER_SIZE, conn_stats, error_info TS… in MYSQLND_METHOD()