Lines Matching refs:compress_buf
308 zend_uchar * compress_buf = NULL; in MYSQLND_METHOD() local
317 compress_buf = mnd_emalloc(comp_buf_size); in MYSQLND_METHOD()
332 …if (PASS == net->m.encode((compress_buf + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE), &tmp_comp… 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()
344 int3store(compress_buf, payload_size); in MYSQLND_METHOD()
345 int1store(compress_buf + 3, net->packet_no); in MYSQLND_METHOD()
347 …bytes_sent = net->m.network_write_ex(net, compress_buf, payload_size + MYSQLND_HEADER_SIZE + COMPR… in MYSQLND_METHOD()
355 compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, payload_size); in MYSQLND_METHOD()
404 if (compress_buf) { in MYSQLND_METHOD()
405 mnd_efree(compress_buf); in MYSQLND_METHOD()